Searched refs:resolved_dev (Results 1 – 2 of 2) sorted by relevance
1257 struct net_device *resolved_dev; in ib_init_ah_from_path() local1292 resolved_dev = dev_get_by_index(dev_addr.net, in ib_init_ah_from_path()1294 if (!resolved_dev) { in ib_init_ah_from_path()1300 if ((ndev && ndev != resolved_dev) || in ib_init_ah_from_path()1301 (resolved_dev != idev && in ib_init_ah_from_path()1302 !rdma_is_upper_dev_rcu(idev, resolved_dev))) in ib_init_ah_from_path()1306 dev_put(resolved_dev); in ib_init_ah_from_path()
492 struct net_device *resolved_dev; in ib_init_ah_from_wc() local514 resolved_dev = dev_get_by_index(&init_net, if_index); in ib_init_ah_from_wc()516 if (resolved_dev != idev && !rdma_is_upper_dev_rcu(idev, in ib_init_ah_from_wc()517 resolved_dev)) in ib_init_ah_from_wc()521 dev_put(resolved_dev); in ib_init_ah_from_wc()