diff options
author | Mustafa Ismail <mustafa.ismail@intel.com> | 2022-07-06 02:08:11 +0300 |
---|---|---|
committer | Leon Romanovsky <leonro@nvidia.com> | 2022-07-18 10:39:43 +0300 |
commit | 36a26d123919997c113ac0182f926b21ccc85855 (patch) | |
tree | 38e842f91cd68ce96afe2c1e59e3f6dd758eb9ce /drivers/infiniband/hw/irdma/utils.c | |
parent | 26bf0190329891a034b69b72f98ca4c4aad3f66b (diff) | |
download | linux-36a26d123919997c113ac0182f926b21ccc85855.tar.xz |
RDMA/irdma: Make CQP invalid state error non-critical
The invalid state error returned by the Control Queue-Pair (CQP) is not a
critical error.
Add it to the irdma_noncrit_err_list and drop reporting it as device error
message.
Link: https://lore.kernel.org/r/20220705230815.265-4-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: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/irdma/utils.c')
-rw-r--r-- | drivers/infiniband/hw/irdma/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/irdma/utils.c b/drivers/infiniband/hw/irdma/utils.c index ab3c5208a123..fdf4cc88cb91 100644 --- a/drivers/infiniband/hw/irdma/utils.c +++ b/drivers/infiniband/hw/irdma/utils.c @@ -652,6 +652,7 @@ static const char *const irdma_cqp_cmd_names[IRDMA_MAX_CQP_OPS] = { }; static const struct irdma_cqp_err_info irdma_noncrit_err_list[] = { + {0xffff, 0x8002, "Invalid State"}, {0xffff, 0x8006, "Flush No Wqe Pending"}, {0xffff, 0x8007, "Modify QP Bad Close"}, {0xffff, 0x8009, "LLP Closed"}, |