Re: [dpdk-dev] [PATCH 2/2] ethdev: fix VLAN offloads set if no relative capabilities

2020-06-19 Thread Wei Hu (Xavier)
Hi, Andrew Rybchenko On 2020/6/19 16:37, Andrew Rybchenko wrote: On 6/19/20 6:42 AM, Wei Hu (Xavier) wrote: From: Chengchang Tang Currently, there is a potential problem that calling the API function rte_eth_dev_set_vlan_offload to start a vlan hardware offloads which the driver does not sup

Re: [dpdk-dev] [PATCH 2/2] ethdev: fix VLAN offloads set if no relative capabilities

2020-06-19 Thread Andrew Rybchenko
On 6/19/20 6:42 AM, Wei Hu (Xavier) wrote: > From: Chengchang Tang > > Currently, there is a potential problem that calling the API function > rte_eth_dev_set_vlan_offload to start a vlan hardware offloads which the > driver does not support. if the PMD driver does not support the relative > hard

[dpdk-dev] [PATCH 2/2] ethdev: fix VLAN offloads set if no relative capabilities

2020-06-18 Thread Wei Hu (Xavier)
From: Chengchang Tang Currently, there is a potential problem that calling the API function rte_eth_dev_set_vlan_offload to start a vlan hardware offloads which the driver does not support. if the PMD driver does not support the relative hardware offloads and does not check for it, the hardware s