diff options
| author | Xiao Yang <yangx.jy@cn.fujitsu.com> | 2020-12-16 15:17:54 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-01-21 10:26:15 -0400 |
| commit | efeb973ffce7f3460d814ab91f22cbbc1cce7af8 (patch) | |
| tree | 579f75db5ad05dbb64038f14dcb3ecd26ca3fe71 /tools/perf/scripts/python | |
| parent | RDMA/mlx5: Support dma-buf based userspace memory region (diff) | |
| download | linux-efeb973ffce7f3460d814ab91f22cbbc1cce7af8.tar.gz linux-efeb973ffce7f3460d814ab91f22cbbc1cce7af8.zip | |
RDMA/uverbs: Don't set rcq for a QP if qp_type is IB_QPT_XRC_INI
An INI QP doesn't require receive CQ, the creation flow sets the recv counts
to zero:
if (cmd->qp_type == IB_QPT_XRC_INI) {
cmd->max_recv_wr = 0;
cmd->max_recv_sge = 0;
The new IOCTL path also does not set the rcq, so make things the same.
Link: https://lore.kernel.org/r/20201216071755.149449-1-yangx.jy@cn.fujitsu.com
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
