[dpdk-dev] [RFC PATCH 00/11] net/virtio: packed ring layout

Yuanhan Liu yuanhan.liu at linux.intel.com
Mon May 8 07:02:57 CEST 2017


On Fri, May 05, 2017 at 09:57:11AM -0400, Jens Freimann wrote:
> Hi Yuanhan,
> 
> I rebased your patches on next-virtio/for-testing to current master,
> made sure every patch compiles and still works. 

Thanks for that.

> I'm implementing the receive path now to eventually get some benchmark
> results for that as well (Patches not included yet)

Good to know. Any progress? I'm asking because that was also my plan for
this week: make Rx work. I haven't started it though.

	--yliu

> Any comments to the existing patches are welcome, I will change them accordingly.
> 
> regards,
> Jens  
> 
> 
> 
> Yuanhan Liu (11):
>   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
> 
>  README-virtio-1.1                                |  50 ++++++
>  drivers/net/virtio/Makefile                      |   1 +
>  drivers/net/virtio/virtio-1.1.h                  |  19 +++
>  drivers/net/virtio/virtio_ethdev.c               |  44 +++--
>  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                 | 191 ++-------------------
>  drivers/net/virtio/virtio_rxtx_1.1.c             | 161 ++++++++++++++++++
>  drivers/net/virtio/virtio_user/virtio_user_dev.c |   9 +-
>  drivers/net/virtio/virtio_user/virtio_user_dev.h |   3 +-
>  drivers/net/virtio/virtio_user_ethdev.c          |  14 +-
>  drivers/net/virtio/virtqueue.h                   |  10 ++
>  lib/librte_vhost/vhost.h                         |   5 +
>  lib/librte_vhost/vhost_user.c                    |   1 +
>  lib/librte_vhost/virtio-1.1.h                    |  23 +++
>  lib/librte_vhost/virtio_net.c                    | 208 +++++++++++++++++++++++
>  17 files changed, 567 insertions(+), 197 deletions(-)
>  create mode 100644 README-virtio-1.1
>  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
> 
> -- 
> 1.8.3.1


More information about the dev mailing list