]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: hns3: fixed debugfs tm_qset size
authorHao Lan <lanhao@huawei.com>
Wed, 30 Apr 2025 09:30:51 +0000 (17:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 May 2025 07:44:02 +0000 (09:44 +0200)
commitaccb5a8ef12974a7969023354803c38981e07068
treeddbe96e3f410778d7729897f51677d8c16ecf43b
parentc1b1d3b0d8e4cc9ac172e95db2cb89bac412ddce
net: hns3: fixed debugfs tm_qset size

[ Upstream commit e317aebeefcb3b0c71f2305af3c22871ca6b3833 ]

The size of the tm_qset file of debugfs is limited to 64 KB,
which is too small in the scenario with 1280 qsets.
The size needs to be expanded to 1 MB.

Fixes: 5e69ea7ee2a6 ("net: hns3: refactor the debugfs process")
Signed-off-by: Hao Lan <lanhao@huawei.com>
Signed-off-by: Peiyang Wang <wangpeiyang1@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Link: https://patch.msgid.link/20250430093052.2400464-4-shaojijie@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c