[IBAL] Print internal syndrome for MAD completion errors.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 25 Apr 2006 18:22:43 +0000 (18:22 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 25 Apr 2006 18:22:43 +0000 (18:22 +0000)
Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@326 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/kernel/al_smi.c

index b618296..3aefe95 100644 (file)
@@ -2140,8 +2140,8 @@ spl_qp_comp(
                if( wc.status != IB_WCS_SUCCESS )\r
                {\r
                        CL_TRACE( CL_DBG_ERROR, g_al_dbg_lvl,\r
                if( wc.status != IB_WCS_SUCCESS )\r
                {\r
                        CL_TRACE( CL_DBG_ERROR, g_al_dbg_lvl,\r
-                               ("special QP completion error: %s!\n",\r
-                               ib_get_wc_status_str( wc.status )) );\r
+                               ("special QP completion error: %s! internal syndrome 0x%x\n",\r
+                               ib_get_wc_status_str( wc.status ), wc.vendor_specific) );\r
 \r
                        /* Reset the special QP service and return. */\r
                        spl_qp_svc_reset( p_spl_qp_svc );\r
 \r
                        /* Reset the special QP service and return. */\r
                        spl_qp_svc_reset( p_spl_qp_svc );\r