| RDMA-RESOURCE(8) | Linux | RDMA-RESOURCE(8) |
NAME
rdma-resource - rdma resource configuration
SYNOPSIS
rdma [ OPTIONS ] RESOURCE { COMMAND | help }
RESOURCE := { cm_id | cq | mr | pd | qp | ctx | srq | frmr_pools }
OPTIONS := { -j[son] | -d[etails] }
rdma resource show [ DEV/PORT_INDEX ]
rdma resource set frmr_pools dev DEV aging AGING_PERIOD
rdma resource set frmr_pools dev DEV pinned POOL_KEY PINNED_VALUE
rdma resource help
DESCRIPTION
rdma resource show - display rdma resource tracking information
DEV/PORT_INDEX - specifies the RDMA link to show. If this argument is omitted all links are listed.
rdma resource set - configure resource related parameters
DEV - specifies the RDMA device to configure.
AGING_PERIOD - specifies the aging period in seconds for unused FRMR handles. Handles unused for this period will be freed.
POOL_KEY - specifies the pool key that identifies a specific FRMR pool. The key is a colon-separated list of hexadecimal fields in the format vendor_key:num_dma_blocks:access_flags:ats.
PINNED_VALUE - specifies the pinned value for the FRMR pool. A non-zero value pins handles to the pool, preventing them from being freed by the aging mechanism.
EXAMPLES
rdma resource show
rdma resource show mlx5_2
rdma res show qp link mlx5_4
rdma res show qp link mlx5_4/1
rdma res show qp link mlx5_4/0
rdma res show qp link mlx5_4/-
rdma res show qp link mlx5_4/- -d
rdma res show qp link mlx5_4/- -dd
rdma res show qp link mlx5_4/1 lqpn 0-6
rdma res show qp link mlx5_4/1 lqpn 6 -r
rdma resource show cm_id dst-port 7174
rdma resource show cm_id src-addr 172.16.0.100
rdma resource show cq pid 30489
rdma resource show ctx ctxn 1
rdma resource show srq lqpn 5-7
rdma resource show frmr_pools ats 1
rdma resource set frmr_pools dev rocep8s0f0 aging 120
rdma resource set frmr_pools dev rocep8s0f0 pinned 0:1000:0:0 25000
SEE ALSO
AUTHOR
Leon Romanovsky <leonro@mellanox.com>
| 26 Dec 2017 | iproute2 |