From: Guy Shapiro Date: Thu, 30 Jul 2015 14:50:16 +0000 (+0300) Subject: IB/ipoib: Return IPoIB devices matching connection parameters X-Git-Tag: omap-for-v4.3/fixes-rc1~52^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddde896e561a51ae5023e531d66dc6a140a95ec3;p=pandora-kernel.git 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 Signed-off-by: Haggai Eran Signed-off-by: Yotam Kenneth Signed-off-by: Shachar Raindel Signed-off-by: Doug Ledford --- Reading git-diff-tree failed