查CQC

命令功能

查询CQ Context。

命令格式

<tool name> roce_query -i <device name> -m <module> -t <type> -c <cqn>

入参说明

参数

参数说明

取值

<device name>

设备名称。

RoCE设备,例如:hrn3_bond_0。

<module>

SMF ID,保留参数,暂无意义。

范围:0~3。

<type>

操作类型。

cqc。

<cqn>

CQ号。

-

出参说明

项目

描述

roce_query command error(-1): query capture type not set

参数错误

待查询CQ Context数据

操作成功

使用指南

无。

使用实例

根据CQ号查询CQ Context。
1
2
3
4
5
6
hinicadm3 roce_query -i hrn3_0 -t cqc -c 0
************************ CQC(0x0) *************************
0x    7fffb6bb63d0 : 0000040A 00000000 F0000000 60000000
……
0x    7fffb6bb6440 : 00000000 00000000 00000000 00000000
************************ CQC(0x0) *************************