Searched hist:d2f737cf21b87d4239987da69a3b14730c6a57ad (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_debugfs.h | diff d2f737cf21b87d4239987da69a3b14730c6a57ad Wed May 19 21:21:32 CDT 2021 Hao Chen <chenhao288@hisilicon.com> net: hns3: refactor queue map of debugfs
Currently, the debugfs command for queue map is implemented by "echo xxxx > cmd", and record the information in dmesg. It's unnecessary and heavy. To improve it, create a single file "queue_map" for it, and query it by command "cat queue_map", return the result to userspace, rather than record in dmesg.
The display style is below: $ cat queue_map local_queue_id global_queue_id vector_id 0 0 341
Signed-off-by: Hao Chen <chenhao288@hisilicon.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | hns3_debugfs.c | diff d2f737cf21b87d4239987da69a3b14730c6a57ad Wed May 19 21:21:32 CDT 2021 Hao Chen <chenhao288@hisilicon.com> net: hns3: refactor queue map of debugfs
Currently, the debugfs command for queue map is implemented by "echo xxxx > cmd", and record the information in dmesg. It's unnecessary and heavy. To improve it, create a single file "queue_map" for it, and query it by command "cat queue_map", return the result to userspace, rather than record in dmesg.
The display style is below: $ cat queue_map local_queue_id global_queue_id vector_id 0 0 341
Signed-off-by: Hao Chen <chenhao288@hisilicon.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | hnae3.h | diff d2f737cf21b87d4239987da69a3b14730c6a57ad Wed May 19 21:21:32 CDT 2021 Hao Chen <chenhao288@hisilicon.com> net: hns3: refactor queue map of debugfs
Currently, the debugfs command for queue map is implemented by "echo xxxx > cmd", and record the information in dmesg. It's unnecessary and heavy. To improve it, create a single file "queue_map" for it, and query it by command "cat queue_map", return the result to userspace, rather than record in dmesg.
The display style is below: $ cat queue_map local_queue_id global_queue_id vector_id 0 0 341
Signed-off-by: Hao Chen <chenhao288@hisilicon.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|