diff options
| author | Cheng Xu <[email protected]> | 2022-08-10 01:43:19 +0000 |
|---|---|---|
| committer | Leon Romanovsky <[email protected]> | 2022-08-16 13:29:12 +0000 |
| commit | 6cd8351c4ede5b3335c7eb13d009c3456e90b6df (patch) | |
| tree | e791477ff5fa6eb7428ccab32ff57d423038e17b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | RDMA/erdma: Using the key in FMR WR instead of MR structure (diff) | |
| download | kernel-6cd8351c4ede5b3335c7eb13d009c3456e90b6df.tar.gz kernel-6cd8351c4ede5b3335c7eb13d009c3456e90b6df.zip | |
RDMA/erdma: Correct the max_qp and max_cq capacities of the device
QP0 in HW is used for CMDQ, and the rest is for RDMA QPs. So the actual
max_qp capacity reported to core should be max_qp (reported by HW) - 1.
So does max_cq.
Fixes: 155055771704 ("RDMA/erdma: Add verbs implementation")
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Cheng Xu <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
