mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH iwl-next 0/5] i40e: Simplify VSI and VEB handling
@ 2023-11-13 12:58 Ivan Vecera
  2023-11-13 12:58 ` [PATCH iwl-next 1/5] i40e: Use existing helper to find flow director VSI Ivan Vecera
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Ivan Vecera @ 2023-11-13 12:58 UTC (permalink / raw)
  To: netdev
  Cc: Jesse Brandeburg, Tony Nguyen, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, intel-wired-lan, linux-kernel,
	Jacob Keller, Wojciech Drewek, Simon Horman, mschmidt

The series simplifies handling of VSIs and VEBs by introducing for-each
iterating macros, 'find' helper functions. Also removes the VEB
recursion because the VEBs cannot have sub-VEBs according datasheet and
fixes the support for floating VEBs.

The series content:
Patch 1 - Uses existing helper function for find FDIR VSI instead of loop
Patch 2 - Adds and uses macros to iterate VSI and VEB arrays
Patch 3 - Adds 2 helper functions to find VSIs and VEBs by their SEID
Patch 4 - Fixes broken support for floating VEBs
Patch 5 - Removes VEB recursion and simplifies VEB handling

Ivan Vecera (5):
  i40e: Use existing helper to find flow director VSI
  i40e: Introduce and use macros for iterating VSIs and VEBs
  i40e: Add helpers to find VSI and VEB by SEID and use them
  i40e: Fix broken support for floating VEBs
  i40e: Remove VEB recursion

 drivers/net/ethernet/intel/i40e/i40e.h        |  91 ++-
 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c |  10 +-
 .../net/ethernet/intel/i40e/i40e_debugfs.c    |  97 ++-
 drivers/net/ethernet/intel/i40e/i40e_main.c   | 563 ++++++++----------
 4 files changed, 371 insertions(+), 390 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-11-16 14:46 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-13 12:58 [PATCH iwl-next 0/5] i40e: Simplify VSI and VEB handling Ivan Vecera
2023-11-13 12:58 ` [PATCH iwl-next 1/5] i40e: Use existing helper to find flow director VSI Ivan Vecera
2023-11-13 13:09   ` Wojciech Drewek
2023-11-13 12:58 ` [PATCH iwl-next 2/5] i40e: Introduce and use macros for iterating VSIs and VEBs Ivan Vecera
2023-11-13 13:21   ` Wojciech Drewek
2023-11-13 12:58 ` [PATCH iwl-next 3/5] i40e: Add helpers to find VSI and VEB by SEID and use them Ivan Vecera
2023-11-13 13:27   ` Wojciech Drewek
2023-11-15 17:01     ` Ivan Vecera
2023-11-16 12:37       ` Wojciech Drewek
2023-11-16 13:59         ` Ivan Vecera
2023-11-16 14:21           ` Wojciech Drewek
2023-11-16 14:46             ` Ivan Vecera
2023-11-13 12:58 ` [PATCH iwl-next 4/5] i40e: Fix broken support for floating VEBs Ivan Vecera
2023-11-14 13:21   ` Wojciech Drewek
2023-11-13 12:58 ` [PATCH iwl-next 5/5] i40e: Remove VEB recursion Ivan Vecera
2023-11-16 14:20   ` Wojciech Drewek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome