infiniband-diags: Initial changes for extended speed support in libibmad
PATCH 2/3 infiniband-diags: Initial changes for extended speed support in libibmad
Need larger buffer for mad_dump_portinfo due to additional extended speed fields
Signed-off-by Hal Rosenstock
---
src/saquery.c +1 -1
@@ -419,7 +419,7 @@ static void dump_portinfo_record(void *data)static void dump_one_portinfo_record (void *data) { -char buf[2048 ], buf2[4096 ]; +char buf[2300 ], buf2[4096 ];ib_portinfo_record_t *pir = data;ib_port_info_t *pi = &pir->port_info;
src/smpquery.c +1 -1
@@ -131,7 +131,7 @@ static char *node_info(ib_portid_t * dest, char **argv, int argc)static char *port_info (ib_portid_t * dest,char **argv,int argc) { -char buf[2048 ]; +char buf[2300 ];char data[IB_SMP_DATA_SIZE ] = {0 };int portnum =0 ;
--
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): 4E15E3C4.8020709-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
Ira Weiny
AppliedQuoted 5 lines · On Thu, 7 Jul 2011 09:50:12 -0700 Hal Rosenstock…
Need larger buffer for
mad_dump_portinfodue to additional extended speed fieldsSigned-off-by Hal Rosenstock
Thanks, applied,
Ira
Quoted 27 lines
---
src/saquery.c +1
-1@@ -419,7 +419,7 @@ static void dump_portinfo_record(void *data)static void dump_one_portinfo_record (void *data) { -char buf[2048 ], buf2[4096 ]; +char buf[2300 ], buf2[4096 ];ib_portinfo_record_t *pir = data;ib_port_info_t *pi = &pir->port_info;src/smpquery.c +1
-1@@ -131,7 +131,7 @@ static char *node_info(ib_portid_t * dest, char **argv, int argc)static char *port_info (ib_portid_t * dest,char **argv,int argc) { -char buf[2048 ]; +char buf[2300 ];char data[IB_SMP_DATA_SIZE ] = {0 };int portnum =0 ;
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