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

2022-05-31 Thread Ferruh Yigit
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

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

2022-05-26 Thread Peng Zhang
"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 r