[PATCH net v01 0/5] net: hinic3: Fix netif_queue_set_napi input parameters and code styles

Fan Gong posted 5 patches 2 weeks, 5 days ago
There is a newer version of this series
.../net/ethernet/huawei/hinic3/hinic3_cmdq.c  |  3 ---
.../net/ethernet/huawei/hinic3/hinic3_eqs.c   |  1 -
.../net/ethernet/huawei/hinic3/hinic3_irq.c   | 23 +++++++++++--------
.../net/ethernet/huawei/hinic3/hinic3_lld.c   |  5 ----
.../net/ethernet/huawei/hinic3/hinic3_main.c  |  4 ----
.../net/ethernet/huawei/hinic3/hinic3_mbox.c  |  2 --
.../ethernet/huawei/hinic3/hinic3_nic_cfg.c   |  6 +++--
.../ethernet/huawei/hinic3/hinic3_nic_io.c    |  6 ++++-
.../net/ethernet/huawei/hinic3/hinic3_tx.c    |  7 ------
9 files changed, 23 insertions(+), 34 deletions(-)
[PATCH net v01 0/5] net: hinic3: Fix netif_queue_set_napi input parameters and code styles
Posted by Fan Gong 2 weeks, 5 days ago
This patchset provides netif_queue_set_napi bug fix and serveral code styles
fixes to :

Fix netif_queue_set_napi queue_index parameter passing error.
Remove empty lines between error handling.
Remove redundant defensive code.
Use array_size instead of multiplying.
Sq use SQ_CTXT_PREF_CI_HI to improve readability.

Thanks,
Fan gong

Fan Gong (5):
  hinic3: Fix netif_queue_set_napi queue_index parameter passing error
  hinic3: Fix code Style(remove empty lines between error handling)
  hinic3: Remove redundant defensive code
  hinic3: Use array_size instead of multiplying
  hinic3: RQ use RQ_CTXT_PREF_CI_HI instead of SQ_CTXT_PREF_CI_HI

 .../net/ethernet/huawei/hinic3/hinic3_cmdq.c  |  3 ---
 .../net/ethernet/huawei/hinic3/hinic3_eqs.c   |  1 -
 .../net/ethernet/huawei/hinic3/hinic3_irq.c   | 23 +++++++++++--------
 .../net/ethernet/huawei/hinic3/hinic3_lld.c   |  5 ----
 .../net/ethernet/huawei/hinic3/hinic3_main.c  |  4 ----
 .../net/ethernet/huawei/hinic3/hinic3_mbox.c  |  2 --
 .../ethernet/huawei/hinic3/hinic3_nic_cfg.c   |  6 +++--
 .../ethernet/huawei/hinic3/hinic3_nic_io.c    |  6 ++++-
 .../net/ethernet/huawei/hinic3/hinic3_tx.c    |  7 ------
 9 files changed, 23 insertions(+), 34 deletions(-)


base-commit: 4515ec4ad58a37e70a9e1256c0b993958c9b7497
-- 
2.43.0
Re: [PATCH net v01 0/5] net: hinic3: Fix netif_queue_set_napi input parameters and code styles
Posted by Fan Gong 2 weeks, 5 days ago
Sorry for choosing the wrong branch. We should send to net-next instead of net.
We'll send a new patchset to net-next soon.

Thanks,
Fan gong
Re: [PATCH net v01 0/5] net: hinic3: Fix netif_queue_set_napi input parameters and code styles
Posted by Jakub Kicinski 2 weeks, 5 days ago
On Tue, 20 Jan 2026 20:38:38 +0800 Fan Gong wrote:
> This patchset provides netif_queue_set_napi bug fix and serveral code styles
> fixes to :
> 
> Fix netif_queue_set_napi queue_index parameter passing error.
> Remove empty lines between error handling.
> Remove redundant defensive code.
> Use array_size instead of multiplying.
> Sq use SQ_CTXT_PREF_CI_HI to improve readability.

no reposts within 24h please
https://www.kernel.org/doc/html/next/process/maintainer-netdev.html
-- 
pv-bot: 24h
Re: [PATCH net v01 0/5] net: hinic3: Fix netif_queue_set_napi input parameters and code styles
Posted by Fan Gong 2 weeks, 5 days ago
On 1/21/2026 7:47 AM, Jakub Kicinski wrote:
> On Tue, 20 Jan 2026 20:38:38 +0800 Fan Gong wrote:
>> This patchset provides netif_queue_set_napi bug fix and serveral code styles
>> fixes to :
>>
>> Fix netif_queue_set_napi queue_index parameter passing error.
>> Remove empty lines between error handling.
>> Remove redundant defensive code.
>> Use array_size instead of multiplying.
>> Sq use SQ_CTXT_PREF_CI_HI to improve readability.
>
> no reposts within 24h please
> https://www.kernel.org/doc/html/next/process/maintainer-netdev.html

Sorry for reposting and incorrectly confusing net and net-next.
We will send a new patchset tomorrow and add Fixed tag in patchs for fixes.