mbox series

[net-next,v2,0/7] Implement more ethtool_ops for Wangxun

Message ID 20231204091905.1186255-1-jiawenwu@trustnetic.com (mailing list archive)
Headers show
Series Implement more ethtool_ops for Wangxun | expand

Message

Jiawen Wu Dec. 4, 2023, 9:18 a.m. UTC
Provide ethtool functions to operate pause param, ring param, coalesce
channel number and msglevel, for driver txgbe/ngbe.

v1 -> v2:
- Add phylink support for ngbe.
- Fix issue on interrupts when queue number is changed.
- Add more marco defines.
- Fix return codes.

Jiawen Wu (7):
  net: ngbe: implement phylink to handle PHY device
  net: wangxun: unified phylink implementation in libwx
  net: wangxun: add flow control support
  net: wangxun: add ethtool_ops for ring parameters
  net: wangxun: add coalesce options support
  net: wangxun: add ethtool_ops for channel number
  net: wangxun: add ethtool_ops for msglevel

 .../net/ethernet/wangxun/libwx/wx_ethtool.c   | 245 ++++++++++++++++
 .../net/ethernet/wangxun/libwx/wx_ethtool.h   |  27 ++
 drivers/net/ethernet/wangxun/libwx/wx_hw.c    | 275 +++++++++++++++++-
 drivers/net/ethernet/wangxun/libwx/wx_hw.h    |   1 +
 drivers/net/ethernet/wangxun/libwx/wx_lib.c   | 164 +++++++++--
 drivers/net/ethernet/wangxun/libwx/wx_lib.h   |   2 +
 drivers/net/ethernet/wangxun/libwx/wx_type.h  |  87 +++++-
 .../net/ethernet/wangxun/ngbe/ngbe_ethtool.c  |  77 ++++-
 drivers/net/ethernet/wangxun/ngbe/ngbe_main.c |  94 +++---
 drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c | 129 ++++----
 drivers/net/ethernet/wangxun/ngbe/ngbe_type.h |   7 +-
 .../ethernet/wangxun/txgbe/txgbe_ethtool.c    |  77 ++++-
 .../net/ethernet/wangxun/txgbe/txgbe_main.c   |  62 +++-
 .../net/ethernet/wangxun/txgbe/txgbe_phy.c    |  41 ++-
 .../net/ethernet/wangxun/txgbe/txgbe_type.h   |  10 +-
 15 files changed, 1126 insertions(+), 172 deletions(-)