Skip to content

Commit

Permalink
net/iavf: fix VLAN offload
Browse files Browse the repository at this point in the history
[ upstream commit 5cbfb38 ]

HW VLAN offload cannot be enabled because the HW capability flags
are not set correctly.

Fixes: eff56a7 ("net/iavf: add offload path for Rx AVX512")

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
  • Loading branch information
wenzhuol authored and kevintraynor committed Nov 23, 2022
1 parent 59f67d1 commit 12164b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/iavf/iavf_ethdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,7 @@ iavf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
RTE_ETH_RX_OFFLOAD_OUTER_IPV4_CKSUM |
RTE_ETH_RX_OFFLOAD_SCATTER |
RTE_ETH_RX_OFFLOAD_VLAN_FILTER |
RTE_ETH_RX_OFFLOAD_VLAN_EXTEND |
RTE_ETH_RX_OFFLOAD_RSS_HASH;

dev_info->tx_offload_capa =
Expand Down

0 comments on commit 12164b4

Please sign in to comment.