Commit 0b24e733 authored by wenglianfa's avatar wenglianfa Committed by shiyongbang
Browse files

RDMA/hns: Append SCC context to the raw dump of QP Resource

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



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

QP and SCC are bound one by one. Therefore, QPC and SCCC can
be combined for output. When the SCC output is disabled, the
QPC output is normal, and the SCCC output is all 0.

The 512-byte QP context is appended with 64-byte SCC context.

Example:
$rdma res show qp -jpr
[ {
        "ifindex": 0,
        "ifname": "hns_0",
	"data": [ 67,0,0,0... 512bytes
		  4,0,2... 64bytes]
    },...
    } ]

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