mbox series

[net-next,v3,0/8] net: wangxun: Adjust code structure

Message ID 20230106033853.2806007-1-jiawenwu@trustnetic.com (mailing list archive)
Headers show
Series net: wangxun: Adjust code structure | expand

Message

Jiawen Wu Jan. 6, 2023, 3:38 a.m. UTC
Remove useless structs 'txgbe_hw' and 'ngbe_hw' make the codes clear.
And move the same codes which sets MAC address between txgbe and ngbe
to libwx. Further more, rename struct 'wx_hw' to 'wx' and move total
adapter members to wx.

Jiawen Wu (7):
  net: txgbe: Remove structure txgbe_hw
  net: ngbe: Remove structure ngbe_hw
  net: txgbe: Move defines into unified file
  net: ngbe: Move defines into unified file
  net: wangxun: Move MAC address handling to libwx
  net: wangxun: Rename private structure in libwx
  net: txgbe: Remove structure txgbe_adapter

Mengyuan Lou (1):
  net: ngbe: Remove structure ngbe_adapter

 drivers/net/ethernet/wangxun/libwx/wx_hw.c    | 504 +++++++++++-------
 drivers/net/ethernet/wangxun/libwx/wx_hw.h    |  37 +-
 drivers/net/ethernet/wangxun/libwx/wx_type.h  |  72 ++-
 drivers/net/ethernet/wangxun/ngbe/ngbe.h      |  79 ---
 drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c   |  47 +-
 drivers/net/ethernet/wangxun/ngbe/ngbe_hw.h   |   4 +-
 drivers/net/ethernet/wangxun/ngbe/ngbe_main.c | 300 ++++-------
 drivers/net/ethernet/wangxun/ngbe/ngbe_type.h |  68 +--
 drivers/net/ethernet/wangxun/txgbe/txgbe.h    |  43 --
 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c | 116 ++--
 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.h |   6 +-
 .../net/ethernet/wangxun/txgbe/txgbe_main.c   | 335 ++++--------
 .../net/ethernet/wangxun/txgbe/txgbe_type.h   |  14 +-
 13 files changed, 704 insertions(+), 921 deletions(-)
 delete mode 100644 drivers/net/ethernet/wangxun/ngbe/ngbe.h
 delete mode 100644 drivers/net/ethernet/wangxun/txgbe/txgbe.h

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 7, 2023, 3:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Fri,  6 Jan 2023 11:38:45 +0800 you wrote:
> Remove useless structs 'txgbe_hw' and 'ngbe_hw' make the codes clear.
> And move the same codes which sets MAC address between txgbe and ngbe
> to libwx. Further more, rename struct 'wx_hw' to 'wx' and move total
> adapter members to wx.
> 
> Jiawen Wu (7):
>   net: txgbe: Remove structure txgbe_hw
>   net: ngbe: Remove structure ngbe_hw
>   net: txgbe: Move defines into unified file
>   net: ngbe: Move defines into unified file
>   net: wangxun: Move MAC address handling to libwx
>   net: wangxun: Rename private structure in libwx
>   net: txgbe: Remove structure txgbe_adapter
> 
> [...]

Here is the summary with links:
  - [net-next,v3,1/8] net: txgbe: Remove structure txgbe_hw
    https://git.kernel.org/netdev/net-next/c/ce2b4ad5d1b5
  - [net-next,v3,2/8] net: ngbe: Remove structure ngbe_hw
    https://git.kernel.org/netdev/net-next/c/8f727eeca397
  - [net-next,v3,3/8] net: txgbe: Move defines into unified file
    https://git.kernel.org/netdev/net-next/c/524f6b29fb86
  - [net-next,v3,4/8] net: ngbe: Move defines into unified file
    https://git.kernel.org/netdev/net-next/c/92710fe60515
  - [net-next,v3,5/8] net: wangxun: Move MAC address handling to libwx
    https://git.kernel.org/netdev/net-next/c/79625f45ca73
  - [net-next,v3,6/8] net: wangxun: Rename private structure in libwx
    https://git.kernel.org/netdev/net-next/c/9607a3e62645
  - [net-next,v3,7/8] net: txgbe: Remove structure txgbe_adapter
    https://git.kernel.org/netdev/net-next/c/270a71e64012
  - [net-next,v3,8/8] net: ngbe: Remove structure ngbe_adapter
    https://git.kernel.org/netdev/net-next/c/803df55d32ea

You are awesome, thank you!