freebsd-dev/sys/dev/ixl
Krzysztof Galazka 1d02c6b1b8
ixl(4): Fix MAC/VLAN filters accounting
- Account for a filter required to enable reception of untagged frames
while registering and unregistering VLANs to avoid trying to add more
filters than HW supports

- While adding MAC/VLAN filters, pre-set matching method field in the
Admin Queue Command response buffer to expected error value to work
around an issue with some FW versions, which do not update that field if
operation fails, and be able correctly track which filters were
configured in HW.

- Remove unused IXL_MAX_FILTERS macro definition

- Update number of available MAC/VLAN filters as in newer FW versions it
was decreased by one.

- Simplify i40e_dma_mem structure

Signed-off-by: Krzysztof Galazka <krzysztof.galazka@intel.com>
Signed-off-by: Eric Joyner <erj@FreeBSD.org>

Reviewed by:	erj@
Tested by:	Gowtham Kumar Ks <gowtham.kumar.ks@intel.com>
MFC after:	3 days
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D37457
2023-02-15 14:34:25 -08:00
..
i40e_adminq_cmd.h
i40e_adminq.c
i40e_adminq.h
i40e_alloc.h
i40e_common.c ixl(4): Add support for I710 devices and remove non-inclusive language 2022-05-24 09:12:49 -07:00
i40e_dcb.c
i40e_dcb.h
i40e_devids.h ixl(4): Add support for I710 devices and remove non-inclusive language 2022-05-24 09:12:49 -07:00
i40e_hmc.c
i40e_hmc.h
i40e_lan_hmc.c
i40e_lan_hmc.h
i40e_nvm.c
i40e_osdep.c ixl(4): Fix MAC/VLAN filters accounting 2023-02-15 14:34:25 -08:00
i40e_osdep.h ixl(4): Fix MAC/VLAN filters accounting 2023-02-15 14:34:25 -08:00
i40e_prototype.h
i40e_register.h
i40e_status.h ixl(4): Add support for I710 devices and remove non-inclusive language 2022-05-24 09:12:49 -07:00
i40e_type.h
if_ixl.c ixl(4): Fix MAC/VLAN filters accounting 2023-02-15 14:34:25 -08:00
ixl_debug.h
ixl_iw_int.h
ixl_iw.c ixl: Fix a mechanical mess-up in DrvAPI conversion 2022-12-21 15:36:59 -05:00
ixl_iw.h Mechanically convert ixl(4) to IfAPI 2023-01-24 14:36:29 -05:00
ixl_pf_i2c.c
ixl_pf_iflib.c Convert iflib(4) and iflib-based drivers to the DrvAPI 2022-12-21 09:20:06 -05:00
ixl_pf_iov.c
ixl_pf_iov.h
ixl_pf_main.c ixl(4): Fix MAC/VLAN filters accounting 2023-02-15 14:34:25 -08:00
ixl_pf_qmgr.c
ixl_pf_qmgr.h
ixl_pf.h Mechanically convert ixl(4) to IfAPI 2023-01-24 14:36:29 -05:00
ixl_txrx.c
ixl.h ixl(4): Fix MAC/VLAN filters accounting 2023-02-15 14:34:25 -08:00
virtchnl.h