Skip to contentSkip to conversation

vendstat.c: Add additional vendor IDs to ext_fw_info_device

PATCH Superseded Hal Rosenstock 1 participant 1 message Jan 13, 2015 InfiniBand

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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, some ConnectX-3s, and Switch-IB. This affects is_ext_fw_info_supported which determine which Mellanox specific vendor MADs are issued to a device.

---

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