• Ralph Campbell's avatar
    IB/ipath: Use IEEE OUI for vendor_id reported by ibv_query_device() · df866619
    Ralph Campbell authored
    The IB spe. for SubnGet(NodeInfo) and query HCA says that the vendor
    ID field should be the IEEE OUI assigned to the vendor.  The ipath
    driver was returning the PCI vendor ID instead.  This will affect
    applications which call ibv_query_device().  The old value was
    0x001fc1 or 0x001077, the new value is 0x001175.
    
    The vendor ID doesn't appear to be exported via /sys so that should
    reduce possible compatibility issues.  I'm only aware of Open MPI as a
    major application which depends on this change, and they have made
    necessary adjustments.
    Signed-off-by: default avatarRalph Campbell <ralph.campbell@qlogic.com>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    df866619
ipath_mad.c 45.5 KB