From: Jiawen Wu <jiawenwu@trustnetic.com>
To: netdev@vger.kernel.org, mengyuanlou@net-swift.com
Cc: Jiawen Wu <jiawenwu@trustnetic.com>
Subject: [PATCH net-next v3 0/8] net: wangxun: Adjust code structure
Date: Fri, 6 Jan 2023 11:38:45 +0800 [thread overview]
Message-ID: <20230106033853.2806007-1-jiawenwu@trustnetic.com> (raw)
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
next reply other threads:[~2023-01-06 3:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-06 3:38 Jiawen Wu [this message]
2023-01-06 3:38 ` [PATCH net-next v3 1/8] net: txgbe: Remove structure txgbe_hw Jiawen Wu
2023-01-06 3:38 ` [PATCH net-next v3 2/8] net: ngbe: Remove structure ngbe_hw Jiawen Wu
2023-01-06 3:38 ` [PATCH net-next v3 3/8] net: txgbe: Move defines into unified file Jiawen Wu
2023-01-06 3:38 ` [PATCH net-next v3 4/8] net: ngbe: " Jiawen Wu
2023-01-06 3:38 ` [PATCH net-next v3 5/8] net: wangxun: Move MAC address handling to libwx Jiawen Wu
2023-01-06 3:38 ` [PATCH net-next v3 6/8] net: wangxun: Rename private structure in libwx Jiawen Wu
2023-01-06 3:38 ` [PATCH net-next v3 7/8] net: txgbe: Remove structure txgbe_adapter Jiawen Wu
2023-01-06 3:38 ` [PATCH net-next v3 8/8] net: ngbe: Remove structure ngbe_adapter Jiawen Wu
2023-01-07 3:50 ` [PATCH net-next v3 0/8] net: wangxun: Adjust code structure patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230106033853.2806007-1-jiawenwu@trustnetic.com \
--to=jiawenwu@trustnetic.com \
--cc=mengyuanlou@net-swift.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).