netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v5 0/4] net: wangxun: support to configure RSS
@ 2025-09-22  9:43 Jiawen Wu
  2025-09-22  9:43 ` [PATCH net-next v5 1/4] net: libwx: support separate RSS configuration for every pool Jiawen Wu
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Jiawen Wu @ 2025-09-22  9:43 UTC (permalink / raw)
  To: netdev, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Simon Horman, Alexander Lobakin
  Cc: Mengyuan Lou, Jiawen Wu

Implement ethtool ops for RSS configuration, and support multiple RSS
for multiple pools.

---
v5:
- add a separate patch for moving rss_field to struct wx
- add a patch to restrict change number of ring
- rename "random_key_size"
- use wx->rss_key[i] instead of *(wx->rss_key + i)

v4:
- rebase on net-next

v3: https://lore.kernel.org/all/20250902032359.9768-1-jiawenwu@trustnetic.com/
- remove the redundant check of .set_rxfh
- add a dependance of the new fix patch

v2: https://lore.kernel.org/all/20250829091752.24436-1-jiawenwu@trustnetic.com/
- embed iterator declarations inside the loop declarations
- replace int with u32 for the number of queues
- add space before '}'
- replace the offset with FIELD_PREP()

v1: https://lore.kernel.org/all/20250827064634.18436-1-jiawenwu@trustnetic.com/
---

Jiawen Wu (4):
  net: libwx: support separate RSS configuration for every pool
  net: libwx: move rss_field to struct wx
  net: wangxun: add RSS reta and rxfh fields support
  net: libwx: restrict change user-set RSS configuration

 .../net/ethernet/wangxun/libwx/wx_ethtool.c   | 142 ++++++++++++++++++
 .../net/ethernet/wangxun/libwx/wx_ethtool.h   |  12 ++
 drivers/net/ethernet/wangxun/libwx/wx_hw.c    | 133 +++++++++++-----
 drivers/net/ethernet/wangxun/libwx/wx_hw.h    |   5 +
 drivers/net/ethernet/wangxun/libwx/wx_lib.c   |  10 +-
 drivers/net/ethernet/wangxun/libwx/wx_sriov.c |  22 ++-
 drivers/net/ethernet/wangxun/libwx/wx_type.h  |  23 +++
 .../net/ethernet/wangxun/ngbe/ngbe_ethtool.c  |   6 +
 .../ethernet/wangxun/txgbe/txgbe_ethtool.c    |   6 +
 9 files changed, 312 insertions(+), 47 deletions(-)

-- 
2.48.1


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

end of thread, other threads:[~2025-09-26  2:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-22  9:43 [PATCH net-next v5 0/4] net: wangxun: support to configure RSS Jiawen Wu
2025-09-22  9:43 ` [PATCH net-next v5 1/4] net: libwx: support separate RSS configuration for every pool Jiawen Wu
2025-09-25  1:30   ` Jakub Kicinski
2025-09-22  9:43 ` [PATCH net-next v5 2/4] net: libwx: move rss_field to struct wx Jiawen Wu
2025-09-22  9:43 ` [PATCH net-next v5 3/4] net: wangxun: add RSS reta and rxfh fields support Jiawen Wu
2025-09-22  9:43 ` [PATCH net-next v5 4/4] net: libwx: restrict change user-set RSS configuration Jiawen Wu
2025-09-25  1:34   ` Jakub Kicinski
2025-09-25  1:36 ` [PATCH net-next v5 0/4] net: wangxun: support to configure RSS Jakub Kicinski
2025-09-25  7:28   ` Jiawen Wu
2025-09-26  2:04     ` Jakub Kicinski
2025-09-26  2:21       ` Jiawen Wu

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).