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

add debugfs node for querying rq info, for example:
cat /sys/kernel/debug/hinic/0000:15:00.0/RQs/0x0/rq_hw_pi

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_debugfs.c
drivers/net/ethernet/huawei/hinic/hinic_debugfs.h
drivers/net/ethernet/huawei/hinic/hinic_dev.h
drivers/net/ethernet/huawei/hinic/hinic_hw_io.c
drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h
drivers/net/ethernet/huawei/hinic/hinic_main.c