]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: debugfs add new command to query device specifications
authorGuangbin Huang <huangguangbin2@huawei.com>
Tue, 29 Sep 2020 09:32:04 +0000 (17:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2020 20:14:24 +0000 (13:14 -0700)
commit56c21e8e43469621902723765cf2047e8206242a
tree1ac1734aaf00f11fa6ecf00dabcf32f410cbb853
parent8ec107246cbd0af92b4e83891194026044a03c6b
net: hns3: debugfs add new command to query device specifications

In order to query specifications of the device, add a new debugfs
command "dev spec" to do that.

Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c