aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hns/hns_roce_hw_v2.h
diff options
context:
space:
mode:
authorMustafa Ismail <mustafa.ismail@intel.com>2022-04-25 13:16:24 -0500
committerJason Gunthorpe <jgg@nvidia.com>2022-05-11 15:58:40 -0300
commit81091d7696ae71627ff80bbf2c6b0986d2c1cce3 (patch)
treee949b113ef7aa37039994a3242c57576709a8712 /drivers/infiniband/hw/hns/hns_roce_hw_v2.h
parentRDMA/siw: Enable siw on tunnel devices (diff)
downloadlinux-dev-81091d7696ae71627ff80bbf2c6b0986d2c1cce3.tar.xz
linux-dev-81091d7696ae71627ff80bbf2c6b0986d2c1cce3.zip
RDMA/irdma: Add SW mechanism to generate completions on error
HW flushes after QP in error state is not reliable. This can lead to application hang waiting on a completion for outstanding WRs. Implement a SW mechanism to generate completions for any outstanding WR's after the QP is modified to error. This is accomplished by starting a delayed worker after the QP is modified to error and the HW flush is performed. The worker will generate completions that will be returned to the application when it polls the CQ. This mechanism only applies to Kernel applications. Link: https://lore.kernel.org/r/20220425181624.1617-1-shiraz.saleem@intel.com Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions