Re: [PATCH net V2] virtio_net: fix alignment for virtio_net_hdr_v1_hash

From: patchwork-bot+netdevbpf

Date: Tue Nov 04 2025 - 20:30:41 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Fri, 31 Oct 2025 14:05:51 +0800 you wrote:
> From: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
>
> Changing alignment of header would mean it's no longer safe to cast a
> 2 byte aligned pointer between formats. Use two 16 bit fields to make
> it 2 byte aligned as previously.
>
> This fixes the performance regression since
> commit ("virtio_net: enable gso over UDP tunnel support.") as it uses
> virtio_net_hdr_v1_hash_tunnel which embeds
> virtio_net_hdr_v1_hash. Pktgen in guest + XDP_DROP on TAP + vhost_net
> shows the TX PPS is recovered from 2.4Mpps to 4.45Mpps.
>
> [...]

Here is the summary with links:
- [net,V2] virtio_net: fix alignment for virtio_net_hdr_v1_hash
https://git.kernel.org/netdev/net/c/c3838262b824

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html