获取指定RoCE设备指定QPN的RQ信息。
<tool name> roce_dbg -s <type> -i <device name> -q <qpn> [-f]
参数 |
参数说明 |
取值 |
---|---|---|
<device name> |
设备名称。 |
RoCE设备,例如:hrn3_bond_0。 |
<type> |
查询内容类型。 |
|
<qpn> |
qp number,需要查询的QP号。 |
- |
项目 |
描述 |
---|---|
roce_dbg command error(-1): parameter hrn1 of device name must be hrn3_[xx]. |
参数设备名称错误。 |
roce_dbg command error(-1): -q <qpn> | qpn not alive. |
查询的QP不存活。 |
待查询QP Context数据 |
操作成功。 |
带“-f”参数时,将查询结果写入文件“/var/log/cloud_roce/roce_dbg_info_${user_name}/show_info.txt”。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | hinicadm3 roce_dbg -s rq -i hrn3_bond_0 -q 85 rq-info : - dev_name hrn3_bond_0 - qpn 1 - rq_pi_on_chip 0 - rq_pi 513 - rq_load_pi 0 - rq_ci 2 - rq_wqe_prefetch_ci 2 - rq_mtt_prefetch_wqe_ci 2 - rq_base_ci 12 - rc_pi 0 - rc_ci 0 - rc_prefetch_ci 0 |