This patchset rebased Yuanhan's virtio1.1 prototype [1] to the current master branch of dpdk-next-virtio tree. It also contains Jens' fixes, my fixes and optimizations.
After sending each RFC patchset to the mailing list, I'll also collect them to my github repo [2] to give everyone a repo where can find the latest working code of virtio1.1 prototype. [1] http://dpdk.org/browse/next/dpdk-next-virtio/log/?h=for-testing [2] https://github.com/btw616/dpdk-virtio1.1 Best regards, Tiwei Bie Jens Freimann (1): vhost: descriptor length should include vhost header Tiwei Bie (14): net/virtio: avoid touching packet data net/virtio: fix virtio1.1 feature negotiation net/virtio: the Rx support for virtio1.1 has been added now vhost: VIRTIO_NET_F_MRG_RXBUF is not supported for now vhost: fix vring addr setup net/virtio: free mbuf when need to use vhost: don't copy descs during Rx vhost: fix mbuf leak net/virtio: cleanup txd when free count below threshold net/virtio: refill descs for vhost in batch vhost: remove dead code vhost: various optimizations for Tx vhost: make the code more readable vhost: update and return descs in batch Yuanhan Liu (14): net/virtio: vring init for 1.1 net/virtio: implement 1.1 guest Tx net/virtio-user: add option to enable 1.1 vhost: enable 1.1 for testing vhost: set desc addr for 1.1 vhost: implement virtio 1.1 dequeue path vhost: mark desc being used xxx: batch the desc_hw update? xxx: virtio: remove overheads vhost: prefetch desc add virtio 1.1 test guide testpmd: add s-txonly net/virtio: implement the Rx code path vhost: a rough implementation on enqueue code path README-virtio-1.1 | 50 ++++ app/test-pmd/Makefile | 1 + app/test-pmd/s-txonly.c | 134 ++++++++++ app/test-pmd/testpmd.c | 1 + app/test-pmd/testpmd.h | 1 + drivers/net/virtio/Makefile | 1 + drivers/net/virtio/virtio-1.1.h | 19 ++ drivers/net/virtio/virtio_ethdev.c | 45 ++-- drivers/net/virtio/virtio_ethdev.h | 3 + drivers/net/virtio/virtio_pci.h | 7 + drivers/net/virtio/virtio_ring.h | 15 +- drivers/net/virtio/virtio_rxtx.c | 320 +++++++++++------------ drivers/net/virtio/virtio_rxtx_1.1.c | 161 ++++++++++++ drivers/net/virtio/virtio_user/virtio_user_dev.c | 12 +- drivers/net/virtio/virtio_user/virtio_user_dev.h | 3 +- drivers/net/virtio/virtio_user_ethdev.c | 14 +- drivers/net/virtio/virtqueue.h | 11 + lib/librte_vhost/vhost.c | 4 + lib/librte_vhost/vhost.h | 7 +- lib/librte_vhost/vhost_user.c | 16 +- lib/librte_vhost/virtio-1.1.h | 23 ++ lib/librte_vhost/virtio_net.c | 310 +++++++++++++++++++++- 22 files changed, 958 insertions(+), 200 deletions(-) create mode 100644 README-virtio-1.1 create mode 100644 app/test-pmd/s-txonly.c create mode 100644 drivers/net/virtio/virtio-1.1.h create mode 100644 drivers/net/virtio/virtio_rxtx_1.1.c create mode 100644 lib/librte_vhost/virtio-1.1.h -- 2.7.4