numam-dpdk/drivers
Chengchang Tang 4c623ca400 net/hns3: fix VLAN strip configuration when setting PVID
Currently, based on hns3 PF device, hardware will strip 2 vlan tags when
ULP calls rte_eth_dev_set_vlan_pvid API function to set a PVID whether
vlan strip related offload is turned on by calling rte_eth_dev_configure
or rte_eth_dev_set_vlan_offload API function.

When receiving a QinQ packet with the pvid tag, if ULP does not
configure the vlan strip by the method mentioned above, a layer of vlan
tag will be lost to ULP, which is not the expected result.

It is supposed to configure the vlan strip according to the upper level
process's configuration.

Fixes: 411d23b9ea ("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>
2020-06-05 11:32:08 +02:00
..
baseband baseband/fpga_5gnr_fec: support interrupt 2020-04-19 22:34:26 +02:00
bus bus/fslmc: drop inline from non-static functions 2020-05-20 15:15:48 +02:00
common common/mlx5: add memory reclaim glue function 2020-06-03 17:19:26 +02:00
compress fix various typos found by Lintian 2020-04-25 19:53:47 +02:00
crypto bus/fslmc: add accessor for MCP 2020-05-19 15:49:53 +02:00
event mempool/octeontx2: add devargs to lock context in cache 2020-05-19 18:28:58 +02:00
mempool mempool/octeontx2: add devargs to lock context in cache 2020-05-19 18:28:58 +02:00
net net/hns3: fix VLAN strip configuration when setting PVID 2020-06-05 11:32:08 +02:00
raw bus/fslmc: add accessor for MCP 2020-05-19 15:49:53 +02:00
vdpa common/mlx5: move glue files under Linux directory 2020-06-03 17:19:26 +02:00
Makefile drivers: add crypto as dependency for event drivers 2020-03-05 14:22:11 +01:00
meson.build build: skip config of explicitly disabled drivers 2020-05-19 16:52:22 +02:00