[PATCH net-next v2 0/4] virtio_net: Fixes and improvements
From: Akihiko Odaki
Date: Fri Mar 21 2025 - 02:50:03 EST
Jason Wang recently proposed an improvement to struct
virtio_net_rss_config:
https://lore.kernel.org/r/CACGkMEud0Ki8p=z299Q7b4qEDONpYDzbVqhHxCNVk_vo-KdP9A@xxxxxxxxxxxxxx
This patch series implements it and also fixes a few minor bugs I found
when writing patches.
Signed-off-by: Akihiko Odaki <akihiko.odaki@xxxxxxxxxx>
---
Changes in v2:
- Replaced kmalloc() with kzalloc() to initialize the reserved fields.
- Link to v1: https://lore.kernel.org/r/20250318-virtio-v1-0-344caf336ddd@xxxxxxxxxx
---
Akihiko Odaki (4):
virtio_net: Split struct virtio_net_rss_config
virtio_net: Fix endian with virtio_net_ctrl_rss
virtio_net: Use new RSS config structs
virtio_net: Allocate rss_hdr with devres
drivers/net/virtio_net.c | 119 +++++++++++++++-------------------------
include/uapi/linux/virtio_net.h | 13 +++++
2 files changed, 56 insertions(+), 76 deletions(-)
---
base-commit: d082ecbc71e9e0bf49883ee4afd435a77a5101b6
change-id: 20250318-virtio-6559d69187db
Best regards,
--
Akihiko Odaki <akihiko.odaki@xxxxxxxxxx>