mbox series

[net-next,v6,0/3] net: WangXun txgbe ethernet driver

Message ID 20221027061116.683903-1-jiawenwu@trustnetic.com (mailing list archive)
Headers show
Series net: WangXun txgbe ethernet driver | expand

Message

Jiawen Wu Oct. 27, 2022, 6:11 a.m. UTC
This patch series adds support for WangXun 10 gigabit NIC, to initialize
hardware, set mac address, and register netdev.

Change log:
v6: address comments:
    Jakub Kicinski: check with scripts/kernel-doc
v5: address comments:
    Jakub Kicinski: clean build with W=1 C=1
v4: address comments:
    Andrew Lunn: https://lore.kernel.org/all/YzXROBtztWopeeaA@lunn.ch/
v3: address comments:
    Andrew Lunn: remove hw function ops, reorder functions, use BIT(n)
                 for register bit offset, move the same code of txgbe
                 and ngbe to libwx
v2: address comments:
    Andrew Lunn: https://lore.kernel.org/netdev/YvRhld5rD%2FxgITEg@lunn.ch/

Jiawen Wu (3):
  net: txgbe: Store PCI info
  net: txgbe: Reset hardware
  net: txgbe: Set MAC address and register netdev

 drivers/net/ethernet/wangxun/Kconfig          |   6 +
 drivers/net/ethernet/wangxun/Makefile         |   1 +
 drivers/net/ethernet/wangxun/libwx/Makefile   |   7 +
 drivers/net/ethernet/wangxun/libwx/wx_hw.c    | 475 ++++++++++++++++++
 drivers/net/ethernet/wangxun/libwx/wx_hw.h    |  18 +
 drivers/net/ethernet/wangxun/libwx/wx_type.h  | 237 +++++++++
 drivers/net/ethernet/wangxun/txgbe/Makefile   |   3 +-
 drivers/net/ethernet/wangxun/txgbe/txgbe.h    |  22 +-
 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c |  99 ++++
 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.h |   9 +
 .../net/ethernet/wangxun/txgbe/txgbe_main.c   | 382 +++++++++++++-
 .../net/ethernet/wangxun/txgbe/txgbe_type.h   |  33 +-
 12 files changed, 1273 insertions(+), 19 deletions(-)
 create mode 100644 drivers/net/ethernet/wangxun/libwx/Makefile
 create mode 100644 drivers/net/ethernet/wangxun/libwx/wx_hw.c
 create mode 100644 drivers/net/ethernet/wangxun/libwx/wx_hw.h
 create mode 100644 drivers/net/ethernet/wangxun/libwx/wx_type.h
 create mode 100644 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c
 create mode 100644 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.h

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 28, 2022, 10:40 a.m. UTC | #1
Hello:

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

On Thu, 27 Oct 2022 14:11:13 +0800 you wrote:
> This patch series adds support for WangXun 10 gigabit NIC, to initialize
> hardware, set mac address, and register netdev.
> 
> Change log:
> v6: address comments:
>     Jakub Kicinski: check with scripts/kernel-doc
> v5: address comments:
>     Jakub Kicinski: clean build with W=1 C=1
> v4: address comments:
>     Andrew Lunn: https://lore.kernel.org/all/YzXROBtztWopeeaA@lunn.ch/
> v3: address comments:
>     Andrew Lunn: remove hw function ops, reorder functions, use BIT(n)
>                  for register bit offset, move the same code of txgbe
>                  and ngbe to libwx
> v2: address comments:
>     Andrew Lunn: https://lore.kernel.org/netdev/YvRhld5rD%2FxgITEg@lunn.ch/
> 
> [...]

Here is the summary with links:
  - [net-next,v6,1/3] net: txgbe: Store PCI info
    https://git.kernel.org/netdev/net-next/c/a34b3e6ed8fb
  - [net-next,v6,2/3] net: txgbe: Reset hardware
    https://git.kernel.org/netdev/net-next/c/b08012568ebb
  - [net-next,v6,3/3] net: txgbe: Set MAC address and register netdev
    https://git.kernel.org/netdev/net-next/c/d21d2c7f586c

You are awesome, thank you!