net/mlx5: fix VLAN stripping indication
The indication on vlan stripping was taken from the wrong location in the completion entry. Fixes: 9964b965ad69 ("net/mlx5: re-add Rx scatter support") Cc: stable@dpdk.org Signed-off-by: Shahaf Shuler <shahafs@mellanox.com> Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
This commit is contained in:
parent
d27a8fd01f
commit
9514fa2d1a
@ -1523,7 +1523,7 @@ mlx5_rx_burst(void *dpdk_rxq, struct rte_mbuf **pkts, uint16_t pkts_n)
|
||||
pkt->ol_flags |=
|
||||
rxq_cq_to_ol_flags(rxq, cqe);
|
||||
}
|
||||
if (cqe->hdr_type_etc &
|
||||
if (ntohs(cqe->hdr_type_etc) &
|
||||
MLX5_CQE_VLAN_STRIPPED) {
|
||||
pkt->ol_flags |= PKT_RX_VLAN_PKT |
|
||||
PKT_RX_VLAN_STRIPPED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user