]> 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)
commitf523c4f6ffb26780a0240ca263b3e44219484245
treef96c184614eef140dcc5f3e7149d1e2a39cc4071
parentecde9ce4d7de4fdec1c3b06867e49bf51346545c
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