Re: [PATCH net-next v9] virtio_net: Support RX hash XDP hint

From: Jesper Dangaard Brouer
Date: Wed Apr 17 2024 - 03:51:18 EST




On 17/04/2024 09.18, Liang Chen wrote:
The RSS hash report is a feature that's part of the virtio specification.
Currently, virtio backends like qemu, vdpa (mlx5), and potentially vhost
(still a work in progress as per [1]) support this feature. While the
capability to obtain the RSS hash has been enabled in the normal path,
it's currently missing in the XDP path. Therefore, we are introducing
XDP hints through kfuncs to allow XDP programs to access the RSS hash.

1.
https://lore.kernel.org/all/20231015141644.260646-1-akihiko.odaki@xxxxxxxxxx/#r

Signed-off-by: Liang Chen<liangchen.linux@xxxxxxxxx>

LGTM

Acked-by: Jesper Dangaard Brouer <hawk@xxxxxxxxxx>