[PATCH v2] net/nfp: fix bug of disable VLAN strip

Ferruh Yigit ferruh.yigit at xilinx.com
Tue May 31 15:27:46 CEST 2022


On 5/26/2022 3:34 PM, Peng Zhang wrote:
> "vlan set strip off 0" can't work, due to the incorrect usage
> of the mask, it just represent that the status is changed or not,
> not represent offloaded or not, so that the driver send the
> error control message to the nic.
> 
> Now, by first inspect the mask of things that changed, and then
> change the requested state if VLAN stripping according the
> requested offload status. So this change can fix this bug.
> 
> Fixes: d4a27a3b092a ("nfp: add basic features")
> Cc:stable at dpdk.org
> 
> Signed-off-by: Peng Zhang<peng.zhang at corigine.com>
> Signed-off-by: Yong Xu<yong.xu at corigine.com>
> Signed-off-by: Chaoyong He<chaoyong.he at corigine.com>
> Signed-off-by: Niklas Söderlund<niklas.soderlund at corigine.com>

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


More information about the stable mailing list