]> git.proxmox.com Git - mirror_iproute2.git/commit
rdma: Add support to get CQ in raw format
authorMaor Gottlieb <maorg@mellanox.com>
Wed, 24 Jun 2020 10:40:11 +0000 (13:40 +0300)
committerDavid Ahern <dsahern@kernel.org>
Sun, 5 Jul 2020 18:11:33 +0000 (18:11 +0000)
commit94323e96119a4fc3e575d295a9e1e6745281e3bb
tree0209ae201b1b05bf770b2a98822ce4020d12a0bd
parent7c01e0fc9c8df09c98a233af49838f7bff66a11d
rdma: Add support to get CQ in raw format

Add the required support to print CQ data in raw format.
Example:

$rdma res show cq dev mlx5_2 cqn 1 -r -j
[{"ifindex":8,"ifname":"mlx5_2",
"data":[0,4,255,254,0,0,0,0,0,0,0,0,16,28,...]}]

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
rdma/res-cq.c
rdma/res.h