3
0
Fork 0
forked from mirrors/linux
kernel/drivers/net/ethernet/intel/i40e
Alexander Lobakin 9144e6f404 i40e: use generic unrolled_count() macro
i40e, as well as ice, has a custom loop unrolling macro for unrolling
Tx descriptors filling on XSk xmit.
Replace i40e defs with generic unrolled_count(), which is also more
convenient as it allows passing defines as its argument, not hardcoded
values, while the loop declaration will still be a usual for-loop.

Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Link: https://patch.msgid.link/20250206182630.3914318-3-aleksander.lobakin@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-02-10 17:54:43 -08:00
..
i40e.h i40e: add ability to reset VF for Tx and Rx MDD events 2025-01-07 18:16:02 -08:00
i40e_adminq.c i40e: Remove unused i40e_asq_send_command_v2 2025-01-06 13:31:48 -08:00
i40e_adminq.h i40e: fix: remove needless retries of NVM update 2024-07-11 17:31:52 -07:00
i40e_adminq_cmd.h
i40e_alloc.h
i40e_client.c
i40e_common.c i40e: Deadcode profile code 2025-01-06 13:31:48 -08:00
i40e_dcb.c i40e: Remove unused i40e_dcb_hw_get_num_tc 2025-01-06 13:31:49 -08:00
i40e_dcb.h i40e: Remove unused i40e_dcb_hw_get_num_tc 2025-01-06 13:31:49 -08:00
i40e_dcb_nl.c
i40e_ddp.c
i40e_debug.h
i40e_debugfs.c i40e: add ability to reset VF for Tx and Rx MDD events 2025-01-07 18:16:02 -08:00
i40e_devids.h
i40e_devlink.c
i40e_devlink.h
i40e_diag.c
i40e_diag.h
i40e_ethtool.c i40e: add ability to reset VF for Tx and Rx MDD events 2025-01-07 18:16:02 -08:00
i40e_hmc.c
i40e_hmc.h
i40e_io.h
i40e_lan_hmc.c
i40e_lan_hmc.h
i40e_main.c i40e: add ability to reset VF for Tx and Rx MDD events 2025-01-07 18:16:02 -08:00
i40e_nvm.c
i40e_prototype.h i40e: Remove unused i40e_asq_send_command_v2 2025-01-06 13:31:48 -08:00
i40e_ptp.c
i40e_register.h
i40e_trace.h
i40e_txrx.c
i40e_txrx.h
i40e_txrx_common.h
i40e_type.h
i40e_virtchnl_pf.c i40e: add ability to reset VF for Tx and Rx MDD events 2025-01-07 18:16:02 -08:00
i40e_virtchnl_pf.h i40e: add ability to reset VF for Tx and Rx MDD events 2025-01-07 18:16:02 -08:00
i40e_xsk.c i40e: use generic unrolled_count() macro 2025-02-10 17:54:43 -08:00
i40e_xsk.h i40e: use generic unrolled_count() macro 2025-02-10 17:54:43 -08:00
Makefile