opnsense-src/sys/dev/ixl
Vincenzo Maffione 05c9fb0087 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

(cherry picked from commit f7926a6d0c)
2022-01-27 22:39:09 +00:00
..
i40e_adminq.c ixl(4): Fix 2.5 and 5G speeds reporting and update shared code 2021-09-20 13:43:29 -07:00
i40e_adminq.h ixl(4): Update version number to 2.0.0-k 2018-06-18 20:32:53 +00:00
i40e_adminq_cmd.h ixl(4): Fix 2.5 and 5G speeds reporting and update shared code 2021-09-20 13:43:29 -07:00
i40e_alloc.h ixl(4): Update version number to 2.0.0-k 2018-06-18 20:32:53 +00:00
i40e_common.c ixl(4): Fix 2.5 and 5G speeds reporting and update shared code 2021-09-20 13:43:29 -07:00
i40e_dcb.c ixl(4): Fix 2.5 and 5G speeds reporting and update shared code 2021-09-20 13:43:29 -07:00
i40e_dcb.h ixl(4): Add FW recovery mode support and other things 2020-06-09 22:42:54 +00:00
i40e_devids.h ixl(4): Add support for X710-T*L devices 2020-09-01 23:16:38 +00:00
i40e_hmc.c ixl(4): Update version number to 2.0.0-k 2018-06-18 20:32:53 +00:00
i40e_hmc.h ixl(4): Update version number to 2.0.0-k 2018-06-18 20:32:53 +00:00
i40e_lan_hmc.c ixl(4): Fix 2.5 and 5G speeds reporting and update shared code 2021-09-20 13:43:29 -07:00
i40e_lan_hmc.h ixl(4): Update version number to 2.0.0-k 2018-06-18 20:32:53 +00:00
i40e_nvm.c ixl(4): Fix 2.5 and 5G speeds reporting and update shared code 2021-09-20 13:43:29 -07:00
i40e_osdep.c ixl(4): Fix VLAN HW filtering 2021-03-04 17:23:18 -08:00
i40e_osdep.h ixl(4): Update version number to 2.0.0-k 2018-06-18 20:32:53 +00:00
i40e_prototype.h ixl(4): Fix 2.5 and 5G speeds reporting and update shared code 2021-09-20 13:43:29 -07:00
i40e_register.h ixl(4): Fix 2.5 and 5G speeds reporting and update shared code 2021-09-20 13:43:29 -07:00
i40e_status.h ixl(4): Update version number to 2.0.0-k 2018-06-18 20:32:53 +00:00
i40e_type.h ixl(4): Fix 2.5 and 5G speeds reporting and update shared code 2021-09-20 13:43:29 -07:00
iavf.h ixl(4): Fix VLAN HW filtering 2021-03-04 17:23:18 -08:00
iavf_vc.c ixl(4): Fix VLAN HW filtering 2021-03-04 17:23:18 -08:00
if_iavf.c intel ethernet: Use ether_gen_addr(9) 2021-08-26 18:33:48 -07:00
if_ixl.c ixl(4): Fix a typo in a sysctl description 2021-11-28 12:42:14 +01:00
ixl.h ixl(4): Report RX errors as sum of all RX error counters 2021-03-04 17:23:18 -08:00
ixl_debug.h iavf(4): Finish rename/rebrand internally 2018-10-15 17:23:41 +00:00
ixl_iw.c ixl(4): Fix VLAN HW filtering 2021-03-04 17:23:18 -08:00
ixl_iw.h ixl(4): Update version number to 2.0.0-k 2018-06-18 20:32:53 +00:00
ixl_iw_int.h ixl(4): Update version number to 2.0.0-k 2018-06-18 20:32:53 +00:00
ixl_pf.h ixl(4): Add ability to control link state on ifconfig down 2021-03-04 17:23:19 -08:00
ixl_pf_i2c.c ixl(4): Add FW recovery mode support and other things 2020-06-09 22:42:54 +00:00
ixl_pf_iflib.c ixl(4): Fix reporting of unqualified transceivers 2021-09-20 13:42:55 -07:00
ixl_pf_iov.c ixl(4): Fix VLAN HW filtering 2021-03-04 17:23:18 -08:00
ixl_pf_iov.h ixl/iavf(4): Change ixlv to iavf and update it to use iflib(9) 2018-10-12 22:40:54 +00:00
ixl_pf_main.c ixl(4): Add tunable to override Flow Control settings 2021-09-20 13:42:13 -07:00
ixl_pf_qmgr.c ixl/iavf(4): Change ixlv to iavf and update it to use iflib(9) 2018-10-12 22:40:54 +00:00
ixl_pf_qmgr.h ixl/iavf(4): Change ixlv to iavf and update it to use iflib(9) 2018-10-12 22:40:54 +00:00
ixl_txrx.c net: iflib: fix vlan processing in the drivers 2022-01-27 22:39:09 +00:00
virtchnl.h ixl(4): Add support for X710-T*L devices 2020-09-01 23:16:38 +00:00