Skip to content

Commit e317aeb

Browse files
Hao Lankuba-moo
authored andcommitted
net: hns3: fixed debugfs tm_qset size
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: 5e69ea7 ("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>
1 parent 8e6b9c6 commit e317aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static struct hns3_dbg_cmd_info hns3_dbg_cmd[] = {
6161
.name = "tm_qset",
6262
.cmd = HNAE3_DBG_CMD_TM_QSET,
6363
.dentry = HNS3_DBG_DENTRY_TM,
64-
.buf_len = HNS3_DBG_READ_LEN,
64+
.buf_len = HNS3_DBG_READ_LEN_1MB,
6565
.init = hns3_dbg_common_file_init,
6666
},
6767
{

0 commit comments

Comments
 (0)