[PATCH] net/netvsc: force TX VLAN offload on 801.2Q packet

Ferruh Yigit ferruh.yigit at amd.com
Sat Oct 26 05:24:26 CEST 2024


On 10/19/2024 4:32 PM, Stephen Hemminger wrote:
> 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>
>

Applied to dpdk-next-net/main, thanks.


More information about the dev mailing list