netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v2 0/3] fixes two virtio-net related bugs.
@ 2025-10-13  2:06 Xuan Zhuo
  2025-10-13  2:06 ` [PATCH net v2 1/3] virtio-net: fix incorrect flags recording in big mode Xuan Zhuo
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Xuan Zhuo @ 2025-10-13  2:06 UTC (permalink / raw)
  To: netdev
  Cc: Michael S. Tsirkin, Jason Wang, Xuan Zhuo, Eugenio Pérez,
	Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Willem de Bruijn, Jiri Pirko, Alvaro Karsz, Heng Qi,
	virtualization

As discussed in http://lore.kernel.org/all/20250919013450.111424-1-xuanzhuo@linux.alibaba.com
Commit #1 Move the flags into the existing if condition; the issue is that it introduces a
small amount of code duplication.

Commit #3 is new to fix the hdr len in tunnel gso feature.

Hi @Paolo Abenchi,
Could you please test commit #3? I don't have a suitable test environment, as
QEMU doesn't currently support the tunnel GSO feature.

Thanks.

Xuan Zhuo (3):
  virtio-net: fix incorrect flags recording in big mode
  virtio-net: correct hdr_len handling for VIRTIO_NET_F_GUEST_HDRLEN
  virtio-net: correct hdr_len handling for tunnel gso

 drivers/net/virtio_net.c   | 16 ++++++++-----
 include/linux/virtio_net.h | 46 ++++++++++++++++++++++++++++++++------
 2 files changed, 50 insertions(+), 12 deletions(-)

--
2.32.0.3.g01195cf9f


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-10-14  3:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13  2:06 [PATCH net v2 0/3] fixes two virtio-net related bugs Xuan Zhuo
2025-10-13  2:06 ` [PATCH net v2 1/3] virtio-net: fix incorrect flags recording in big mode Xuan Zhuo
2025-10-13  2:06 ` [PATCH net v2 2/3] virtio-net: correct hdr_len handling for VIRTIO_NET_F_GUEST_HDRLEN Xuan Zhuo
2025-10-13  2:06 ` [PATCH net v2 3/3] virtio-net: correct hdr_len handling for tunnel gso Xuan Zhuo
2025-10-13  8:11   ` Paolo Abeni
2025-10-14  2:58     ` Xuan Zhuo
2025-10-13  5:56 ` [PATCH net v2 0/3] fixes two virtio-net related bugs Jason Wang
2025-10-14  2:56   ` Xuan Zhuo
2025-10-13  7:56 ` Michael S. Tsirkin
2025-10-14  2:55   ` Xuan Zhuo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).