Signed-off-by: Hal Rosenstock <[email protected]>
---
diff --git a/include/opensm/osm_base.h b/include/opensm/osm_base.h
index fa4c78d..3735610 100644
--- a/include/opensm/osm_base.h
+++ b/include/opensm/osm_base.h
@@ -917,6 +917,7 @@ typedef enum _osm_sm_signal {
 #define OSM_VENDOR_ID_SUPERMICRO    0x003048
 #define OSM_VENDOR_ID_HP3           0x0019BB
 #define OSM_VENDOR_ID_HP4           0x00237D
+#define OSM_VENDOR_ID_OPENIB        0x001405

 /**********/

diff --git a/opensm/osm_helper.c b/opensm/osm_helper.c
index 2597e50..0d8311b 100644
--- a/opensm/osm_helper.c
+++ b/opensm/osm_helper.c
@@ -2095,6 +2095,7 @@ const char *osm_get_manufacturer_str(IN uint64_t
guid_ho)
        static const char *xsigo_str = "Xsigo";
        static const char *dell_str = "Dell";
        static const char *supermicro_str = "SuperMicro";
+       static const char *openib_str = "OpenIB";
        static const char *unknown_str = "Unknown";

        switch ((uint32_t) (guid_ho >> (5 * 8))) {
@@ -2153,6 +2154,8 @@ const char *osm_get_manufacturer_str(IN uint64_t
guid_ho)
                return dell_str;
        case OSM_VENDOR_ID_SUPERMICRO:
                return supermicro_str;
+       case OSM_VENDOR_ID_OPENIB:
+               return openib_str;
        default:
                return unknown_str;
        }
--
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

Reply via email to