virtio: add simple Tx
authorHuawei Xie <huawei.xie@intel.com>
Thu, 29 Oct 2015 14:53:27 +0000 (22:53 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 2 Nov 2015 14:34:03 +0000 (15:34 +0100)
commitc121c8d6d31ad4986d825e2bb79ee08aba984113
treeb345fd9e504859294bacec8dda4799f2a2784c74
parentfc3d66212fed67b499e80cae06106af64784bf54
virtio: add simple Tx

Bulk free of mbufs when clean used ring.
Shift operation of idx could be saved if vq_free_cnt means
free slots rather than free descriptors.

TODO: rearrange vq data structure, pack the stats var together so that
we could use one vec instruction to update all of them.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Jianfeng Tan <jianfeng.tan@intel.com>
doc/guides/rel_notes/release_2_2.rst
drivers/net/virtio/virtio_ethdev.h
drivers/net/virtio/virtio_rxtx_simple.c