diff options
| author | Jack Wang <[email protected]> | 2020-12-17 15:19:01 +0100 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-01-15 15:25:08 -0400 |
| commit | f47e4e3e71724f625958b0059f6c8ac5d44d27ef (patch) | |
| tree | b782e0578c05957124fb872fae611906b5f8c726 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f991fdac813f1598a9bb17b602ce04812ba9148c (diff) | |
RDMA/rtrs-clt: Set mininum limit when create QP
Currently rtrs when create_qp use a coarse numbers (bigger in general),
which leads to hardware create more resources which only waste memory
with no benefits.
- SERVICE con,
For max_send_wr/max_recv_wr, it's 2 times SERVICE_CON_QUEUE_DEPTH + 2
- IO con
For max_send_wr/max_recv_wr, it's sess->queue_depth * 3 + 1
Fixes: 6a98d71daea1 ("RDMA/rtrs: client: main functionality")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jack Wang <[email protected]>
Reviewed-by: Md Haris Iqbal <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions