aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorSindhu-Devale <[email protected]>2022-09-06 17:32:42 -0500
committerLeon Romanovsky <[email protected]>2022-09-07 11:22:18 +0300
commitdcb23bbb1de7e009875fdfac2b8a9808a9319cc6 (patch)
tree30f3876af67f9cd922e039adcc31d326591e4587 /drivers/fpga/fpga-mgr.c
parent6b227bd32db778eddc6f3b22cc72a28dda0f2272 (diff)
RDMA/irdma: Return correct WC error for bind operation failure
When a QP and a MR on a local host are in different PDs, the HW generates an asynchronous event (AE). The same AE is generated when a QP and a MW are in different PDs during a bind operation. Return the more appropriate IBV_WC_MW_BIND_ERR for the latter case by checking the OP type from the CQE in error. Fixes: 551c46edc769 ("RDMA/irdma: Add user/kernel shared libraries") Signed-off-by: Sindhu-Devale <[email protected]> Signed-off-by: Shiraz Saleem <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions