]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 27 Jan 2026 12:32:32 +0000 (13:32 +0100)
commit878406d4d6ef85c37fab52074771cc916e532c16
tree75242cdca6f357e16c53896d18b7d9d7dabdcc20
parent4c17c01c317a432382393b34cc9f65bf4ca310aa
net: hns3: extend HCLGE_FD_AD_QID to 11 bits

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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c