diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2021-12-06 23:13:14 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-12-07 21:59:26 +0300 |
commit | b1a4da64bfc189510e08df1ccb1c589e667dc7a3 (patch) | |
tree | f19d353e724548f23bab0a2051dbbd933de91332 /drivers/infiniband/hw/hns | |
parent | 3fe6d228a0b45a205849daa110b908e8a4dbed80 (diff) | |
download | linux-b1a4da64bfc189510e08df1ccb1c589e667dc7a3.tar.xz |
RDMA/qedr: Fix reporting max_{send/recv}_wr attrs
Fix the wrongly reported max_send_wr and max_recv_wr attributes for user
QP by making sure to save their valuse on QP creation, so when query QP is
called the attributes will be reported correctly.
Fixes: cecbcddf6461 ("qedr: Add support for QP verbs")
Link: https://lore.kernel.org/r/20211206201314.124947-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Acked-by: Michal KalderonĀ <michal.kalderon@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/hns')
0 files changed, 0 insertions, 0 deletions