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;
Quick and dirty fix that works for me :
Index: biosdevname- 0.4.1/src/ bios_device. c ======= ======= ======= ======= ======= ======= ======= ======= ==== 0.4.1.orig/ src/bios_ device. c 2016-01-20 15:53:53.000000000 +0100 0.4.1/src/ bios_device. c 2016-01-20 16:27:15.211206243 +0100
return 1;
return 1;
=======
--- biosdevname-
+++ biosdevname-
@@ -215,7 +215,7 @@
/* Check for Mellanox/Chelsio drivers */
int ismultiport(const char *driver)
{
- if (!strncmp(driver, "mlx", 3))
+ if (!strncmp(driver, "mlx4", 4))
if (!strncmp(driver, "cxgb", 4))