Message ID | 20240318143058.287014-1-ivecera@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | i40e: cleanups & refactors | expand |
On Mon, Mar 18, 2024 at 3:31 PM Ivan Vecera <ivecera@redhat.com> wrote: > > This series do following: > Patch 1 - Removes write-only flags field from i40e_veb structure and > from i40e_veb_setup() parameters > Patch 2 - Changes parameter of i40e_notify_client_of_l2_param_changes() > and i40e_notify_client_of_netdev_close() > Patch 3 - Changes parameter of i40e_detect_recover_hung() > Patch 4 - Adds helper i40e_pf_get_main_vsi() to get main VSI and uses it > in existing code > Patch 5 - Consolidates checks whether given VSI is the main one > Patch 6 - Adds helper i40e_pf_get_main_veb() to get main VEB and uses it > in existing code > Patch 7 - Adds helper i40e_vsi_reconfig_tc() to reconfigure TC for > particular and uses it to replace existing open-coded pieces > > Ivan Vecera (7): > i40e: Remove flags field from i40e_veb > i40e: Change argument of several client notification functions > i40e: Change argument of i40e_detect_recover_hung() > i40e: Add helper to access main VSI > i40e: Consolidate checks whether given VSI is main > i40e: Add helper to access main VEB > i40e: Add and use helper to reconfigure TC for given VSI > > drivers/net/ethernet/intel/i40e/i40e.h | 29 ++- > drivers/net/ethernet/intel/i40e/i40e_client.c | 28 +-- > drivers/net/ethernet/intel/i40e/i40e_ddp.c | 3 +- > .../net/ethernet/intel/i40e/i40e_debugfs.c | 36 ++-- > .../net/ethernet/intel/i40e/i40e_ethtool.c | 29 ++- > drivers/net/ethernet/intel/i40e/i40e_main.c | 199 ++++++++++-------- > drivers/net/ethernet/intel/i40e/i40e_ptp.c | 6 +- > drivers/net/ethernet/intel/i40e/i40e_txrx.c | 16 +- > drivers/net/ethernet/intel/i40e/i40e_txrx.h | 2 +- > .../ethernet/intel/i40e/i40e_virtchnl_pf.c | 14 +- > 10 files changed, 210 insertions(+), 152 deletions(-) Series looks OK to me. Reviewed-by: Michal Schmidt <mschmidt@redhat.com>