[PATCH net-next v03 0/4] net: hinic3: Bugfix for later patch-set.

From: Fan Gong

Date: Thu Nov 12 2026 - 02:07:24 EST


These issues were discovered by LLM Gemini-4-Argon and Claude-Opus-5-5.
At the same time, LLM recommended submitting an independent patch.
These issues were not actually triggered. Based on theoretical analysis
and consideration of actual risks, this patch is used to fix the issues.

Testing:
These patch-set have been tested on hinic3 hardware.

V03:
* Clenaup checkpatchs in file hinic3_netdev_ops.c.(AI Review)
* nic_svc_cap->max_sqs is already in the range [1, 256].(AI Review)

V02: https://lore.kernel.org/all/179437094656.2168702.7238120951030130700@xxxxxxxxxx/
* Rewrite the commit message and provide an explanation for each
patch.(AI Review)
* Split checkpatchs in to a separate patch.(AI Review)
* Fix the failure of napi_alloc_skb() in recv_one_pkt().(AI Review)
* READ_ONCE()/WRITE_ONCE() only stop the compiler from tearing or caching
the access. They don't order anything against the work item, and they
can't stop it from running. So, remove READ_ONCE() and WRITE_ONCE() on
nic_dev->adaptive_rx_coal.(AI Review)

V01: https://lore.kernel.org/netdev/cover.1793946318.git.gongfan1@xxxxxxxxxx/

Fan Gong (4):
hinic3: Solve an stall issue in hinic3_rx_poll()
hinic3: Avoid concurrent updates on 32-bit systems.
hinic3: fix some checkpatchs.
hinic3: Ensure that the value of max_qps is not changed

.../huawei/hinic3/hinic3_netdev_ops.c | 76 ++++++++-----------
.../net/ethernet/huawei/hinic3/hinic3_rss.c | 9 +--
.../net/ethernet/huawei/hinic3/hinic3_rx.c | 11 ++-
3 files changed, 44 insertions(+), 52 deletions(-)


base-commit: 73022f605c447f31610b94ed4a983d2b4bf2c721
--
2.43.0