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:[email protected]

Signed-off-by: Peng Zhang<[email protected]>
Signed-off-by: Yong Xu<[email protected]>
Signed-off-by: Chaoyong He<[email protected]>
Signed-off-by: Niklas Söderlund<[email protected]>

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

Reply via email to