Go to file
Stephen Hemminger 4339de851e net/bnxt: fix Rx VLAN offload flags
The bnxt driver is not correctly setting the receive VLAN offload
flags.  When VLAN is offloaded the driver must set the
PKT_RX_VLAN_STRIPPED flag.

Actually, several drivers have the same bug, only most of the
Intel drivers look right. Any driver that sets vlan_tci is probably
stripping the tag, and should be setting RX_VLAN_STRIPPED.

To quote rte_mbuf.h:

/**
 * The RX packet is a 802.1q VLAN packet, and the tci has been
 * saved in in mbuf->vlan_tci.
 * If the flag PKT_RX_VLAN_STRIPPED is also present, the VLAN
 * header has been stripped from mbuf data, else it is still
 * present.
 */

Fixes: 2eb53b134a ("net/bnxt: add initial Rx code")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2019-03-29 17:25:32 +01:00
.ci ci: fix arm64 config filename 2019-03-30 00:01:35 +01:00
app app/testpmd: display/clear forwarding stats on demand 2019-03-29 17:25:31 +01:00
buildtools
config build: use version number from config file 2019-03-27 09:43:47 +01:00
devtools devtools: fix config check when building tags 2019-03-27 00:56:34 +01:00
doc net/ice: enable RSS when device init 2019-03-29 17:25:31 +01:00
drivers net/bnxt: fix Rx VLAN offload flags 2019-03-29 17:25:32 +01:00
examples examples: detect default build directory 2019-03-30 01:12:15 +01:00
kernel kni: calculate MTU from mbuf size 2019-03-30 00:59:59 +01:00
lib ethdev: fix a typo 2019-03-29 17:25:31 +01:00
license
mk build: use version number from config file 2019-03-27 09:43:47 +01:00
usertools usertools: add octeontx2 SSO and NPA PCIe devices 2019-03-27 01:24:27 +01:00
.gitattributes
.gitignore git: ignore build directories 2019-03-13 11:57:05 +01:00
.travis.yml ci: introduce Travis builds for GitHub repositories 2019-03-26 22:31:40 +01:00
GNUmakefile
MAINTAINERS test/ticketlock: add test cases 2019-03-28 15:02:10 +01:00
Makefile
meson_options.txt build: use integer for max ethdev ports option 2019-03-26 23:08:09 +01:00
meson.build build: move meson version handling to config directory 2019-03-27 09:43:35 +01:00
README
VERSION build: add single source of DPDK version number 2019-03-27 09:43:23 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org