net/bnxt: fix VLAN indication in Rx mbuf
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Mon, 23 Aug 2021 08:12:14 +0000 (13:42 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 2 Sep 2021 00:34:03 +0000 (02:34 +0200)
commit620e0290d14cc9a1126ef1af4eaa71ef9eadca72
tree7ace9fcb1bbd061ffbc653361f780337763d5f10
parentbaedf29794aa7cf8527d6362af17dce5046b1f51
net/bnxt: fix VLAN indication in Rx mbuf

Fix to ignore the RX_PKT_CMPL_FLAGS2_META_FORMAT_VLAN
when the firmware doesn't support the VLAN strip offload.

Fixes: 2eb53b134aae ("net/bnxt: add initial Rx code")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_rxr.c