We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d0e7ba commit 65357e2Copy full SHA for 65357e2
drivers/infiniband/hw/mana/device.c
@@ -5,6 +5,7 @@
5
6
#include "mana_ib.h"
7
#include <net/mana/mana_auxiliary.h>
8
+#include <net/addrconf.h>
9
10
MODULE_DESCRIPTION("Microsoft Azure Network Adapter IB driver");
11
MODULE_LICENSE("GPL");
@@ -92,6 +93,7 @@ static int mana_ib_probe(struct auxiliary_device *adev,
92
93
goto free_ib_device;
94
}
95
ether_addr_copy(mac_addr, upper_ndev->dev_addr);
96
+ addrconf_addr_eui48((u8 *)&dev->ib_dev.node_guid, upper_ndev->dev_addr);
97
ret = ib_device_set_netdev(&dev->ib_dev, upper_ndev, 1);
98
rcu_read_unlock();
99
if (ret) {
0 commit comments