[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231214025456.1387175-1-jiawenwu@trustnetic.com>
Date: Thu, 14 Dec 2023 10:54:48 +0800
From: Jiawen Wu <jiawenwu@...stnetic.com>
To: davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
linux@...linux.org.uk,
andrew@...n.ch,
netdev@...r.kernel.org
Cc: mengyuanlou@...-swift.com,
Jiawen Wu <jiawenwu@...stnetic.com>
Subject: [PATCH net-next v5 0/8] Implement more ethtool_ops for Wangxun
Provide ethtool functions to operate pause param, ring param, coalesce
channel number and msglevel, for driver txgbe/ngbe.
v4 -> v5:
- Fix build error reported by kernel test robot.
v3 -> v4:
- Repartition the patches of phylink.
- Handle failure to allocate memory while changing ring parameters.
- Minor fixes about formatting.
v2 -> v3:
- Address comments:
https://lore.kernel.org/all/ZW2loxTO6oKNYLew@shell.armlinux.org.uk/
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 (8):
net: libwx: add phylink to libwx
net: txgbe: use phylink bits added in libwx
net: ngbe: convert phylib to phylink
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 | 236 +++++++++++++++
.../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 | 154 ++++++++--
drivers/net/ethernet/wangxun/libwx/wx_lib.h | 3 +
drivers/net/ethernet/wangxun/libwx/wx_type.h | 94 +++++-
.../net/ethernet/wangxun/ngbe/ngbe_ethtool.c | 85 +++++-
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c | 85 +++---
drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c | 114 ++++----
drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.h | 1 -
drivers/net/ethernet/wangxun/ngbe/ngbe_type.h | 7 +-
.../ethernet/wangxun/txgbe/txgbe_ethtool.c | 85 +++++-
.../net/ethernet/wangxun/txgbe/txgbe_main.c | 62 +++-
.../net/ethernet/wangxun/txgbe/txgbe_phy.c | 57 ++--
.../net/ethernet/wangxun/txgbe/txgbe_type.h | 15 +-
16 files changed, 1116 insertions(+), 185 deletions(-)
--
2.27.0
Powered by blists - more mailing lists