Commit a8ce380b authored by Jian Shen's avatar Jian Shen Committed by Hao Chen
Browse files

net: hns3: add mac tunnel number query

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IBQKQF


CVE: NA

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

The mac tunnel number was missed when query the dev_info
by debugfs, so add it.

Fixes: c929bc2a ("net: hns3: refactor dev capability and dev spec of debugfs")
Signed-off-by: default avatarJian Shen <shenjian15@huawei.com>
Signed-off-by: default avatarHao Chen <chenhao418@huawei.com>
parent c2002cc8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1109,6 +1109,8 @@ hns3_dbg_dev_specs(struct hnae3_handle *h, char *buf, int len, int *pos)
			  dev->watchdog_timeo / HZ);
	*pos += scnprintf(buf + *pos, len - *pos, "Hilink Version: %u\n",
			  dev_specs->hilink_version);
	pos += scnprintf(buf + *pos, len - *pos, "mac tunnel number: %u\n",
			  dev_specs->tnl_num);
	*pos += scnprintf(buf + *pos, len - *pos, "total rx buffer size: %u\n",
			  dev_specs->total_rx_buffer_size);
	*pos += scnprintf(buf + *pos, len - *pos, "min rx buffer size per tc: %u\n",