netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/10][pull request] implement devlink reload in ice
@ 2023-02-03 21:14 Tony Nguyen
  2023-02-03 21:14 ` [PATCH net-next 01/10] ice: move RDMA init to ice_idc.c Tony Nguyen
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Tony Nguyen @ 2023-02-03 21:14 UTC (permalink / raw)
  To: davem, kuba, pabeni, edumazet; +Cc: Tony Nguyen, netdev, michal.swiatkowski

Michal Swiatkowski says:

This is a part of changes done in patchset [0]. Resource management is
kind of controversial part, so I split it into two patchsets.

It is the first one, covering refactor and implement reload API call.
The refactor will unblock some of the patches needed by SIOV or
subfunction.

Most of this patchset is about implementing driver reload mechanism.
Part of code from probe and rebuild is used to not duplicate code.
To allow this reuse probe and rebuild path are split into smaller
functions.

Patch "ice: split ice_vsi_setup into smaller functions" changes
boolean variable in function call to integer and adds define
for it. Instead of having the function called with true/false now it
can be called with readable defines ICE_VSI_FLAG_INIT or
ICE_VSI_FLAG_NO_INIT. It was suggested by Jacob Keller and probably this
mechanism will be implemented across ice driver in follow up patchset.

Previously the code was reviewed here [0].

[0] https://lore.kernel.org/netdev/Y3ckRWtAtZU1BdXm@unreal/T/#m3bb8feba0a62f9b4cd54cd94917b7e2143fc2ecd

The following are changes since commit 8065c0e13f9875f597920a2af47e5dc2940a9c4f:
  Merge branch 'yt8531-support'
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 100GbE

Jacob Keller (1):
  ice: stop hard coding the ICE_VSI_CTRL location

Michal Swiatkowski (9):
  ice: move RDMA init to ice_idc.c
  ice: alloc id for RDMA using xa_array
  ice: cleanup in VSI config/deconfig code
  ice: split ice_vsi_setup into smaller functions
  ice: split probe into smaller functions
  ice: sync netdev filters after clearing VSI
  ice: move VSI delete outside deconfig
  ice: update VSI instead of init in some case
  ice: implement devlink reinit action

 drivers/net/ethernet/intel/ice/ice.h         |    6 +-
 drivers/net/ethernet/intel/ice/ice_common.c  |   11 +-
 drivers/net/ethernet/intel/ice/ice_devlink.c |  103 +-
 drivers/net/ethernet/intel/ice/ice_ethtool.c |    2 +-
 drivers/net/ethernet/intel/ice/ice_fltr.c    |    5 +
 drivers/net/ethernet/intel/ice/ice_idc.c     |   53 +-
 drivers/net/ethernet/intel/ice/ice_lib.c     | 1049 ++++++++---------
 drivers/net/ethernet/intel/ice/ice_lib.h     |    8 +-
 drivers/net/ethernet/intel/ice/ice_main.c    | 1090 ++++++++++--------
 drivers/net/ethernet/intel/ice/ice_vf_lib.c  |    2 +-
 10 files changed, 1252 insertions(+), 1077 deletions(-)

-- 
2.38.1


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

end of thread, other threads:[~2023-02-06 10:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-03 21:14 [PATCH net-next 00/10][pull request] implement devlink reload in ice Tony Nguyen
2023-02-03 21:14 ` [PATCH net-next 01/10] ice: move RDMA init to ice_idc.c Tony Nguyen
2023-02-03 21:14 ` [PATCH net-next 02/10] ice: alloc id for RDMA using xa_array Tony Nguyen
2023-02-03 21:14 ` [PATCH net-next 03/10] ice: cleanup in VSI config/deconfig code Tony Nguyen
2023-02-03 21:14 ` [PATCH net-next 04/10] ice: split ice_vsi_setup into smaller functions Tony Nguyen
2023-02-03 21:14 ` [PATCH net-next 05/10] ice: stop hard coding the ICE_VSI_CTRL location Tony Nguyen
2023-02-03 21:14 ` [PATCH net-next 06/10] ice: split probe into smaller functions Tony Nguyen
2023-02-03 21:14 ` [PATCH net-next 07/10] ice: sync netdev filters after clearing VSI Tony Nguyen
2023-02-03 21:14 ` [PATCH net-next 08/10] ice: move VSI delete outside deconfig Tony Nguyen
2023-02-03 21:14 ` [PATCH net-next 09/10] ice: update VSI instead of init in some case Tony Nguyen
2023-02-03 21:14 ` [PATCH net-next 10/10] ice: implement devlink reinit action Tony Nguyen
2023-02-06 10:10 ` [PATCH net-next 00/10][pull request] implement devlink reload in ice patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).