From: Fan Gong <gongfan1@huawei.com>
To: Fan Gong <gongfan1@huawei.com>,
Zhu Yikai <zhuyikai1@h-partners.com>, <netdev@vger.kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>
Cc: <linux-kernel@vger.kernel.org>, <linux-doc@vger.kernel.org>,
luosifu <luosifu@huawei.com>, Xin Guo <guoxin09@huawei.com>,
Zhou Shuai <zhoushuai28@huawei.com>, Wu Like <wulike1@huawei.com>,
Shi Jing <shijing34@huawei.com>,
Zheng Jiezhen <zhengjiezhen@h-partners.com>
Subject: [PATCH net-next v03 0/9] net: hinic3: PF initialization
Date: Tue, 10 Mar 2026 09:04:48 +0800 [thread overview]
Message-ID: <cover.1773062356.git.zhuyikai1@h-partners.com> (raw)
This is [2/3] part of hinic3 Ethernet driver second submission.
With this patch hinic3 becomes a complete Ethernet driver with
pf and vf.
Add cmdq detailed-response interfaces.
Add dump interfaces for cmdq, aeq, ceq and mailbox.
Add msg_send_lock for message sending concurrency.
Add PF device support and chip_present_flag to check cards.
Add rx vlan offload support.
Add PF FLR wait and timeout handling.
Add 5 ethtool ops for information of driver and link.
Changes:
PATCH 02 V01: https://lore.kernel.org/netdev/cover.1771916043.git.zhuyikai1@h-partners.com/
* Add err handling after cmdq_sync_cmd_direct_resp (AI review)
* Merge "cmdq_sync_cmd_detail_resp" and "cmdq_sync_cmd_direct_resp" into
"cmdq_sync_cmd_exec" (AI review)
* Add "status == HINIC3_PCIE_LINK_DOWN" in check_hwif_ready_handler to check
card present (AI review)
* Remove unneed GRO feature judgement and move csum_level to hinic3_rx_csum
(AI review)
* Add chip_present_flag judgement in hinic3_check_flr_finish_handler to avoid
meaningless polling (AI review)
* Remove unneed judgement in hinic3_parse_l2nic_res_cap (AI review)
* Add hinic3 prefix to get_cap_from_fw and modify error log (AI review)
* Execute hinic3_set_wq_page_size for both PF and VF (AI review)
* Divide v01 patch into two parts (Jakub Kicinski)
PATCH 02 V02: https://lore.kernel.org/netdev/cover.1772697509.git.zhuyikai1@h-partners.com/
* Add le16_to_cpu for printing buf_in->size (AI review)
* Modify hinic3_cfg_hw_pause error handling (AI review)
PATCH 02 V03:
Fan Gong (9):
hinic3: Add command queue detailed-response interfaces
hinic3: Add Command Queue/Async Event Queue/Complete Event
Queue/Mailbox dump interfaces
hinic3: Add chip_present_flag checks to prevent errors when card is
absent
hinic3: Add RX VLAN offload support
hinic3: Add msg_send_lock for message sending concurrecy
hinic3: Add PF device support and function type validation
hinic3: Add PF FLR wait and timeout handling
hinic3: Add PF/VF capability parsing and parameter validation
hinic3: Add ethtool basic ops
drivers/net/ethernet/huawei/hinic3/Makefile | 1 +
.../net/ethernet/huawei/hinic3/hinic3_cmdq.c | 195 +++++++-
.../net/ethernet/huawei/hinic3/hinic3_cmdq.h | 15 +
.../ethernet/huawei/hinic3/hinic3_common.c | 6 +-
.../ethernet/huawei/hinic3/hinic3_common.h | 1 +
.../net/ethernet/huawei/hinic3/hinic3_csr.h | 2 +
.../net/ethernet/huawei/hinic3/hinic3_eqs.c | 65 +++
.../net/ethernet/huawei/hinic3/hinic3_eqs.h | 5 +
.../ethernet/huawei/hinic3/hinic3_ethtool.c | 425 ++++++++++++++++++
.../ethernet/huawei/hinic3/hinic3_hw_cfg.c | 47 +-
.../ethernet/huawei/hinic3/hinic3_hw_cfg.h | 8 +
.../ethernet/huawei/hinic3/hinic3_hw_comm.c | 69 +++
.../ethernet/huawei/hinic3/hinic3_hw_comm.h | 2 +
.../ethernet/huawei/hinic3/hinic3_hw_intf.h | 12 +
.../net/ethernet/huawei/hinic3/hinic3_hwdev.c | 9 +
.../net/ethernet/huawei/hinic3/hinic3_hwdev.h | 1 +
.../net/ethernet/huawei/hinic3/hinic3_hwif.c | 23 +-
.../net/ethernet/huawei/hinic3/hinic3_lld.c | 1 +
.../net/ethernet/huawei/hinic3/hinic3_main.c | 3 +
.../net/ethernet/huawei/hinic3/hinic3_mbox.c | 39 +-
.../net/ethernet/huawei/hinic3/hinic3_mbox.h | 4 +
.../huawei/hinic3/hinic3_mgmt_interface.h | 16 +-
.../huawei/hinic3/hinic3_netdev_ops.c | 16 +-
.../ethernet/huawei/hinic3/hinic3_nic_cfg.c | 77 ++++
.../ethernet/huawei/hinic3/hinic3_nic_cfg.h | 110 +++++
.../ethernet/huawei/hinic3/hinic3_nic_dev.h | 3 +
.../huawei/hinic3/hinic3_pci_id_tbl.h | 1 +
.../net/ethernet/huawei/hinic3/hinic3_rss.c | 2 +-
.../net/ethernet/huawei/hinic3/hinic3_rx.c | 15 +
.../net/ethernet/huawei/hinic3/hinic3_rx.h | 3 +
30 files changed, 1146 insertions(+), 30 deletions(-)
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c
base-commit: ad3dfa80be765757f612da04318248f6d20e4f71
--
2.43.0
next reply other threads:[~2026-03-10 1:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-10 1:04 Fan Gong [this message]
2026-03-10 1:04 ` [PATCH net-next v03 1/9] hinic3: Add command queue detailed-response interfaces Fan Gong
2026-03-10 1:04 ` [PATCH net-next v03 2/9] hinic3: Add Command Queue/Async Event Queue/Complete Event Queue/Mailbox dump interfaces Fan Gong
2026-03-10 1:04 ` [PATCH net-next v03 3/9] hinic3: Add chip_present_flag checks to prevent errors when card is absent Fan Gong
2026-03-10 1:04 ` [PATCH net-next v03 4/9] hinic3: Add RX VLAN offload support Fan Gong
2026-03-10 1:04 ` [PATCH net-next v03 5/9] hinic3: Add msg_send_lock for message sending concurrecy Fan Gong
2026-03-10 1:04 ` [PATCH net-next v03 6/9] hinic3: Add PF device support and function type validation Fan Gong
2026-03-10 1:04 ` [PATCH net-next v03 7/9] hinic3: Add PF FLR wait and timeout handling Fan Gong
2026-03-10 1:04 ` [PATCH net-next v03 8/9] hinic3: Add PF/VF capability parsing and parameter validation Fan Gong
2026-03-10 1:04 ` [PATCH net-next v03 9/9] hinic3: Add ethtool basic ops Fan Gong
2026-03-12 11:20 ` [PATCH net-next v03 0/9] net: hinic3: PF initialization 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=cover.1773062356.git.zhuyikai1@h-partners.com \
--to=gongfan1@huawei.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=guoxin09@huawei.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luosifu@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=shijing34@huawei.com \
--cc=wulike1@huawei.com \
--cc=zhengjiezhen@h-partners.com \
--cc=zhoushuai28@huawei.com \
--cc=zhuyikai1@h-partners.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.