mbox series

[iwl-next,v1,0/3] ice: devlink cleanup

Message ID 20240325213433.829161-1-michal.swiatkowski@linux.intel.com (mailing list archive)
Headers show
Series ice: devlink cleanup | expand

Message

Michal Swiatkowski March 25, 2024, 9:34 p.m. UTC
Hi,

This is a prework for subfunction patchset. As Jiri suggested I moved
only devlink related changes to the new patchset. The whole previous
patchset is here [1]

There is one patch that is changing how devlink lock is taken during
driver init/cleanup.

[1] https://lore.kernel.org/netdev/20240301115414.502097-1-michal.swiatkowski@linux.intel.com/

Michal Swiatkowski (2):
  ice: move ice_devlink.[ch] to devlink folder
  ice: hold devlink lock for whole init/cleanup

Piotr Raczynski (1):
  ice: move devlink port code to a separate file

 drivers/net/ethernet/intel/ice/Makefile       |   4 +-
 .../ice/{ice_devlink.c => devlink/devlink.c}  | 457 +-----------------
 .../ice/{ice_devlink.h => devlink/devlink.h}  |   0
 .../ethernet/intel/ice/devlink/devlink_port.c | 430 ++++++++++++++++
 .../ethernet/intel/ice/devlink/devlink_port.h |  12 +
 drivers/net/ethernet/intel/ice/ice_dcb_lib.c  |   2 +-
 drivers/net/ethernet/intel/ice/ice_eswitch.c  |   2 +-
 drivers/net/ethernet/intel/ice/ice_lib.c      |   1 -
 drivers/net/ethernet/intel/ice/ice_main.c     |  10 +-
 drivers/net/ethernet/intel/ice/ice_repr.c     |   3 +-
 10 files changed, 471 insertions(+), 450 deletions(-)
 rename drivers/net/ethernet/intel/ice/{ice_devlink.c => devlink/devlink.c} (78%)
 rename drivers/net/ethernet/intel/ice/{ice_devlink.h => devlink/devlink.h} (100%)
 create mode 100644 drivers/net/ethernet/intel/ice/devlink/devlink_port.c
 create mode 100644 drivers/net/ethernet/intel/ice/devlink/devlink_port.h