net/virtio: add parameter to enable vectorized path
authorMarvin Liu <yong.liu@intel.com>
Wed, 29 Apr 2020 07:28:16 +0000 (15:28 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 5 May 2020 13:54:26 +0000 (15:54 +0200)
commit4710e16a4a7b53c9f2cf38e6f6af945e9af59c26
treed55e22f81b0cf8fcca075a94ae70d278621555f0
parentf68a6fac2d5f27d9c4087ff4333f620172bb1d0b
net/virtio: add parameter to enable vectorized path

Previously, virtio split ring vectorized path was enabled by default.
This is not suitable for everyone because that path does not follow
virtio spec. Add new devarg for virtio vectorized path selection. By
default vectorized path is disabled.

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
doc/guides/nics/virtio.rst
drivers/net/virtio/virtio_ethdev.c
drivers/net/virtio/virtio_pci.h
drivers/net/virtio/virtio_rxtx.c
drivers/net/virtio/virtio_user_ethdev.c
drivers/net/virtio/virtqueue.c