在 2019/1/25 21:35, Leon Romanovsky 写道: > On Fri, Jan 25, 2019 at 03:48:58PM +0800, Lijun Ou wrote: >> This patch adds support of resource track for hip08 and take >> dumping cq context state used for debugging as an example. >> More resources track supports for hns driver will be added in future. >> This patch depends on the patchset("[PATCH v3 for-next 0/4] SRQ support for hip08") >> and patchset("[PATCH v3 for-next 0/3]Add DCQCN support for hip08") >> >> The output should be as follows. >> $ ./rdma res show cq dev hnseth0 -d >> dev hnseth5 cqe 1023 users 2 poll-ctx WORKQUEUE pid 0 comm [ib_core] state 2 ceq >> n 0 hns_cqn 0 hopnum 1 hns_pi 0 hns_ci 0 coalesce 0 period 0 cnt 0 >> >> Signed-off-by: Tao Tian <tiantao6@xxxxxxxxxx> >> Signed-off-by: Yangyang Li <liyangyang20@xxxxxxxxxx> >> Signed-off-by: chenglang <chenglang@xxxxxxxxxx> >> Signed-off-by: Lijun Ou <oulijun@xxxxxxxxxx> >> --- >> V5->V6: >> 1. resolve the merge conflict. >> 2. add prefix for some common fields of cq context. > 1. Steve asked to add it to RDMAtool and not to kernel part. Will I wait until rdmatools adds this prefix according to steve's advice? > 2. It should be added to ALL driver fields. > > Thanks