]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: hns3: extend HCLGE_FD_AD_QID to 11 bits
authorJijie Shao <shaojijie@huawei.com>
Fri, 23 Jan 2026 09:47:55 +0000 (17:47 +0800)
committerSasha Levin <sashal@kernel.org>
Wed, 4 Mar 2026 12:20:29 +0000 (07:20 -0500)
commit0aff2a31a5fd1260b76364a817a54efba412c2e2
tree7dc649b1fd300cb5b565dee0c1f01c51ce3598ce
parentb885585d2234cf4ac17fefc4b1a4d679a0fd8b6e
net: hns3: extend HCLGE_FD_AD_QID to 11 bits

[ Upstream commit 878406d4d6ef85c37fab52074771cc916e532c16 ]

Currently, HCLGE_FD_AD_QID has only 10 bits and supports a
maximum of 1023 queues. However, there are actually scenarios
where the queue_id exceeds 1023.

This patch adds an additional bit to HCLGE_FD_AD_QID to ensure
that queue_id greater than 1023 are supported.

Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Link: https://patch.msgid.link/20260123094756.3718516-2-shaojijie@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c