infiniband-diags: Support MLNX ExtendedPortInfo for ConnectIB device
PATCH v2 1/1 infiniband-diags: Support MLNX ExtendedPortInfo for ConnectIB device
---
Change since v1:
Added similar change to libibnetdisc
Pointed out by Daniel Klein <danielk-VPRAkNaXOzVWk0Htik3J/[email protected]>
libibnetdisc/src/ibnetdisc.c +0 -0
@@ -205,7 +205,7 @@ static int
is_mlnx_ext_port_info_supported(ibnd_port_t * port)
if (devid == 0xc738)
return 1;
- if (devid >= 0x1003 && devid <= 0x1010)
+ if (devid >= 0x1003 && devid <= 0x1011)
return 1;
return 0;
}
src/ibdiag_common.c +1 -1
@@ -501,7 +501,7 @@ int is_mlnx_ext_port_info_supported(uint32_t devid)if (ibd_ibnetdisc_flags &IBND_CONFIG_MLX_EPI ) {if (devid ==0xc738 )return 1 ; -if (devid >=0x1003 && devid <=0x1010 ) +if (devid >=0x1003 && devid <=0x1011 )return 1 ; }return 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): 4FF9C831.8010506-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
libibnetdisc/src/ibnetdisc.c static int · line 205
Quoted 13 lines · On Sun, 08 Jul 2012 13:49:37 -0400 Hal Rosenstock…
---
Change since v1:
Added similar change to libibnetdisc
Pointed out by Daniel Klein <danielk-VPRAkNaXOzVWk0Htik3J/[email protected]>libibnetdisc/src/ibnetdisc.c +0
-0@@ -205,7 +205,7 @@ static intis_mlnx_ext_port_info_supported (ibnd_port_t * port)
I am not sure why but the patch line wrapped here.
Regardless I fixed it and applied, thanks,
Ira
Quoted 25 lines
libibnetdisc/src/ibnetdisc.c +1
-1if (devid ==0xc738 )return 1 ; -if (devid >=0x1003 && devid <=0x1010 ) +if (devid >=0x1003 && devid <=0x1011 )return 1 ;return 0 ; }src/ibdiag_common.c +1
-2@@ -501,7 +501,7 @@ int is_mlnx_ext_port_info_supported(uint32_t devid)if (ibd_ibnetdisc_flags &IBND_CONFIG_MLX_EPI ) {if (devid ==0xc738 )return 1 ; -if (devid >=0x1003 && devid <=0x1010 ) +if (devid >=0x1003 && devid <=0x1011 )return 1 ; }return 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
Signature · 9 lines
Ira Weiny Member of Technical Staff 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