]> git.baikalelectronics.ru Git - kernel.git/commit
hinic: add support to query sq info
authorLuo bin <luobin9@huawei.com>
Fri, 28 Aug 2020 03:37:46 +0000 (11:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2020 19:21:26 +0000 (12:21 -0700)
commit4bde46ad134c3fac947bcc0673cef1ca7cd95668
treeb2bb043b8dcfcfe7997526c8dd2e67d2a79d7c9f
parent39512d48567fcd63a61d0d11cc98b793aa401b12
hinic: add support to query sq info

add debugfs node for querying sq info, for example:
cat /sys/kernel/debug/hinic/0000:15:00.0/SQs/0x0/sq_pi

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/Makefile
drivers/net/ethernet/huawei/hinic/hinic_debugfs.c [new file with mode: 0644]
drivers/net/ethernet/huawei/hinic/hinic_debugfs.h [new file with mode: 0644]
drivers/net/ethernet/huawei/hinic/hinic_dev.h
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
drivers/net/ethernet/huawei/hinic/hinic_hw_io.c
drivers/net/ethernet/huawei/hinic/hinic_hw_io.h
drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h
drivers/net/ethernet/huawei/hinic/hinic_main.c