Commit 4e0060ed authored by Yonglong Liu's avatar Yonglong Liu Committed by Yang Yingliang
Browse files

net: hns3: fix buffer length not enough problem in debugfs



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

----------------------------

In hns3_dump_tx_bd_info(), some item have not enough space to
show the whole value.

In hclge_dbg_dump_mac_uc(), the max uc mac list is 3K, the max
memory of dumping uc mac is about 120KB, but now just give
64KB.

In hclge_dbg_dump_reg_tqp(), the max tqp number is 1K, the max
memory of dumping tqp regs is about 100KB, but not just give
64KB.

This patch fix them.

Signed-off-by: default avatarYonglong Liu <liuyonglong@huawei.com>
Reviewed-by: default avatarli yongxin <liyongxin1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 05cda0b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment