Skip to contentSkip to conversation

DPDK Virtio PMD RX RSS support?

dpdk-dev Vincent Li 2 participants 2 messages Jun 25, 2020 – Jun 28, 2020

lore
Share & tools
lore

Vincent Li

author
#0 lore raw

Hi,

I found Qemu start to support virtio-net RX RSS:

List:       qemu-devel
Subject:    [PULL V2 02/33] virtio-net: implement RX RSS processing
From:       Jason Wang <jasowang () redhat ! com>
Date:       2020-06-18 13:21:17
Message-ID: 1592486508-6135-3-git-send-email-jasowang () redhat ! com

[Download RAW message or body]

From: Yuri Benditovich <[email protected]>

If VIRTIO_NET_F_RSS negotiated and RSS is enabled, process incoming packets, calculate packet's hash and place the packet into respective RX virtqueue.

---
 hw/net/Makefile.objs           |  1 +
 hw/net/virtio-net.c            | 88 
+++++++++++++++++++++++++++++++++++++++++-
 include/hw/virtio/virtio-net.h |  1 +
 3 files changed, 88 insertions(+), 2 deletions(-)

If I understand it correct, in order for DPDK to support Virtio-net RX RSS in Qemu/KVM guest, the DPDK Virtio PMD also needs to support RX RSS, is that right? if so, any plan to enhance Virtio PMD to support RX RSS ?

Regards,

Vincent

#1 lore raw
Quoted 26 lines · Vincent Li

Hi,

I found Qemu start to support virtio-net RX RSS:

List:       qemu-devel
Subject:    [PULL V2 02/33] virtio-net: implement RX RSS processing
From:       Jason Wang <jasowang () redhat ! com>
Date:       2020-06-18 13:21:17
Message-ID: 1592486508-6135-3-git-send-email-jasowang () redhat ! com

[Download RAW message or body]

From: Yuri Benditovich <[email protected]>

If VIRTIO_NET_F_RSS negotiated and RSS is enabled, process incoming packets, calculate packet's hash and place the packet into respective RX virtqueue.

---
  hw/net/Makefile.objs           |  1 +
  hw/net/virtio-net.c            | 88
+++++++++++++++++++++++++++++++++++++++++-
  include/hw/virtio/virtio-net.h |  1 +
  3 files changed, 88 insertions(+), 2 deletions(-)
Quoted 3 lines

If I understand it correct, in order for DPDK to support Virtio-net RX RSS in Qemu/KVM guest, the DPDK Virtio PMD also needs to support RX RSS, is that right? if so, any plan to enhance Virtio PMD to support RX RSS ?

I think we did. But I think we need first implement RSS in the vhost lib. (RSS is only supported in the qemu userspace datapath which is slow).

Thanks

Quoted 6 lines

Regards,

Vincent