diff options
author | 2024-05-31 15:22:05 +0000 | |
---|---|---|
committer | 2024-06-03 13:59:48 +0000 | |
commit | 9982da4e9ee4f920c51af694ca813a69979e58e8 (patch) | |
tree | 745e501a8ee65e8e871b2e055c62c295ca2d507a /vhost_user_loopback.h | |
parent | c6ee7a5bec9cfc7b5e0c6bb064d2e4d195b60557 (diff) |
New adapter version: code refactoringsalmon_18.90.0salmon/18.90.018.90.0
Small code refactoring and optimizations
v2: with copyright fixes
Bug-AGL: SPEC-4834
Change-Id: Icaee8121f367b21bbdb874a3bc5fc327c5a1ded1
Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
Diffstat (limited to 'vhost_user_loopback.h')
-rw-r--r-- | vhost_user_loopback.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vhost_user_loopback.h b/vhost_user_loopback.h index 8aa7e05..4a868c6 100644 --- a/vhost_user_loopback.h +++ b/vhost_user_loopback.h @@ -120,7 +120,7 @@ struct vhost_dev { }; -#define VHOST_USER_MAX_RAM_SLOTS 8 +#define VHOST_USER_MAX_RAM_SLOTS 16 typedef uint64_t ram_addr_t; typedef struct RAMBlock RAMBlock; @@ -912,8 +912,6 @@ bool vu_queue_avail_bytes(VuDev *dev, VuVirtq *vq, unsigned int in_bytes, bool vhost_user_one_time_request(VhostUserRequest request); void vmsg_close_fds(VhostUserMsg *vmsg); -bool vu_message_write(int conn_fd, VhostUserMsg *vmsg); -bool vu_message_read(int conn_fd, VhostUserMsg *vmsg); int vhost_user_set_owner(void); int process_message_reply(const VhostUserMsg *msg); int vhost_user_get_u64(int request, uint64_t *u64); |