Skip to content

Commit 3f5bc5a

Browse files
bruce-richardsonbluca
authored andcommitted
net/ice: fix vector Rx VLAN offload flags
[ upstream commit cf454a5 ] The vector PMD datapaths for ice do not support QinQ, so we need to update the vector offload flags to not use the general RX_OFFLOAD_VLAN flag (which sets all vlan-related options) and replace it with the individually supported VLAN options. Fixes: 808a17b ("net/ice: add Rx AVX512 offload path") Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Ciara Loftus <[email protected]>
1 parent 1fd645b commit 3f5bc5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/ice/ice_rxtx_vec_common.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,8 @@ ice_rxq_vec_setup_default(struct ice_rx_queue *rxq)
268268
#define ICE_RX_VECTOR_OFFLOAD ( \
269269
RTE_ETH_RX_OFFLOAD_CHECKSUM | \
270270
RTE_ETH_RX_OFFLOAD_SCTP_CKSUM | \
271-
RTE_ETH_RX_OFFLOAD_VLAN | \
271+
RTE_ETH_RX_OFFLOAD_VLAN_STRIP | \
272+
RTE_ETH_RX_OFFLOAD_VLAN_FILTER | \
272273
RTE_ETH_RX_OFFLOAD_RSS_HASH)
273274

274275
#define ICE_VECTOR_PATH 0

0 commit comments

Comments
 (0)