numam-dpdk/drivers/net/virtio
Stephen Hemminger 43ffe8aa86 virtio: clean up Tx space checks
The space check for transmit ring only needs a single conditional.
I.e only need to recheck for space if there was no space in first check.

This can help performance and simplifies loop.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2015-12-07 01:03:12 +01:00
..
Makefile virtio: fill Rx avail ring with blank mbufs 2015-11-02 15:32:19 +01:00
rte_pmd_virtio_version.map virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_ethdev.c drivers: copy PCI device info to ethdev data 2015-11-03 18:39:26 +01:00
virtio_ethdev.h virtio: add simple Tx 2015-11-02 15:34:03 +01:00
virtio_logs.h virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_pci.c virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_pci.h virtio: clarify feature bit handling 2015-06-12 14:43:40 +02:00
virtio_ring.h virtio: fix Coverity unsigned warnings 2015-10-21 16:14:02 +02:00
virtio_rxtx_simple.c virtio: add simple Tx 2015-11-02 15:34:03 +01:00
virtio_rxtx.c virtio: clean up Tx space checks 2015-12-07 01:03:12 +01:00
virtio_rxtx.h virtio: add vector Rx 2015-11-02 15:33:43 +01:00
virtqueue.c virtio: check virtqueue parameter when detaching 2015-07-19 22:24:42 +02:00
virtqueue.h eal: introduce SMP memory barriers 2015-11-18 22:44:01 +01:00