On Mon, Oct 9, 2023 at 11:40 AM Leon Romanovsky <leon@xxxxxxxxxx> wrote: > > On Wed, Oct 04, 2023 at 10:31:28PM -0700, Selvin Xavier wrote: > > From: Chandramohan Akula <chandramohan.akula@xxxxxxxxxxxx> > > > > Report QP, SRQ and CQ async events and errors. > > > > Signed-off-by: Chandramohan Akula <chandramohan.akula@xxxxxxxxxxxx> > > Signed-off-by: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx> > > --- > > drivers/infiniband/hw/bnxt_re/main.c | 165 +++++++++++++++++++++++++++++++++-- > > 1 file changed, 156 insertions(+), 9 deletions(-) > > <...> > > > + if (err_event->res_err_state_reason || err_event->req_err_state_reason) { > > + dev_err_once(rdev_to_dev(qp->rdev), > > + "%s %s qp_id: %d cons (%d %d) req (%d %d) res (%d %d)\n", > > + __func__, rdma_is_kernel_res(&qp->ib_qp.res) ? "kernel" : "user", > > + qp->qplib_qp.id, > > + err_event->sq_cons_idx, > > + err_event->rq_cons_idx, > > + err_event->req_slow_path_state, > > + err_event->req_err_state_reason, > > + err_event->res_slow_path_state, > > + err_event->res_err_state_reason); > > <...> > > > + dev_err_once(rdev_to_dev(cq->rdev), > > + "%s err reason %d\n", __func__, cqerr->cq_err_reason); > > + cq->ib_cq.event_handler(&ibevent, cq->ib_cq.cq_context); > > ibdev_*() prints please. will do > > Thanks
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature