On Tue, Feb 27, 2018 at 08:07:17AM -0800, Steve Wise wrote: > Sample output: > > Without CAP_NET_ADMIN: > > $ rdma resource show mr mrlen 65536 > link mlx4_0/- mrlen 65536 pid 0 comm [nvme_rdma] > link cxgb4_0/- mrlen 65536 pid 0 comm [nvme_rdma] > > With CAP_NET_ADMIN: > > # rdma resource show mr mrlen 65536 > link mlx4_0/- rkey 0x12702 lkey 0x12702 iova 0x85724a000 mrlen 65536 pid 0 comm [nvme_rdma] > link cxgb4_0/- rkey 0x68fe4e9 lkey 0x68fe4e9 iova 0x835b91000 mrlen 65536 pid 0 comm [nvme_rdma] > > Signed-off-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx> > --- > include/json_writer.h | 2 + > lib/json_writer.c | 11 +++++ > rdma/res.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++ > rdma/utils.c | 6 +++ > 4 files changed, 144 insertions(+) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature