freebsd-dev/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_cmd.h
i40e_adminq.c
i40e_adminq.h
i40e_alloc.h
i40e_common.c
i40e_dcb.c
i40e_dcb.h
i40e_devids.h
i40e_hmc.c
i40e_hmc.h
i40e_lan_hmc.c
i40e_lan_hmc.h
i40e_nvm.c
i40e_osdep.c ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -08:00
i40e_osdep.h
i40e_prototype.h
i40e_register.h
i40e_status.h
i40e_type.h
iavf_vc.c ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -08:00
iavf.h 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_debug.h
ixl_iw_int.h
ixl_iw.c ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -08:00
ixl_iw.h
ixl_pf_i2c.c
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_pf_main.c ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -08:00
ixl_pf_qmgr.c
ixl_pf_qmgr.h
ixl_pf.h ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -08:00
ixl_txrx.c
ixl.h ixl(4): Fix VLAN HW filtering 2021-02-04 15:33:42 -08:00
virtchnl.h