All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Support for Chelsio T6 devices
@ 2016-09-19 19:55 Steve Wise
       [not found] ` <20160919200957.8777AE0BC1-/5N3P9jjx0xzbRFIqnYvSA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Wise @ 2016-09-19 19:55 UTC (permalink / raw)
  To: Gil Rockah; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Signed-off-by: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
---
 src/perftest_parameters.c |    1 +
 src/perftest_parameters.h |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/perftest_parameters.c b/src/perftest_parameters.c
index a21b6eb..0d1ea2f 100755
--- a/src/perftest_parameters.c
+++ b/src/perftest_parameters.c
@@ -1326,6 +1326,7 @@ enum ctx_device ib_dev_name(struct ibv_context *context)
 			case 4  : dev_fname = CHELSIO_T4; break;
 			case 11 :
 			case 5  : dev_fname = CHELSIO_T5; break;
+			case 6  : dev_fname = CHELSIO_T6; break;
 			default : dev_fname = UNKNOWN; break;
 		}
 
diff --git a/src/perftest_parameters.h b/src/perftest_parameters.h
index 448e398..727a65f 100755
--- a/src/perftest_parameters.h
+++ b/src/perftest_parameters.h
@@ -269,7 +269,8 @@ enum ctx_device {
 	CONNECTX4		= 10,
 	CONNECTX4LX		= 11,
 	QLOGIC_E4		= 12,
-	QLOGIC_AH		= 13
+	QLOGIC_AH		= 13,
+	CHELSIO_T6		= 14
 };
 
 /* Units for rate limiter */
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Support for Chelsio T6 devices
       [not found] ` <20160919200957.8777AE0BC1-/5N3P9jjx0xzbRFIqnYvSA@public.gmane.org>
@ 2016-09-20 10:21   ` Leon Romanovsky
       [not found]     ` <20160920102108.GG26673-2ukJVAZIZ/Y@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Leon Romanovsky @ 2016-09-20 10:21 UTC (permalink / raw)
  To: Steve Wise; +Cc: Gil Rockah, linux-rdma-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 1459 bytes --]

On Mon, Sep 19, 2016 at 12:55:16PM -0700, Steve Wise wrote:
> Signed-off-by: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
> ---
>  src/perftest_parameters.c |    1 +
>  src/perftest_parameters.h |    3 ++-
>  2 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/src/perftest_parameters.c b/src/perftest_parameters.c
> index a21b6eb..0d1ea2f 100755
> --- a/src/perftest_parameters.c
> +++ b/src/perftest_parameters.c
> @@ -1326,6 +1326,7 @@ enum ctx_device ib_dev_name(struct ibv_context *context)
>  			case 4  : dev_fname = CHELSIO_T4; break;
>  			case 11 :
>  			case 5  : dev_fname = CHELSIO_T5; break;
> +			case 6  : dev_fname = CHELSIO_T6; break;
>  			default : dev_fname = UNKNOWN; break;
>  		}
>
> diff --git a/src/perftest_parameters.h b/src/perftest_parameters.h
> index 448e398..727a65f 100755
> --- a/src/perftest_parameters.h
> +++ b/src/perftest_parameters.h
> @@ -269,7 +269,8 @@ enum ctx_device {
>  	CONNECTX4		= 10,
>  	CONNECTX4LX		= 11,
>  	QLOGIC_E4		= 12,
> -	QLOGIC_AH		= 13
> +	QLOGIC_AH		= 13,
> +	CHELSIO_T6		= 14

Nit comment,
if you use "14," and not "14", the next submitter will send patch with
less churn.

>  };
>
>  /* Units for rate limiter */
> --
> 1.7.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] Support for Chelsio T6 devices
       [not found]     ` <20160920102108.GG26673-2ukJVAZIZ/Y@public.gmane.org>
@ 2016-09-20 14:12       ` Steve Wise
  0 siblings, 0 replies; 3+ messages in thread
From: Steve Wise @ 2016-09-20 14:12 UTC (permalink / raw)
  To: 'Leon Romanovsky'
  Cc: 'Gil Rockah', linux-rdma-u79uwXL29TY76Z2rM5mHXA

> > diff --git a/src/perftest_parameters.h b/src/perftest_parameters.h
> > index 448e398..727a65f 100755
> > --- a/src/perftest_parameters.h
> > +++ b/src/perftest_parameters.h
> > @@ -269,7 +269,8 @@ enum ctx_device {
> >  	CONNECTX4		= 10,
> >  	CONNECTX4LX		= 11,
> >  	QLOGIC_E4		= 12,
> > -	QLOGIC_AH		= 13
> > +	QLOGIC_AH		= 13,
> > +	CHELSIO_T6		= 14
> 
> Nit comment,
> if you use "14," and not "14", the next submitter will send patch with
> less churn.

Yup.  I usually try to adhere to the coding style of the existing code though. 



--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-20 14:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-19 19:55 [PATCH] Support for Chelsio T6 devices Steve Wise
     [not found] ` <20160919200957.8777AE0BC1-/5N3P9jjx0xzbRFIqnYvSA@public.gmane.org>
2016-09-20 10:21   ` Leon Romanovsky
     [not found]     ` <20160920102108.GG26673-2ukJVAZIZ/Y@public.gmane.org>
2016-09-20 14:12       ` Steve Wise

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.