]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net/mlx4_core: Load the Eth driver first
authorOr Gerlitz <ogerlitz@mellanox.com>
Sun, 4 May 2014 14:07:24 +0000 (17:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2014 19:48:22 +0000 (15:48 -0400)
commitf24f790f8eb8bca00c66781b21de2a9ff7cd1c00
tree681a1613bfe6f2b7e6aeae94d056fe30c1f3ddcb
parent0254bc8205195c96b47abe33c67f8ccd2f2dad69
net/mlx4_core: Load the Eth driver first

When running in SRIOV mode, VM that is assigned with a non-provisioned
Ethernet VFs get themselves a random mac when the Eth driver starts. In
this case, if the IB driver startup code that deals with RoCE runs first,
it will use a zero mac as the source mac for the Para-Virtual CM MADs
which is buggy. To handle that, we change the order of loading.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c