mbox series

[v2,iwl-next,0/3] intel: misc improvements

Message ID 20240223160629.729433-1-maciej.fijalkowski@intel.com (mailing list archive)
Headers show
Series intel: misc improvements | expand

Message

Maciej Fijalkowski Feb. 23, 2024, 4:06 p.m. UTC
Hi,

here are not related improvements to ice and ixgbe. Spotted while
working on other issues. First one takes care redundant Tx disabling on
ifdown. Second one is about rather obvious getting rid of devm_ usage
and last one is plain refactor of stats update.

Thanks!

Przemek, I didn't include your tag, would be good if you could look if I
did what you suggested.

v2:
- remove unused variables after removing devm_ calls [kernel test robot]
- use __free(kfree) decorator [Przemek]


Maciej Fijalkowski (3):
  ice: do not disable Tx queues twice in ice_down()
  ice: avoid unnecessary devm_ usage
  ixgbe: pull out stats update to common routines

 drivers/net/ethernet/intel/ice/ice_common.c   | 34 ++++--------
 drivers/net/ethernet/intel/ice/ice_ethtool.c  | 10 +---
 drivers/net/ethernet/intel/ice/ice_lib.c      | 55 -------------------
 drivers/net/ethernet/intel/ice/ice_lib.h      |  2 -
 drivers/net/ethernet/intel/ice/ice_main.c     | 44 +++++++++++++++
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 54 ++++++++++++++----
 .../ethernet/intel/ixgbe/ixgbe_txrx_common.h  |  7 +++
 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c  | 17 ++----
 8 files changed, 111 insertions(+), 112 deletions(-)