]> git.openfabrics.org - ~tnikolova/ofed_scripts/.git/commitdiff
Enable ib<N> interface configuration based on Eth interface
authorVladimir Sokolovsky <vlad@mellanox.co.il>
Wed, 12 Nov 2008 16:17:20 +0000 (18:17 +0200)
committerVladimir Sokolovsky <vlad@mellanox.co.il>
Wed, 12 Nov 2008 16:17:20 +0000 (18:17 +0200)
configuration, when LAN_INTERFACE is set in ofed_net.conf.
BUG: https://bugs.openfabrics.org/show_bug.cgi?id=1295

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
install.pl

index 5554a66a1fcfd7778d7bb4889ce24162ef44f7df..e8e4feed0aa41370f6a11e669825afc0f674b7a6 100755 (executable)
@@ -3661,6 +3661,9 @@ sub config_interface
                 print "Device $eth_dev is not present\n" if (not $quiet);
                 return;
             }
+            if ( is_carrier ($eth_dev) ) {
+                $found_eth_up = 1;
+            }
         }
         else {
             # Take the first existing Eth interface