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

2024-04-12 Thread Liang Chen
On Sat, Apr 13, 2024 at 10:11 AM Jakub Kicinski wrote: > > On Thu, 11 Apr 2024 16:52:16 +0800 Liang Chen wrote: > > + switch (__le16_to_cpu(hdr_hash->hash_report)) { > > + case VIRTIO_NET_HASH_REPORT_TCPv4: > > Please indent things according to the kernel coding style. > Sure. Tha

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

2024-04-12 Thread Jakub Kicinski
On Thu, 11 Apr 2024 16:52:16 +0800 Liang Chen wrote: > + switch (__le16_to_cpu(hdr_hash->hash_report)) { > + case VIRTIO_NET_HASH_REPORT_TCPv4: Please indent things according to the kernel coding style. Checkpatch finds 2 problems in this change. -- pw-bot: cr

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

2024-04-11 Thread Liang Chen
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 curren