diff options
| author | Yuval Basson <ybason@marvell.com> | 2020-07-08 22:55:26 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-07-16 14:57:08 -0300 |
| commit | acca72e2b031b9fbb4184511072bd246a0abcebc (patch) | |
| tree | 9d3ebf9327d6461bda7230d1137a809e3257b4d4 /net/lapb/lapb_timer.c | |
| parent | 317000b926b07c07e7f6c4032bd3344639f5eb4c (diff) | |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
