Skip to contentSkip to conversation

Support for Chelsio T6 devices

PATCH Superseded Steve Wise 2 participants 3 messages Sep 19, 2016 – Sep 20, 2016 2 messages not in the archive InfiniBand

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Steve Wise

author
#0 lore raw

PATCH 1/1 Support for Chelsio T6 devices

---
 src/perftest_parameters.c |    1 +
 src/perftest_parameters.h |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)
src/perftest_parameters.c +1 -0
index a21b6eb..0d1ea2f 100755
@@ -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;
 		}
 
src/perftest_parameters.h +2 -1
index 448e398..727a65f 100755
@@ -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 */
Signature · 6 lines
1.7.1

--
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
#2 lore raw
In reply to a message not in the archive
Quoted 23 lines · Steve Wise
---
 src/perftest_parameters.c |    1 +
 src/perftest_parameters.h |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)
src/perftest_parameters.c +1 -0
index a21b6eb..0d1ea2f 100755
@@ -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;
 		}
 
src/perftest_parameters.h +0 -0
index 448e398..727a65f 100755

src/perftest_parameters.h enum ctx_device { · line 273

Quoted 6 lines
src/perftest_parameters.h +2 -1
@@ -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.

Quoted 10 lines
src/perftest_parameters.h +0 -1
 };
 
 /* 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#4 lore raw
In reply to a message not in the archive
Quoted 7 lines
Quoted 7 lines
src/perftest_parameters.h +0 -0
index 448e398..727a65f 100755
@@ -269,7 +269,8 @@ enum ctx_device {
 	CONNECTX4		= 10,
 	CONNECTX4LX		= 11,
Quoted 8 lines

src/perftest_parameters.h enum ctx_device { · line 273

Quoted 4 lines
src/perftest_parameters.h +2 -1
 	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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html