]> git.baikalelectronics.ru Git - 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)
commit938338825c33c01989d3a0dda48fe27e85bb2d44
tree681a1613bfe6f2b7e6aeae94d056fe30c1f3ddcb
parent96674a25c6efc7e4fc2787e64004197b18f89b5d
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