[PATCH] net/netvsc: force TX VLAN offload on 801.2Q packet
Stephen Hemminger
stephen at networkplumber.org
Sat Oct 19 17:32:52 CEST 2024
On Fri, 18 Oct 2024 11:13:50 -0700
longli at linuxonhyperv.com wrote:
> icrosoft.com>
>
> The VSP assumes the packet doesn't have VLAN tags. When VLAN tag is
> present in a TX packet, always strip it and use PPI to send VLAN info
> through VSP packet.
>
> Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device")
> Cc: Hui (Hui) Ling <hling at SonicWall.com>
> Cc: Stephen Hemminger <stephen at networkplumber.org>
> Cc: Wei Hu <weh at microsoft.com>
> Cc: stable at dpdk.org
> Signed-off-by: Long Li <longli at microsoft.com>
This was discovered from an network application that was using VLAN's
but not setting the offload bits in the mbuf.
Reviewed-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list