Mellanox: Difference between revisions

No edit summary
Line 9: Line 9:
[strangelet](0) $ sudo mlxconfig -d /dev/mst/mt4115_pciconf0 query | grep LINK_TYPE
[strangelet](0) $ sudo mlxconfig -d /dev/mst/mt4115_pciconf0 query | grep LINK_TYPE
         LINK_TYPE_P1                                IB(1)           
         LINK_TYPE_P1                                IB(1)           
[strangelet](0) $
</pre>
...and here we change it to Ethernet (type 2):
<pre>
[strangelet](0) $ sudo mlxconfig -d /dev/mst/mt4115_pciconf0 set LINK_TYPE_P1=2
Device #1:
----------
Device type:    ConnectX4     
Name:          N/A           
Description:    N/A           
Device:        /dev/mst/mt4115_pciconf0
Configurations:                                      Next Boot      New
        LINK_TYPE_P1                                IB(1)          ETH(2)         
Apply new Configuration? (y/n) [n] : y
Applying... Done!
-I- Please reboot machine to load new configurations.
[strangelet](0) $  
[strangelet](0) $  
</pre>
</pre>