[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230106033853.2806007-1-jiawenwu@trustnetic.com>
Date: Fri, 6 Jan 2023 11:38:45 +0800
From: Jiawen Wu <jiawenwu@...stnetic.com>
To: netdev@...r.kernel.org, mengyuanlou@...-swift.com
Cc: Jiawen Wu <jiawenwu@...stnetic.com>
Subject: [PATCH net-next v3 0/8] net: wangxun: Adjust code structure
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
--
2.27.0
Powered by blists - more mailing lists