Message ID | 20160919200957.8777AE0BC1@smtp.ogc.us (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On Mon, Sep 19, 2016 at 12:55:16PM -0700, Steve Wise wrote: > Signed-off-by: Steve Wise <swise@opengridcomputing.com> > --- > 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@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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 */
Signed-off-by: Steve Wise <swise@opengridcomputing.com> --- src/perftest_parameters.c | 1 + src/perftest_parameters.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletions(-)