On Tue, Feb 27, 2018 at 08:07:23AM -0800, Steve Wise wrote: > Sample output: > > Without CAP_NET_ADMIN capability: > > link mlx4_0/- users 0 pid 0 comm [ib_srpt] > link mlx4_0/- users 0 pid 0 comm [ib_srp] > link mlx4_0/- users 1 pid 0 comm [ib_core] > link cxgb4_0/- users 0 pid 0 comm [ib_srp] > > With CAP_NET_ADMIN capability: > link mlx4_0/- local_dma_lkey 0x8000 users 0 pid 0 comm [ib_srpt] > link mlx4_0/- local_dma_lkey 0x8000 users 0 pid 0 comm [ib_srp] > link mlx4_0/- local_dma_lkey 0x8000 users 1 pid 0 comm [ib_core] > link cxgb4_0/- local_dma_lkey 0x0 users 0 pid 0 comm [ib_srp] > > Signed-off-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx> > --- > rdma/res.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 92 insertions(+) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature