From 22fb0483b81b627c421d81c25a86ed601799d74b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20NOUAILLE=20DEGORCE?= Date: Tue, 8 Sep 2020 10:30:45 +0000 Subject: [PATCH] wip --- src/vhost.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vhost.c b/src/vhost.c index 5b238ddcb..8c31556ae 100644 --- a/src/vhost.c +++ b/src/vhost.c @@ -269,15 +269,15 @@ static int vhost_poll(struct pg_brick *brick, uint16_t *pkts_cnt, } #ifndef RTE_VHOST_USER_CLIENT -#define RTE_VHOST_USER_CLIENT 0b1 +#define RTE_VHOST_USER_CLIENT (1ULL << 0) #endif #ifndef RTE_VHOST_USER_NO_RECONNECT -#define RTE_VHOST_USER_NO_RECONNECT 0b10 +#define RTE_VHOST_USER_NO_RECONNECT (1ULL << 1) #endif #ifndef RTE_VHOST_USER_DEQUEUE_ZERO_COPY -#define RTE_VHOST_USER_DEQUEUE_ZERO_COPY 0b100 +#define RTE_VHOST_USER_DEQUEUE_ZERO_COPY (1ULL << 2) #endif