Re: [PATCH infiniband-diags] Add additional ConnectX-5 device ID to white lists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 02, 2018 at 08:49:56AM -0500, Hal Rosenstock wrote:
> 
> New Connect-X5 is device ID 0x1019
> 
> Signed-off-by: Hal Rosenstock <hal@xxxxxxxxxxxx>
>

Thanks applied,
Ira

> ---
>  libibnetdisc/src/ibnetdisc.c | 2 +-
>  src/ibdiag_common.c          | 2 +-
>  src/vendstat.c               | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/libibnetdisc/src/ibnetdisc.c b/libibnetdisc/src/ibnetdisc.c
> index 61e30d4..26bd09a 100644
> --- a/libibnetdisc/src/ibnetdisc.c
> +++ b/libibnetdisc/src/ibnetdisc.c
> @@ -206,7 +206,7 @@ static int is_mlnx_ext_port_info_supported(ibnd_port_t * port)
>  	      devid == 0x1ba0 ||
>  	      (devid >= 0x1bd0 && devid <= 0x1bd5))))
>  		return 1;
> -	if ((devid >= 0x1003 && devid <= 0x1017) ||
> +	if ((devid >= 0x1003 && devid <= 0x1019) ||
>  	    ((vendorid == 0x119f) &&
>  	     /* Bull ConnectX3 */
>  	     (devid == 0x1b33 || devid == 0x1b73 ||
> diff --git a/src/ibdiag_common.c b/src/ibdiag_common.c
> index c33cacc..a57a04b 100644
> --- a/src/ibdiag_common.c
> +++ b/src/ibdiag_common.c
> @@ -550,7 +550,7 @@ int is_mlnx_ext_port_info_supported(uint32_t vendorid,
>  		      devid == 0x1ba0 ||
>  		      (devid >= 0x1bd0 && devid <= 0x1bd5))))
>  			return 1;
> -		if ((devid >= 0x1003 && devid <= 0x1017) ||
> +		if ((devid >= 0x1003 && devid <= 0x1019) ||
>  		    ((vendorid == 0x119f) &&
>  		     /* Bull ConnectX3 */
>  		     (devid == 0x1b33 || devid == 0x1b73 ||
> diff --git a/src/vendstat.c b/src/vendstat.c
> index c35c25d..f3b3d42 100644
> --- a/src/vendstat.c
> +++ b/src/vendstat.c
> @@ -148,7 +148,7 @@ static uint16_t ext_fw_info_device[][2] = {
>  	{0xcb20, 0xcb20},	/* Switch-IB */
>  	{0xcf08, 0xcf08},	/* Switch-IB2 */
>  	{0x01b3, 0x01b3},	/* IS-4 */
> -	{0x1003, 0x1017},	/* Connect-X */
> +	{0x1003, 0x1019},	/* Connect-X */
>  	{0x1b02, 0x1b02},	/* Bull SwitchX */
>  	{0x1b50, 0x1b50},	/* Bull SwitchX */
>  	{0x1ba0, 0x1ba0},	/* Bull SwitchIB */
> -- 
> 2.8.4
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux