]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Remove port type restrictions
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Fri, 3 Aug 2012 00:38:38 +0000 (00:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Aug 2012 23:49:40 +0000 (16:49 -0700)
commit0514ef799e4def11ae342e2d11b3d42c1689b92e
treef96c184614eef140dcc5f3e7149d1e2a39cc4071
parentab0300be3af5a92afb4589647305a8a6537efb6f
net/mlx4_core: Remove port type restrictions

Port1=Eth, Port2=IB restriction is no longer required.
Having RoCE, there will always rdma port initialized over ConnectX
physical port, no matter whether the link layer is IB or Ethernet.
So we always have dual port IB device.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/sense.c