IB/mthca: Warning about event for non-existent QPs should show event type
Events received for non-existent QPs should generate a warning that includes the event type that was received. Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il> Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:
parent
6887a4131d
commit
9bbeb6663e
|
@ -247,7 +247,8 @@ void mthca_qp_event(struct mthca_dev *dev, u32 qpn,
|
|||
spin_unlock(&dev->qp_table.lock);
|
||||
|
||||
if (!qp) {
|
||||
mthca_warn(dev, "Async event for bogus QP %08x\n", qpn);
|
||||
mthca_warn(dev, "Async event %d for bogus QP %08x\n",
|
||||
event_type, qpn);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue