]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hinic3: Fix netif_queue_set_napi queue_index input parameter error
authorFan Gong <gongfan1@huawei.com>
Thu, 22 Jan 2026 09:41:55 +0000 (17:41 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 22 Jan 2026 15:57:16 +0000 (07:57 -0800)
commitfb2bb2a1ebf7b9514c32b03bb5c3be5d518d437b
tree94b6ab798f2e4c07aa51b7da84550508600ef119
parent9146fe2829907a73464210db1a117103941d94f1
hinic3: Fix netif_queue_set_napi queue_index input parameter error

Incorrectly transmitted interrupt number instead of queue number
when using netif_queue_set_napi. Besides, move this to appropriate
code location to set napi.

Remove redundant netif_stop_subqueue beacuase it is not part of the
hinic3_send_one_skb process.

Fixes: 17fcb3dc12bb ("hinic3: module initialization and tx/rx logic")
Co-developed-by: Zhu Yikai <zhuyikai1@h-partners.com>
Signed-off-by: Zhu Yikai <zhuyikai1@h-partners.com>
Signed-off-by: Fan Gong <gongfan1@huawei.com>
Link: https://patch.msgid.link/7b8e4eb5c53cbd873ee9aaefeb3d9dbbaff52deb.1769070766.git.zhuyikai1@h-partners.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/huawei/hinic3/hinic3_irq.c