IPoIB: Skip IBoE ports
authorEli Cohen <eli@mellanox.co.il>
Tue, 28 Sep 2010 00:51:11 +0000 (17:51 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 13 Oct 2010 16:38:11 +0000 (09:38 -0700)
commit7b4c876961ad6ddcfacd69b25fe7e13ff41fe322
tree2e3ec1e0f2a5d6bbabb90d1db60d06bcb8413489
parenta3f5adaf491490089215f863a61b9422fae902f8
IPoIB: Skip IBoE ports

IPoIB is IP-over-Infiniband link layer. In the case of IBoE, the link
layer is Ethernet and IP can work directly over Ethernet, so disable
IPoIB for non-IB_LINK_LAYER_INFINIBAND ports.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c