freebsd-dev/sys/dev/ixgbe
Vincenzo Maffione f7926a6d0c net: iflib: fix vlan processing in the drivers
The logic that sets iri_vtag and M_VLANTAG does not handle the
case where the 802.11q VLAN tag is 0. Fix this issue across
the iflib drivers. While there, also improve and align the
VLAN tag check extraction, by moving it outside the RX descriptor
loop, eliminating a local variable and additional checks.

PR:             260068
Reviewed by:    kbowling, gallatin
Reported by:	erj
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D33156
2021-12-28 11:11:41 +00:00
..
if_bypass.c ixgbe: Rename 'struct adapter' to 'struct ixgbe_softc' 2021-09-26 11:18:07 -07:00
if_fdir.c ixgbe: Rename 'struct adapter' to 'struct ixgbe_softc' 2021-09-26 11:18:07 -07:00
if_ix.c ixgbe: whitespace cleanup pass 2021-09-26 11:29:02 -07:00
if_ixv.c ixgbe: whitespace cleanup pass 2021-09-26 11:29:02 -07:00
if_sriov.c ixgbe: Rename 'struct adapter' to 'struct ixgbe_softc' 2021-09-26 11:18:07 -07:00
ix_txrx.c net: iflib: fix vlan processing in the drivers 2021-12-28 11:11:41 +00:00
ixgbe_82598.c ixgbe: remove whitespace in function comments 2021-09-06 21:17:18 -07:00
ixgbe_82598.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_82599.c ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_82599.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_api.c ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_api.h ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_bypass.h ixgbe: Rename 'struct adapter' to 'struct ixgbe_softc' 2021-09-26 11:18:07 -07:00
ixgbe_common.c ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_common.h ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_dcb_82598.c ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_dcb_82598.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_dcb_82599.c ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_dcb_82599.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_dcb.c ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_dcb.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_fdir.h ixgbe: Rename 'struct adapter' to 'struct ixgbe_softc' 2021-09-26 11:18:07 -07:00
ixgbe_features.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_mbx.c ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_mbx.h ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_osdep.c ixgbe: Rename 'struct adapter' to 'struct ixgbe_softc' 2021-09-26 11:18:07 -07:00
ixgbe_osdep.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_phy.c ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_phy.h ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_rss.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_sriov.h ixgbe: Rename 'struct adapter' to 'struct ixgbe_softc' 2021-09-26 11:18:07 -07:00
ixgbe_type.h ixgbe(4): Fix a few typos in source code comments 2021-11-03 16:16:20 +01:00
ixgbe_vf.c ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_vf.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_x540.c ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_x540.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe_x550.c ixgbe: Update shared code catchup 2021-10-06 18:45:55 -07:00
ixgbe_x550.h ixgbe: Update copyright to 2020 2021-09-06 20:13:28 -07:00
ixgbe.h ixgbe: whitespace cleanup pass 2021-09-26 11:29:02 -07:00