Commit 0355dea3 authored by wenglianfa's avatar wenglianfa Committed by Juan Zhou
Browse files

RDMA/hns: Support SRQ Context tracing by debugfs

driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8GHD9



--------------------------------------------------------------------------

Support SRQ Context tracing by debugfs

Example:

$echo 0 > sys/kernel/debug/hns_roce/hns_0/srq/srqn
$cat sys/kernel/debug/hns_roce/hns_0/srq/srqn
0
$cat  sys/kernel/debug/hns_roce/hns_0/srq/srqc
[{
	"srqn": 0,
	"ifindex": 0,
	"ifname": "hns_0",
	"data": [ 149,0,0,0,0,0,0,0,0,0,0,0,20,84,
		  21,82,0,254,61,31,0,0,0,0,3,0,0,
		  1,0,10,62,31,0,0,0,0,6,159,15,0,
		  0,0,64,5,0,0,0,0,0,0,0,0,0,0,0,9,
		  0,0,0,0,0,0,0,0 ]
}]

Signed-off-by: default avatarwenglianfa <wenglianfa@huawei.com>
parent b6643496
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment