Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
outscale-fne committed Sep 8, 2020
1 parent 5bc07b1 commit 22fb048
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 22fb048

Please sign in to comment.