aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/aquantia
diff options
context:
space:
mode:
authorYufeng Mo2021-05-14 11:25:16 +0800
committerDavid S. Miller2021-05-14 15:07:34 -0700
commitd658ff34dd7ff9ccf13c59a7c464b55ca122977d (patch)
treea0e536b59e7ca73adeed315cb868873bfbc9d461 /drivers/net/ethernet/aquantia
parent8ddfd9c46ef49ed75abc745c1f90532a2abb8f01 (diff)
net: hns3: refactor dump loopback of debugfs
Currently, the debugfs command for loopback is implemented by "echo xxxx > cmd", and record the information in dmesg. It's unnecessary and heavy. To improve it, create a single file "loopback" for it, and query it by command "cat loopback", return the result to userspace, rather than record in dmesg. The display style is below: $ cat loopback mac id: 0 app loopback: off serdes serial loopback: off serdes parallel loopback: off Signed-off-by: Yufeng Mo <moyufeng@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aquantia')
0 files changed, 0 insertions, 0 deletions