On Wed, Jan 29, 2020 at 7:13 AM Rasesh Mody <rm...@marvell.com> wrote: > > For VLAN packet the tci is saved in rx_mb->vlan_tci, however the > STRIPPED offload flag is not set along with PKT_RX_VLAN flag. > Set the PKT_RX_VLAN_STRIPPED flag as well. > > Fixes: 380a7aab1ae2 ("mbuf: rename deprecated VLAN flags") > Fixes: b37b528d957c ("mbuf: add new Rx flags for stripped VLAN") > Cc: sta...@dpdk.org > Signed-off-by: Rasesh Mody <rm...@marvell.com>
Applied to dpdk-next-net-mrvl/master. Thanks > --- > drivers/net/bnx2x/bnx2x_rxtx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/bnx2x/bnx2x_rxtx.c b/drivers/net/bnx2x/bnx2x_rxtx.c > index ae97dfee36..ea2b53dff8 100644 > --- a/drivers/net/bnx2x/bnx2x_rxtx.c > +++ b/drivers/net/bnx2x/bnx2x_rxtx.c > @@ -414,7 +414,7 @@ bnx2x_recv_pkts(void *p_rxq, struct rte_mbuf **rx_pkts, > uint16_t nb_pkts) > */ > if (cqe_fp->pars_flags.flags & PARSING_FLAGS_VLAN) { > rx_mb->vlan_tci = cqe_fp->vlan_tag; > - rx_mb->ol_flags |= PKT_RX_VLAN; > + rx_mb->ol_flags |= PKT_RX_VLAN | PKT_RX_VLAN_STRIPPED; > } > > rx_pkts[nb_rx] = rx_mb; > -- > 2.18.0 >