aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/cm.c
diff options
context:
space:
mode:
authorGuy Shapiro <guysh@mellanox.com>2015-07-30 17:50:16 +0300
committerDoug Ledford <dledford@redhat.com>2015-08-30 15:48:21 -0400
commitddde896e561a51ae5023e531d66dc6a140a95ec3 (patch)
tree44a29f1e0d48f41e785e72563f1379ac5d174e90 /drivers/infiniband/core/cm.c
parentIB/core: Find the network device matching connection parameters (diff)
downloadlinux-dev-ddde896e561a51ae5023e531d66dc6a140a95ec3.tar.xz
linux-dev-ddde896e561a51ae5023e531d66dc6a140a95ec3.zip
IB/ipoib: Return IPoIB devices matching connection parameters
Implement the get_net_device_by_port_pkey_ip callback that returns network device to ib_core according to connection parameters. Check the ipoib device and iterate over all child devices to look for a match. For each IPoIB device we iterate through all upper devices when searching for a matching IP, in order to support bonding. Signed-off-by: Guy Shapiro <guysh@mellanox.com> Signed-off-by: Haggai Eran <haggaie@mellanox.com> Signed-off-by: Yotam Kenneth <yotamke@mellanox.com> Signed-off-by: Shachar Raindel <raindel@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/cm.c')
0 files changed, 0 insertions, 0 deletions