[PATCH v2 0/3] virtio_net: Support the RX hash XDP hint

From: Liang Chen
Date: Wed Jan 24 2024 - 03:59:17 EST


The RSS hash report is a feature that's part of the virtio specification.
Currently, virtio backends like qemu and vdpa (mlx5) support it(potentially
vhost). While the capability to obtain the RSS hash has been enabled in the
normal path, it's currently missing in the XDP path.

Changes from v1:
- introduce a wrapper structure to preserve virtio header

Liang Chen (3):
virtio_net: Preserve virtio header before XDP program execution
virtio_net: Add missing virtio header in skb for XDP_PASS
virtio_net: Support RX hash XDP hint

drivers/net/virtio_net.c | 102 ++++++++++++++++++++++++++++++++++-----
1 file changed, 90 insertions(+), 12 deletions(-)

--
2.40.1