mbox series

[net-next,0/7,pull,request] i40e: cleanups & refactors

Message ID 20240430180639.1938515-1-anthony.l.nguyen@intel.com (mailing list archive)
Headers show
Series i40e: cleanups & refactors | expand

Message

Tony Nguyen April 30, 2024, 6:06 p.m. UTC
Ivan Vecera says:

This series do following:
Patch 1 - Removes write-only flags field from i40e_veb structure and
          from i40e_veb_setup() parameters
Patch 2 - Refactors parameter of i40e_notify_client_of_l2_param_changes()
          and i40e_notify_client_of_netdev_close()
Patch 3 - Refactors 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

The following are changes since commit b45176703647e5302314c740a51e7d1054a7bd3c:
  Merge branch 'selftests-net-page_poll-allocation-error-injection'
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 40GbE

Ivan Vecera (7):
  i40e: Remove flags field from i40e_veb
  i40e: Refactor argument of several client notification functions
  i40e: Refactor 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   | 200 ++++++++++--------
 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, 211 insertions(+), 152 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org May 2, 2024, 2:20 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Tony Nguyen <anthony.l.nguyen@intel.com>:

On Tue, 30 Apr 2024 11:06:30 -0700 you wrote:
> Ivan Vecera says:
> 
> This series do following:
> Patch 1 - Removes write-only flags field from i40e_veb structure and
>           from i40e_veb_setup() parameters
> Patch 2 - Refactors parameter of i40e_notify_client_of_l2_param_changes()
>           and i40e_notify_client_of_netdev_close()
> Patch 3 - Refactors 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
> 
> [...]

Here is the summary with links:
  - [net-next,1/7] i40e: Remove flags field from i40e_veb
    https://git.kernel.org/netdev/net-next/c/b92379dc94c1
  - [net-next,2/7] i40e: Refactor argument of several client notification functions
    https://git.kernel.org/netdev/net-next/c/54c4664e48ee
  - [net-next,3/7] i40e: Refactor argument of i40e_detect_recover_hung()
    https://git.kernel.org/netdev/net-next/c/7033ada04e33
  - [net-next,4/7] i40e: Add helper to access main VSI
    https://git.kernel.org/netdev/net-next/c/43f4466ca91d
  - [net-next,5/7] i40e: Consolidate checks whether given VSI is main
    https://git.kernel.org/netdev/net-next/c/6c8e355ea5fc
  - [net-next,6/7] i40e: Add helper to access main VEB
    https://git.kernel.org/netdev/net-next/c/5509fc9e3ab6
  - [net-next,7/7] i40e: Add and use helper to reconfigure TC for given VSI
    https://git.kernel.org/netdev/net-next/c/29385de33956

You are awesome, thank you!