]> 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)
commit25b5d6fd6d13b2de3780a0ae247befc43c4576fe
tree6a85360cfe561f84feda72e3a70db72c4572a1aa
parent117697cc935b0ab04ec66274d8e64ccfebd7d0d2
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: 44d9e52977a1 ("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