Skip to content

net: intel: cleanup power ops

Jesse Brandeburg intel-wired-lan linux-pci netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 9 repliesIn review
  2. v12 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- ice driver simple changes added which go with this series
- igb compilation issues of the patch when standalone with CONFIG_PM=n fixed by adding missing ifdef, which is then cleaned up in 2/2

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2igb: simplify pci ops declarationdrivers/net/ethernet/intel/igb/igb_main.c+24 -297 replies
2/2net: intel: implement modern PM ops declarationsdrivers/net/ethernet/intel/e100.c drivers/net/ethernet/intel/e1000/e1000_main.c drivers/net/ethernet/intel/e1000e/netdev.c +9 more+64 -922 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlan BradyMaciej FijalkowskiPucha Himasekhar Reddy
1/2R-b R-b T-b
2/2R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH iwl-next v2 0/2] net: intel: cleanup power ops

Do a quick refactor of igb to clean up some unnecessary declarations, noticed while doing the real work of 2/2.

Follow that with a change of all the Intel drivers to use the current power management declaration APIs, to avoid complication and maintenance issues with CONFIG_PM=<m|y|n>. This is as per [1]

Mostly compile-tested only, the ice driver currently has a bug in it that causes a panic that is being fixed via -net.

Changes in v2:
- ice driver simple changes added which go with this series
- igb compilation issues of the patch when standalone with CONFIG_PM=n fixed by adding missing ifdef, which is then cleaned up in 2/2

original v1:

[1] https://lore.kernel.org/netdev/[email protected]/

Jesse Brandeburg (2):
igb: simplify pci ops declaration
net: intel: implement modern PM ops declarations

 drivers/net/ethernet/intel/e100.c             |  8 +--
 drivers/net/ethernet/intel/e1000/e1000_main.c | 14 ++---
 drivers/net/ethernet/intel/e1000e/netdev.c    | 22 +++----
 drivers/net/ethernet/intel/fm10k/fm10k_pci.c  | 10 ++--
 drivers/net/ethernet/intel/i40e/i40e_main.c   | 10 ++--
 drivers/net/ethernet/intel/iavf/iavf_main.c   |  8 +--
 drivers/net/ethernet/intel/ice/ice_main.c     | 12 ++--
 drivers/net/ethernet/intel/igb/igb_main.c     | 59 ++++++++-----------
 drivers/net/ethernet/intel/igbvf/netdev.c     |  6 +-
 drivers/net/ethernet/intel/igc/igc_main.c     | 24 +++-----
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |  8 +--
 .../net/ethernet/intel/ixgbevf/ixgbevf_main.c |  8 +--
 12 files changed, 78 insertions(+), 111 deletions(-)

base-commit: 60d06425e04558be21634a719b5c60c9bd862c34

Signature · 1 line
2.39.3