Skip to contentSkip to conversation

vendstat.c: Add additional vendor IDs to ext_fw_info_device

PATCH Applied Hal Rosenstock 2 participants 2 messages Jan 14, 2015 – Jan 19, 2015 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 vendstat.c: Add additional vendor IDs to ext_fw_info_device

Add additional supported device IDs to ext_fw_info_device. These IDs are ConnectX-4, ConnectX-IB, and Switch-IB. This affects is_ext_fw_info_supported which determine which Mellanox specific vendor MADs are issued to a device.

---
Change since v1:
Changed ConnectX-3 to Connect-IB in patch description

src/vendstat.c +2 -1
index f28ff02..7fc4a11 100644
@@ -145,8 +145,9 @@ typedef struct {
 static uint16_t ext_fw_info_device[][2] = {
 	{0x0245, 0x0245},	/* Switch-X */
 	{0xc738, 0xc738},	/* Switch-X */
+	{0xcb84, 0xcb84},	/* Switch-IB */
 	{0x01b3, 0x01b3},	/* IS-4 */
-	{0x1003, 0x1011},	/* Connect-X */
+	{0x1003, 0x1016},	/* 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): 54B6780E.1050907-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org

Applied
#2 lore raw
Quoted 10 lines

-----Original Message-----
From: Hal Rosenstock [mailto:[email protected]]
Sent: Wednesday, January 14, 2015 6:07 AM
To: Weiny, Ira
Cc: linux-rdma ([email protected])
Subject: [PATCHv2 infiniband-diags] vendstat.c: Add additional vendor IDs to ext_fw_info_device

Quoted 6 lines

Add additional supported device IDs to ext_fw_info_device. These IDs are ConnectX-4, ConnectX-IB, and Switch-IB. This affects is_ext_fw_info_supported which determine which Mellanox specific vendor MADs are issued to a device.

Thanks applied,
Ira

Quoted 8 lines

---
Change since v1:
Changed ConnectX-3 to Connect-IB in patch description

src/vendstat.c typedef struct { · line 153

Quoted 10 lines
src/vendstat.c +2 -1
@@ -145,8 +145,9 @@ typedef struct {
 static uint16_t ext_fw_info_device[][2] = {
 	{0x0245, 0x0245},	/* Switch-X */
 	{0xc738, 0xc738},	/* Switch-X */
+	{0xcb84, 0xcb84},	/* Switch-IB */
 	{0x01b3, 0x01b3},	/* IS-4 */
-	{0x1003, 0x1011},	/* Connect-X */
+	{0x1003, 0x1016},	/* 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