[ofw] mlx4_0300_bogus_qp.patch (change printing)

Tzachi Dar tzachid at mellanox.co.il
Tue May 6 02:20:15 PDT 2008


Here is the description from the Linux mlx4_0300_bogus_qp.patch
 
Events received for non-existent QPs are of interest only when
debugging.
Print messages when this occurs only if running in debug mode.

Thanks
Tzachi
 
Index: Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/qp.c
===================================================================
--- Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/qp.c (revision 2396)
+++ Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/qp.c (revision 2397)
@@ -53,12 +53,8 @@
  spin_unlock_dpc(&qp_table->lock);
 
  if (!qp) {
-  if (event_type == MLX4_EVENT_TYPE_SRQ_QP_LAST_WQE)
-   mlx4_dbg(dev, "Async event SRQ_QP_LAST_WQE"
-     " for bogus QP %08x\n", qpn);
-  else
-   mlx4_warn(dev, "Async event %d for bogus QP %08x\n",
-      event_type, qpn);
+  mlx4_dbg(dev, "Async event %d for bogus QP %08x\n",
+     event_type, qpn);
   return;
  }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080506/3ee738ad/attachment.html>


More information about the ofw mailing list