1
0
Fork 0

RDMA/bnxt_re: Drop L2 async events silently

In some FW versions, RoCE driver also receives an async notification which
was directed to L2 driver.  RoCE driver does not handle this and print a
message to syslog.  Drop these notifications silently.

Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
hifive-unleashed-5.1
Devesh Sharma 2018-10-08 03:27:57 -07:00 committed by Jason Gunthorpe
parent ed51efd2ce
commit f2bd4d096e
1 changed files with 4 additions and 3 deletions

View File

@ -391,9 +391,10 @@ static void bnxt_qplib_service_creq(unsigned long data)
"aeqe:%#x Not handled\n", type);
break;
default:
dev_warn(&rcfw->pdev->dev,
"creqe with op_event = 0x%x not handled\n",
type);
if (type != ASYNC_EVENT_CMPL_TYPE_HWRM_ASYNC_EVENT)
dev_warn(&rcfw->pdev->dev,
"creqe with event 0x%x not handled\n",
type);
break;
}
raw_cons++;