Quick and dirty fix that works for me :

Index: biosdevname-0.4.1/src/bios_device.c
===================================================================
--- biosdevname-0.4.1.orig/src/bios_device.c    2016-01-20 15:53:53.000000000 
+0100
+++ biosdevname-0.4.1/src/bios_device.c 2016-01-20 16:27:15.211206243 +0100
@@ -215,7 +215,7 @@
 /* Check for Mellanox/Chelsio drivers */
 int ismultiport(const char *driver)
 {
-       if (!strncmp(driver, "mlx", 3))
+       if (!strncmp(driver, "mlx4", 4))
                return 1;
        if (!strncmp(driver, "cxgb", 4))
                return 1;

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1535045

Title:
  Biosdevname does not provide interface naming information for ConnecX4
  Devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/biosdevname/+bug/1535045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to