mbox series

[net-next,v3,0/8] support more link mode for TXGBE

Message ID 20230823061935.415804-1-jiawenwu@trustnetic.com (mailing list archive)
Headers show
Series support more link mode for TXGBE | expand

Message

Jiawen Wu Aug. 23, 2023, 6:19 a.m. UTC
There are three new interface mode support for Wangxun 10Gb NICs:
1000BASE-X, SGMII and XAUI.

Specific configurations are added to XPCS. And external PHY attaching
is added for copper NICs. 

v2 -> v3:
- add device identifier read
- restrict pcs soft reset
- add firmware version warning

v1 -> v2:
- use the string "txgbe_pcs_mdio_bus" directly
- use dev_err() instead of pr_err()
- add device quirk flag
- add more macro definitions to explain PMA registers
- move txgbe_enable_sec_tx_path() to mac_finish()
- implement phylink for copper NICs

Jiawen Wu (8):
  net: pcs: xpcs: add specific vendor supoprt for Wangxun 10Gb NICs
  net: pcs: xpcs: support to switch mode for Wangxun NICs
  net: pcs: xpcs: add 1000BASE-X AN interrupt support
  net: pcs: xpcs: adapt Wangxun NICs for SGMII mode
  net: txgbe: add FW version warning
  net: txgbe: support switching mode to 1000BASE-X and SGMII
  net: txgbe: support copper NIC with external PHY
  net: ngbe: move mdio access registers to libwx

 MAINTAINERS                                   |   1 +
 drivers/net/ethernet/wangxun/Kconfig          |   1 +
 drivers/net/ethernet/wangxun/libwx/wx_type.h  |  28 +++
 drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c |  84 +++----
 drivers/net/ethernet/wangxun/ngbe/ngbe_type.h |  19 --
 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c |  41 +++-
 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.h |   2 +
 .../net/ethernet/wangxun/txgbe/txgbe_main.c   |  56 ++++-
 .../net/ethernet/wangxun/txgbe/txgbe_phy.c    | 176 ++++++++++++++-
 drivers/net/pcs/Makefile                      |   2 +-
 drivers/net/pcs/pcs-xpcs-wx.c                 | 209 ++++++++++++++++++
 drivers/net/pcs/pcs-xpcs.c                    | 112 +++++++++-
 drivers/net/pcs/pcs-xpcs.h                    |  17 ++
 include/linux/pcs/pcs-xpcs.h                  |   8 +
 14 files changed, 661 insertions(+), 95 deletions(-)
 create mode 100644 drivers/net/pcs/pcs-xpcs-wx.c

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 25, 2023, 6:50 a.m. UTC | #1
Hello:

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

On Wed, 23 Aug 2023 14:19:27 +0800 you wrote:
> There are three new interface mode support for Wangxun 10Gb NICs:
> 1000BASE-X, SGMII and XAUI.
> 
> Specific configurations are added to XPCS. And external PHY attaching
> is added for copper NICs.
> 
> v2 -> v3:
> - add device identifier read
> - restrict pcs soft reset
> - add firmware version warning
> 
> [...]

Here is the summary with links:
  - [net-next,v3,1/8] net: pcs: xpcs: add specific vendor supoprt for Wangxun 10Gb NICs
    https://git.kernel.org/netdev/net-next/c/d55595f04dcc
  - [net-next,v3,2/8] net: pcs: xpcs: support to switch mode for Wangxun NICs
    https://git.kernel.org/netdev/net-next/c/f629acc6f210
  - [net-next,v3,3/8] net: pcs: xpcs: add 1000BASE-X AN interrupt support
    https://git.kernel.org/netdev/net-next/c/2deea43f386d
  - [net-next,v3,4/8] net: pcs: xpcs: adapt Wangxun NICs for SGMII mode
    https://git.kernel.org/netdev/net-next/c/2a22b7ae2fa3
  - [net-next,v3,5/8] net: txgbe: add FW version warning
    https://git.kernel.org/netdev/net-next/c/ab928c24e6cd
  - [net-next,v3,6/8] net: txgbe: support switching mode to 1000BASE-X and SGMII
    https://git.kernel.org/netdev/net-next/c/a4414dd13f21
  - [net-next,v3,7/8] net: txgbe: support copper NIC with external PHY
    https://git.kernel.org/netdev/net-next/c/02b2a6f91b90
  - [net-next,v3,8/8] net: ngbe: move mdio access registers to libwx
    https://git.kernel.org/netdev/net-next/c/ad63f7aa585e

You are awesome, thank you!