opnsense-src/sys/dev/ixl
Krzysztof Galazka 7d4dceec10 ixl(4): Fix VLAN HW filtering
X700 family of controllers has limited number of available VLAN
HW filters. Driver did not handle properly a case when user
assigned more VLANs to the interface which had all filters
already in use. Fix that by disabling HW filtering when
it is impossible to create filters for all requested VLANs.
Keep track of registered VLANs using bitstring to be able
to re-enable HW filtering when number of requested VLANs
drops below the limit.

Also switch all allocations to use M_IXL malloc type
to ease detecting memory leaks in the driver.

Reviewed by:	erj
Tested by:	gowtham.kumar.ks@intel.com
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D28137
2021-02-04 15:33:42 -08:00
..
i40e_adminq.c ixl(4): Add FW recovery mode support and other things 2020-06-09 22:42:54 +00: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): Add support for X710-T*L devices 2020-09-01 23:16:38 +00: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): Add support for X710-T*L devices 2020-09-01 23:16:38 +00:00
i40e_dcb.c ixl(4): Add FW recovery mode support and other things 2020-06-09 22:42:54 +00: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): Add FW recovery mode support and other things 2020-06-09 22:42:54 +00: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): Add FW recovery mode support and other things 2020-06-09 22:42:54 +00:00
i40e_osdep.c ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -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): Add support for X710-T*L devices 2020-09-01 23:16:38 +00:00
i40e_register.h ixl(4): Add FW recovery mode support and other things 2020-06-09 22:42:54 +00: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): Add support for X710-T*L devices 2020-09-01 23:16:38 +00:00
iavf.h ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -08:00
iavf_vc.c ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -08:00
if_iavf.c ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -08:00
if_ixl.c ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -08:00
ixl.h ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -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-02-04 15:33:42 -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): Fix VLAN HW filtering 2021-02-04 15:33:42 -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 VLAN HW filtering 2021-02-04 15:33:42 -08:00
ixl_pf_iov.c ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -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): Fix VLAN HW filtering 2021-02-04 15:33:42 -08: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 ixl(4): Add FW recovery mode support and other things 2020-06-09 22:42:54 +00:00
virtchnl.h ixl(4): Add support for X710-T*L devices 2020-09-01 23:16:38 +00:00