vhost: remove concurrent enqueue
authorHuawei Xie <huawei.xie@intel.com>
Mon, 13 Jun 2016 11:52:12 +0000 (19:52 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 22 Jun 2016 07:47:12 +0000 (09:47 +0200)
commit39449e7429024d0aaeba6ea63efc2c07b0d4c284
tree35127674f883d030a934c4b7fd46b98d49864f22
parent7e40200c567ff798d7cd54085c3744cf3393ce66
vhost: remove concurrent enqueue

All other DPDK PMDs doesn't support concurrent receiving or sending
packets to the same queue. The upper application should deal with
this, normally through queue and core bindings.

Due to historical reason, vhost internally supports concurrent lockless
enqueuing packets to the same virtio queue through costly cmpset operation.
This patch removes this internal lockless implementation and should improve
performance a bit.

Luckily DPDK OVS doesn't rely on this behavior.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
doc/guides/rel_notes/release_16_07.rst
lib/librte_vhost/vhost-net.h
lib/librte_vhost/vhost_rxtx.c
lib/librte_vhost/virtio-net.c