numam-dpdk/drivers/net/virtio
Rich Lane 610e0a8b62 virtio: use zeroed memory for simple Tx header
For simple TX the virtio-net header must be zeroed, but it was using memory
that had been initialized with indirect descriptor tables. This resulted in
"unsupported gso type" errors from librte_vhost.

We can use the same memory for every descriptor to save cachelines in the
vswitch.

Fixes: 6dc5de3a ("virtio: use indirect ring elements")

Signed-off-by: Rich Lane <rich.lane@bigswitch.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Jianfeng Tan <jianfeng.tan@intel.com>
2016-04-06 12:27:57 +02:00
..
Makefile virtio: restrict vector Rx/Tx to x86 SSSE3 2016-03-03 14:00:28 +01:00
rte_pmd_virtio_version.map virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_ethdev.c ethdev: use constants for link duplex 2016-04-01 21:38:34 +02:00
virtio_ethdev.h ethdev: use constants for link duplex 2016-04-01 21:38:34 +02:00
virtio_logs.h virtio: move to drivers/net/ 2015-05-22 16:06:23 +02:00
virtio_pci.c virtio: fix query of legacy features 2016-03-14 23:16:15 +01:00
virtio_pci.h virtio: use PCI ioport API 2016-02-16 22:55:44 +01:00
virtio_ring.h virtio: fix Coverity unsigned warnings 2015-10-21 16:14:02 +02:00
virtio_rxtx_simple.c mbuf: get DMA address 2016-03-04 16:01:15 +01:00
virtio_rxtx.c virtio: use zeroed memory for simple Tx header 2016-04-06 12:27:57 +02:00
virtio_rxtx.h virtio: restrict vector Rx/Tx to x86 SSSE3 2016-03-03 14:00:28 +01:00
virtqueue.c virtio: check virtqueue parameter when detaching 2015-07-19 22:24:42 +02:00
virtqueue.h virtio: use indirect ring elements 2016-03-16 19:05:25 +01:00