Skip to contentSkip to conversation

infiniband-diags/vendstat.c: Commentary change

PATCH Applied Hal Rosenstock 2 participants 2 messages Jul 12, 2012 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 infiniband-diags/vendstat.c: Commentary change

Add device names to go along with device IDs

---

src/vendstat.c +4 -4
index 1c493fa..8535792 100644
@@ -142,10 +142,10 @@ typedef struct {
 } is4_config_counter_groups_t;
 
 static uint16_t ext_fw_info_device[][2] = {
-	{0x0245, 0x0245},
-	{0xc738, 0xc738},
-	{0x01b3, 0x01b3},
-	{0x1003, 0x1011},
+	{0x0245, 0x0245},	/* Switch-X */
+	{0xc738, 0xc738},	/* Switch-X */
+	{0x01b3, 0x01b3},	/* IS-4 */
+	{0x1003, 0x1011},	/* Connect-X */
 	{0x0000, 0x0000}};
 
 static int is_ext_fw_info_supported(uint16_t device_id) {

--
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): 4FFEA861.2060500-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org

Applied
#2 lore raw
Quoted 4 lines · On Thu, 12 Jul 2012 06:35:13 -0400 Hal Rosenstock…

Add device names to go along with device IDs

Thanks applied,
Ira

Quoted 20 lines

---

src/vendstat.c +4 -4
index 1c493fa..8535792 100644
@@ -142,10 +142,10 @@ typedef struct {
 } is4_config_counter_groups_t;
 
 static uint16_t ext_fw_info_device[][2] = {
-	{0x0245, 0x0245},
-	{0xc738, 0xc738},
-	{0x01b3, 0x01b3},
-	{0x1003, 0x1011},
+	{0x0245, 0x0245},	/* Switch-X */
+	{0xc738, 0xc738},	/* Switch-X */
+	{0x01b3, 0x01b3},	/* IS-4 */
+	{0x1003, 0x1011},	/* Connect-X */
 	{0x0000, 0x0000}};
 
 static int is_ext_fw_info_supported(uint16_t device_id) {
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