Skip to content

Commit 560951e

Browse files
Hao Lanjfvogel
authored andcommitted
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: 5e69ea7 ("net: hns3: refactor the debugfs process") Signed-off-by: Hao Lan <[email protected]> Signed-off-by: Peiyang Wang <[email protected]> Signed-off-by: Jijie Shao <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Sasha Levin <[email protected]> (cherry picked from commit 6a6d547a7f7ce2c788dd5bafb7def3f6ac55093d) Signed-off-by: Jack Vogel <[email protected]>
1 parent 49721da commit 560951e

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
@@ -60,7 +60,7 @@ static struct hns3_dbg_cmd_info hns3_dbg_cmd[] = {
6060
.name = "tm_qset",
6161
.cmd = HNAE3_DBG_CMD_TM_QSET,
6262
.dentry = HNS3_DBG_DENTRY_TM,
63-
.buf_len = HNS3_DBG_READ_LEN,
63+
.buf_len = HNS3_DBG_READ_LEN_1MB,
6464
.init = hns3_dbg_common_file_init,
6565
},
6666
{

0 commit comments

Comments
 (0)