Skip to content

virtio_net: Fixes and improvements

Akihiko Odaki lkml netdev virtualization 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected] change-id 20250318-virtio-6559d69187db

Versions newest first

  1. v2 Latest4 patches 4 repliesApplied 4/4
  2. v14 patches 14 repliesSuperseded

Changes in v2 from the cover letter

- Replaced kmalloc() with kzalloc() to initialize the reserved fields.
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4virtio_net: Split struct virtio_net_rss_configinclude/uapi/linux/virtio_net.h+13 -00 repliesApplied
2/4virtio_net: Fix endian with virtio_net_ctrl_rssdrivers/net/virtio_net.c+15 -150 repliesApplied
3/4virtio_net: Use new RSS config structsdrivers/net/virtio_net.c+43 -741 replyApplied
4/4virtio_net: Allocate rss_hdr with devresdrivers/net/virtio_net.c+4 -60 repliesApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJason WangLei YangMichael S. TsirkinXuan Zhuo
SeriesT-b A-b R-b
1/4A-b T-b A-b
2/4A-b T-b A-b
3/4A-b T-b A-b
4/4A-b T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH net-next v2 0/4] virtio_net: Fixes and improvements

Jason Wang recently proposed an improvement to struct virtio_net_rss_config:
https://lore.kernel.org/r/CACGkMEud0Ki8p=z299Q7b4qEDONpYDzbVqhHxCNVk_vo-KdP9A@mail.gmail.com

This patch series implements it and also fixes a few minor bugs I found when writing patches.

---
Changes in v2:
- Replaced kmalloc() with kzalloc() to initialize the reserved fields.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
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,

Signature · 1 line
Akihiko Odaki <[email protected]>