netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/5] net: migrate remaining drivers to dedicated _rxfh_context ops
@ 2025-07-07 18:41 Jakub Kicinski
  2025-07-07 18:41 ` [PATCH net-next v3 1/5] eth: otx2: migrate to the *_rxfh_context ops Jakub Kicinski
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Jakub Kicinski @ 2025-07-07 18:41 UTC (permalink / raw)
  To: davem
  Cc: netdev, edumazet, pabeni, andrew+netdev, horms, andrew,
	przemyslaw.kitszel, anthony.l.nguyen, sgoutham, gakula, sbhatta,
	bbhushan2, tariqt, mbloch, leon, gal, ecree.xilinx,
	Jakub Kicinski

Around a year ago Ed added dedicated ops for managing RSS contexts.
This significantly improved the clarity of the driver facing API.
Migrate the remaining 3 drivers and remove the old way of muxing
the RSS context operations via .set_rxfh().

v3:
 - [mlx5] fix compilation
 - [patch 4] remove more branches
 - [patch 5] reformat
v2: https://lore.kernel.org/20250702030606.1776293-1-kuba@kernel.org
 - [mlx5] remove hfunc local var in mlx5e_rxfh_hfunc_check()
 - [mlx5] make the get functions void and add WARN_ON_ONCE()
 - [patch 4] remove rxfh struct in netdev_rss_contexts_free()
v1: https://lore.kernel.org/20250630160953.1093267-1-kuba@kernel.org

Jakub Kicinski (5):
  eth: otx2: migrate to the *_rxfh_context ops
  eth: ice: drop the dead code related to rss_contexts
  eth: mlx5: migrate to the *_rxfh_context ops
  net: ethtool: remove the compat code for _rxfh_context ops
  net: ethtool: reduce indent for _rxfh_context ops

 .../marvell/octeontx2/nic/otx2_common.h       |   8 +-
 .../net/ethernet/mellanox/mlx5/core/en/rss.h  |   3 +-
 .../ethernet/mellanox/mlx5/core/en/rx_res.h   |   7 +-
 include/linux/ethtool.h                       |   4 -
 drivers/net/ethernet/intel/ice/ice_ethtool.c  |  28 +---
 .../marvell/octeontx2/nic/otx2_common.c       |  27 ++--
 .../marvell/octeontx2/nic/otx2_ethtool.c      | 137 +++++++++--------
 .../ethernet/marvell/octeontx2/nic/otx2_pf.c  |   6 +-
 .../ethernet/marvell/octeontx2/nic/otx2_xsk.c |   4 +-
 .../net/ethernet/mellanox/mlx5/core/en/rss.c  |   5 +-
 .../ethernet/mellanox/mlx5/core/en/rx_res.c   |  30 ++--
 .../ethernet/mellanox/mlx5/core/en_ethtool.c  | 145 ++++++++++++++----
 net/core/dev.c                                |  15 +-
 net/ethtool/ioctl.c                           |  93 +++--------
 net/ethtool/rss.c                             |   3 +-
 15 files changed, 250 insertions(+), 265 deletions(-)

-- 
2.50.0


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

end of thread, other threads:[~2025-07-08 19:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-07 18:41 [PATCH net-next v3 0/5] net: migrate remaining drivers to dedicated _rxfh_context ops Jakub Kicinski
2025-07-07 18:41 ` [PATCH net-next v3 1/5] eth: otx2: migrate to the *_rxfh_context ops Jakub Kicinski
2025-07-08 15:55   ` Simon Horman
2025-07-07 18:41 ` [PATCH net-next v3 2/5] eth: ice: drop the dead code related to rss_contexts Jakub Kicinski
2025-07-08 15:56   ` Simon Horman
2025-07-07 18:41 ` [PATCH net-next v3 3/5] eth: mlx5: migrate to the *_rxfh_context ops Jakub Kicinski
2025-07-08 16:03   ` Gal Pressman
2025-07-07 18:41 ` [PATCH net-next v3 4/5] net: ethtool: remove the compat code for _rxfh_context ops Jakub Kicinski
2025-07-07 22:13   ` Edward Cree
2025-07-07 18:41 ` [PATCH net-next v3 5/5] net: ethtool: reduce indent " Jakub Kicinski
2025-07-07 22:13   ` Edward Cree
2025-07-08 19:10 ` [PATCH net-next v3 0/5] net: migrate remaining drivers to dedicated " 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).