mbox series

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

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

Message

Jiawen Wu Nov. 22, 2023, 10:22 a.m. UTC
Provide ethtool functions to operate pause param, ring param, coalesce
channel number and msglevel, for driver txgbe/ngbe.

This patch set needs to be applied base on commit 8ba2c459668c, which
was applied to upstream netdev/net.

Jiawen Wu (5):
  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   | 200 +++++++++++++
 .../net/ethernet/wangxun/libwx/wx_ethtool.h   |  18 ++
 drivers/net/ethernet/wangxun/libwx/wx_hw.c    | 280 ++++++++++++++++++
 drivers/net/ethernet/wangxun/libwx/wx_hw.h    |   1 +
 drivers/net/ethernet/wangxun/libwx/wx_lib.c   |  99 ++++++-
 drivers/net/ethernet/wangxun/libwx/wx_lib.h   |   2 +
 drivers/net/ethernet/wangxun/libwx/wx_type.h  |  75 ++++-
 .../net/ethernet/wangxun/ngbe/ngbe_ethtool.c  | 101 +++++++
 drivers/net/ethernet/wangxun/ngbe/ngbe_main.c |  64 ++--
 drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c |   2 +
 drivers/net/ethernet/wangxun/ngbe/ngbe_type.h |   5 +
 .../ethernet/wangxun/txgbe/txgbe_ethtool.c    |  84 ++++++
 .../net/ethernet/wangxun/txgbe/txgbe_main.c   |  47 ++-
 .../net/ethernet/wangxun/txgbe/txgbe_phy.c    |   4 +
 .../net/ethernet/wangxun/txgbe/txgbe_type.h   |   5 +
 15 files changed, 953 insertions(+), 34 deletions(-)