summaryrefslogtreecommitdiff
path: root/lib/librte_vhost/vhost_crypto.c
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.bie@intel.com>2019-03-25 13:27:16 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2019-03-29 17:25:32 +0100
commit12e9e70c89cd3fc9baa9b82ac21bce5ccb6c4d25 (patch)
tree5145a2f7329eebfe9b0cd7e8ccbe296585c2c2bf /lib/librte_vhost/vhost_crypto.c
parent1c8489da561be16ac73c6dab01db816af249713f (diff)
downloaddpdk-next-eventdev-12e9e70c89cd3fc9baa9b82ac21bce5ccb6c4d25.zip
dpdk-next-eventdev-12e9e70c89cd3fc9baa9b82ac21bce5ccb6c4d25.tar.gz
dpdk-next-eventdev-12e9e70c89cd3fc9baa9b82ac21bce5ccb6c4d25.tar.xz
net/virtio: define avail and used flags as constants
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.bie@intel.com> Reviewed-by: Jens Freimann <jfreimann@redhat.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Diffstat (limited to 'lib/librte_vhost/vhost_crypto.c')
0 files changed, 0 insertions, 0 deletions