freebsd-dev/sys/dev/iavf
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
..
iavf_adminq_cmd.h
iavf_adminq.c
iavf_adminq.h
iavf_alloc.h
iavf_common.c
iavf_debug.h
iavf_devids.h
iavf_drv_info.h
iavf_iflib.h
iavf_lib.c
iavf_lib.h
iavf_opts.h
iavf_osdep.c
iavf_osdep.h
iavf_prototype.h
iavf_register.h
iavf_status.h
iavf_sysctls_common.h
iavf_sysctls_iflib.h
iavf_txrx_common.h
iavf_txrx_iflib.c net: iflib: fix vlan processing in the drivers 2021-12-28 11:11:41 +00:00
iavf_type.h
iavf_vc_common.c
iavf_vc_common.h
iavf_vc_iflib.c
if_iavf_iflib.c
virtchnl.h