diff options
author | Yuval Basson <ybason@marvell.com> | 2020-07-08 21:55:26 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-07-16 19:57:08 +0200 |
commit | acca72e2b031b9fbb4184511072bd246a0abcebc (patch) | |
tree | 9d3ebf9327d6461bda7230d1137a809e3257b4d4 /fs/debugfs | |
parent | IB/isert: allocate RW ctxs according to max IO size (diff) | |
download | linux-acca72e2b031b9fbb4184511072bd246a0abcebc.tar.xz linux-acca72e2b031b9fbb4184511072bd246a0abcebc.zip |
RDMA/qedr: SRQ's bug fixes
QP's with the same SRQ, working on different CQs and running in parallel
on different CPUs could lead to a race when maintaining the SRQ consumer
count, and leads to FW running out of SRQs. Update the consumer
atomically. Make sure the wqe_prod is updated after the sge_prod due to
FW requirements.
Fixes: 3491c9e799fb ("qedr: Add support for kernel mode SRQ's")
Link: https://lore.kernel.org/r/20200708195526.31040-1-ybason@marvell.com
Signed-off-by: Michal Kalderon <mkalderon@marvell.com>
Signed-off-by: Yuval Basson <ybason@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions