libibmad/rpc.c: On receive, add debug info for dumping incoming MAD address
PATCH 1/1 libibmad/rpc.c: On receive, add debug info for dumping incoming MAD address
---
src/rpc.c +2 -0
@@ -166,6 +166,8 @@ _do_madrpc(int port_id, void *sndbuf, void *rcvbuf, int agentid, int len,return -1 ; } +if (ibdebug >2 ) +umad_addr_dump (umad_get_mad_addr (rcvbuf));if (ibdebug >1 ) {IBWARN ("rcv buf:" ); xdump(stderr, "rcv buf\n", umad_get_mad(rcvbuf),
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 4EBBD63E.7090405-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
Ira Weiny
AppliedQuoted 2 lines · On Thu, 10 Nov 2011 05:48:46 -0800 Hal Rosenstock…
Thanks, applied,
Ira
Quoted 14 lines
---
src/rpc.c +2
-0@@ -166,6 +166,8 @@ _do_madrpc(int port_id, void *sndbuf, void *rcvbuf, int agentid, int len,return -1 ; } +if (ibdebug >2 ) +umad_addr_dump (umad_get_mad_addr (rcvbuf));if (ibdebug >1 ) {IBWARN ("rcv buf:" ); xdump(stderr, "rcv buf\n", umad_get_mad(rcvbuf),
Signature · 9 lines
Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 [email protected] -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html