Chengchang Tang
b02e982743
net/hns3: fix default VLAN filter configuration for PF
Currently, By default VLAN filter is enabled during initialization and couldn't be turned off based on hns3 PF device. If upper applications don't call rte_eth_dev_vlan_filter API function to set vlan based on hns3 PF device, hns3 PF PMD driver will can't receive the packets with vlan tag. It will leads to some compatibility issues, the behaviors of using hns3 network engine and other NICs are different. This patch disables the VLAN filter during initialization and allows the upper level applications to enable or disable the VLAN filter. Fixes: 411d23b9eafb ("net/hns3: support VLAN") Cc: stable@dpdk.org Signed-off-by: Chengchang Tang <tangchengchang@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. The DPDK uses the Open Source BSD-3-Clause license for the core libraries and drivers. The kernel components are GPL-2.0 licensed. Please check the doc directory for release notes, API documentation, and sample application information. For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org
Description
Languages
C
99.1%
Meson
0.5%
Python
0.2%
Shell
0.1%