Skip to content

Commit 36a26d1

Browse files
mustafakismailrleon
authored andcommitted
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>
1 parent 26bf019 commit 36a26d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/infiniband/hw/irdma/utils.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@ static const char *const irdma_cqp_cmd_names[IRDMA_MAX_CQP_OPS] = {
652652
};
653653

654654
static const struct irdma_cqp_err_info irdma_noncrit_err_list[] = {
655+
{0xffff, 0x8002, "Invalid State"},
655656
{0xffff, 0x8006, "Flush No Wqe Pending"},
656657
{0xffff, 0x8007, "Modify QP Bad Close"},
657658
{0xffff, 0x8009, "LLP Closed"},

0 commit comments

Comments
 (0)