net/hns3: fix VLAN strip log
authorChengchang Tang <tangchengchang@huawei.com>
Sun, 13 Jun 2021 02:31:54 +0000 (10:31 +0800)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Fri, 2 Jul 2021 17:03:03 +0000 (19:03 +0200)
commitd8c497c55a3b13a0ec6ef8614af0ced46c372eb9
treea71d24b725f9b5421ab3bdb26d07f5602f97e281
parenta2ddaac12b08a98eee4b4e082d72c2f68dc92bf0
net/hns3: fix VLAN strip log

When the current VLAN stripping is set, the log print always prompts
that the enabling fails, bug if may actually be the disabling failure.

Fixes: 411d23b9eafb ("net/hns3: support VLAN")
Cc: stable@dpdk.org
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev_vf.c