diff options
author | Prabhakar Kushwaha <pkushwaha@marvell.com> | 2021-08-11 08:16:50 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-08-19 14:24:59 -0300 |
commit | 6ef793cbd4656a7a0637404751f608674692235d (patch) | |
tree | 5dd9916aa0ca7a75a7421b86eb54bf009688fbf0 /include/rdma | |
parent | 4b89451d2c3d488b304306f8b2d1afc7c28b4f78 (diff) | |
download | linux-rpi-6ef793cbd4656a7a0637404751f608674692235d.tar.gz linux-rpi-6ef793cbd4656a7a0637404751f608674692235d.tar.bz2 linux-rpi-6ef793cbd4656a7a0637404751f608674692235d.zip |
RDMA/qedr: Move variables reset to qedr_set_common_qp_params()
Qedr code is tightly coupled with existing both INIT transitions. Here,
during first INIT transition all variables are reset and the RESET state
is checked in post_recv() before any posting.
Commit dc70f7c3ed34 ("RDMA/cma: Remove unnecessary INIT->INIT transition")
exposed this bug.
So moving variables reset to qedr_set_common_qp_params() and also avoid
RESET state check for post_recv().
Link: https://lore.kernel.org/r/20210811051650.14914-1-pkushwaha@marvell.com
Signed-off-by: Michal Kalderon <mkalderon@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions