net/hinic: increase protection of the VLAN
authorGuoyang Zhou <zhouguoyang@huawei.com>
Fri, 16 Jul 2021 09:54:28 +0000 (17:54 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 23 Jul 2021 13:36:17 +0000 (15:36 +0200)
commit2cfd68ec407609becd75661787043e7cae35f15c
tree0e69e141d0d16e5d34509a17b15120c448cfeb1f
parentdd74211747948b8a6863299de1fc9710b8939b45
net/hinic: increase protection of the VLAN

If the VLAN id 0 is deleted for hinic, all packets without
VLAN will be discarded when the VLAN filter is turned on.

Fixes: 50ce3e7aec8f ("ethdev: fix VLAN offloads set if no relative capabilities")
Cc: stable@dpdk.org
Signed-off-by: Guoyang Zhou <zhouguoyang@huawei.com>
drivers/net/hinic/hinic_pmd_ethdev.c