mbox series

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

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

Message

Jiawen Wu Jan. 3, 2024, 2:08 a.m. UTC
Provide ethtool functions to operate pause param, ring param, coalesce
channel number and msglevel, for driver txgbe/ngbe.

v6 -> v7:
- Rebase on net-next.

v5 -> v6:
- Minor fixes address on Jakub Kicinski's comments.

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  |  82 +++++-
 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    |  82 +++++-
 .../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, 1110 insertions(+), 185 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 4, 2024, 11 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Wed,  3 Jan 2024 10:08:46 +0800 you wrote:
> Provide ethtool functions to operate pause param, ring param, coalesce
> channel number and msglevel, for driver txgbe/ngbe.
> 
> v6 -> v7:
> - Rebase on net-next.
> 
> v5 -> v6:
> - Minor fixes address on Jakub Kicinski's comments.
> 
> [...]

Here is the summary with links:
  - [net-next,v7,1/8] net: libwx: add phylink to libwx
    https://git.kernel.org/netdev/net-next/c/e8e138cf7383
  - [net-next,v7,2/8] net: txgbe: use phylink bits added in libwx
    https://git.kernel.org/netdev/net-next/c/4491c602fe5f
  - [net-next,v7,3/8] net: ngbe: convert phylib to phylink
    https://git.kernel.org/netdev/net-next/c/bc2426d74aa3
  - [net-next,v7,4/8] net: wangxun: add flow control support
    https://git.kernel.org/netdev/net-next/c/2fe2ca09da95
  - [net-next,v7,5/8] net: wangxun: add ethtool_ops for ring parameters
    https://git.kernel.org/netdev/net-next/c/883b5984a5d2
  - [net-next,v7,6/8] net: wangxun: add coalesce options support
    https://git.kernel.org/netdev/net-next/c/4ac2d9dff4b0
  - [net-next,v7,7/8] net: wangxun: add ethtool_ops for channel number
    https://git.kernel.org/netdev/net-next/c/937d46ecc5f9
  - [net-next,v7,8/8] net: wangxun: add ethtool_ops for msglevel
    https://git.kernel.org/netdev/net-next/c/b746dc6bdde5

You are awesome, thank you!