[ofa-general] [PATCH 0 of 2] print "event received for bogus qp" messages in debug mode only (mthca and mlx4)
Jack Morgenstein
jackm at dev.mellanox.co.il
Wed Feb 27 06:48:02 PST 2008
Roland,
The HCA hardware may generate an async event for a QP while the driver is
in the process of destroying that QP. When the qp event handler attempts to
handle the event, it notices that the QP no longer exists, prints
out a message (in /var/log/messages) that an event was received
for a non-existent QP, and returns (i.e., the event is ignored).
The following are QP events:
EVENT_TYPE_PATH_MIG
EVENT_TYPE_COMM_EST
EVENT_TYPE_SQ_DRAINED
EVENT_TYPE_SRQ_QP_LAST_WQE
EVENT_TYPE_WQ_CATAS_ERROR
EVENT_TYPE_PATH_MIG_FAILED
EVENT_TYPE_WQ_INVAL_REQ_ERROR
EVENT_TYPE_WQ_ACCESS_ERROR
Once the QP is destroyed, they are of no interest, since the QP is gone.
This patch set simply changes the message to print out only when running
in debug mode.
- Jack
More information about the general
mailing list