summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ionic/ionic_admin.c
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2025-08-27 18:25:44 +0300
committerLeon Romanovsky <leon@kernel.org>2025-09-18 11:48:46 +0300
commit42f1d099093bc2ad6e6b1d631e1fd9bdbacdddb1 (patch)
tree8dfeff1382aade658ab038c4f389d9ef13b4deb9 /drivers/infiniband/hw/ionic/ionic_admin.c
parenta24a29c8747f75c4b6967e689c2ca82445ccc9b1 (diff)
downloadlinux-42f1d099093bc2ad6e6b1d631e1fd9bdbacdddb1.tar.xz
RDMA/irdma: Extend CQE Error and Flush Handling for GEN3 Devices
Enhance the CQE error and flush handling specific to GEN3 devices. Unlike GEN1/2 devices, which depend on software to generate completions in error, GEN3 devices leverage firmware to generate CQEs in error for all WQEs posted after a QP moves to an error state. Key changes include: - Updating the CQ poll logic to properly advance the CQ head in the event of a flush CQE. - Updating the flush logic for GEN3 to pass error WQE idx for SQ on an AE to flush out unprocessed WQEs in error. - Isolating the decoding of AE to flush codes into a separate routine irdma_ae_to_qp_err_code. This routine can now be leveraged to flush error CQEs on an AE and when error CQE is received for SRQ. Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com> Link: https://patch.msgid.link/20250827152545.2056-16-tatyana.e.nikolova@intel.com Tested-by: Jacob Moroni <jmoroni@google.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_admin.c')
0 files changed, 0 insertions, 0 deletions