On 3/25/19 6:27 AM, Tiwei Bie wrote:
We are consistently passing 1 as the argument in the data path, so there is no need to define avail/used flags as function-like macros anymore. This patch changes the avail and used flags to constants. And a frequently used combination is also introduced. Signed-off-by: Tiwei Bie<tiwei....@intel.com> --- drivers/net/virtio/virtio_ethdev.c | 10 ++++------ drivers/net/virtio/virtio_ring.h | 9 +++++++-- drivers/net/virtio/virtio_rxtx.c | 9 ++++----- .../net/virtio/virtio_user/virtio_user_dev.c | 17 ++++++++++------- drivers/net/virtio/virtqueue.h | 4 ++-- 5 files changed, 27 insertions(+), 22 deletions(-)
Applied to dpdk-next-virtio/master. Thanks, Maxime