[Openib-windows] [PATCH] print improvement for CQE with error

Yossi Leybovich sleybo at mellanox.co.il
Mon Apr 17 07:03:09 PDT 2006


Fab 
 
The internal syndrome is very helpful while submitting bugs to Mellanox
This patch add it to the print
 
10x
Yossi 
 
Singed-off-by: Yossi Leybovich (sleybo at mellanox.co.il)
--- W:\work\OpenIB\core\al\kernel\al_smi.c Thu Sep 15 10:58:43 2005
+++ W:\work\clean\core\al\kernel\al_smi.c Sun Mar 26 12:24:51 2006
@@ -2140,8 +2140,8 @@
   if( wc.status != IB_WCS_SUCCESS )
   {
    CL_TRACE( CL_DBG_ERROR, g_al_dbg_lvl,
-    ("special QP completion error: %s!\n",
-    ib_get_wc_status_str( wc.status )) );
+    ("special QP completion error: %s! internal syndrome  0x%x\n",
+    ib_get_wc_status_str( wc.status ),wc.vendor_specific) );
 
    /* Reset the special QP service and return. */
    spl_qp_svc_reset( p_spl_qp_svc );

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smi.patch
Type: application/octet-stream
Size: 562 bytes
Desc: smi.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20060417/54cd2a85/attachment.obj>


More information about the ofw mailing list