]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/irdma: Report correct WC errors
authorShiraz Saleem <shiraz.saleem@intel.com>
Wed, 1 Dec 2021 23:15:08 +0000 (17:15 -0600)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 7 Dec 2021 17:53:01 +0000 (13:53 -0400)
commit781abe39cae0d990336a353c93283d881c490f80
tree6a85360cfe561f84feda72e3a70db72c4572a1aa
parent597bd3aeb80edce55edc16583a000dada3aa6c2f
RDMA/irdma: Report correct WC errors

Return IBV_WC_REM_OP_ERR for responder QP errors instead of
IBV_WC_REM_ACCESS_ERR.

Return IBV_WC_LOC_QP_OP_ERR for errors detected on the SQ with bad opcodes

Fixes: af082231803d ("RDMA/irdma: Implement device initialization definitions")
Link: https://lore.kernel.org/r/20211201231509.1930-1-shiraz.saleem@intel.com
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/hw.c