fib_nh_dev        130 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c 			struct net_device *nh_dev = nh->fib_nh_dev;
fib_nh_dev        144 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c 	if (!(fib_nh0->fib_nh_dev == ldev->pf[0].netdev &&
fib_nh_dev        145 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c 	      fib_nh1->fib_nh_dev == ldev->pf[1].netdev) &&
fib_nh_dev        146 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c 	    !(fib_nh0->fib_nh_dev == ldev->pf[1].netdev &&
fib_nh_dev        147 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c 	      fib_nh1->fib_nh_dev == ldev->pf[0].netdev)) {
fib_nh_dev        177 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c 		int i = mlx5_lag_dev_get_netdev_idx(ldev, fib_nh->fib_nh_dev);
fib_nh_dev        272 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c 		fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev;
fib_nh_dev       2878 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		ifindex = fib6_nh->fib_nh_dev->ifindex;
fib_nh_dev       2946 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		dev = mlxsw_sp_rt6->rt->fib6_nh->fib_nh_dev;
fib_nh_dev       3678 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct net_device *dev = fib_nh->fib_nh_dev;
fib_nh_dev       3705 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct net_device *dev = fib_nh->fib_nh_dev;
fib_nh_dev       3749 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct net_device *dev = fib_nh->fib_nh_dev;
fib_nh_dev       4016 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		if (nh->rif && nh->rif->dev == rt->fib6_nh->fib_nh_dev &&
fib_nh_dev       4338 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct net_device *dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev;
fib_nh_dev       5044 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	return rt->fib6_nh->fib_nh_dev &&
fib_nh_dev       5045 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	       mlxsw_sp_netdev_ipip_type(mlxsw_sp, rt->fib6_nh->fib_nh_dev, ret);
fib_nh_dev       5055 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct net_device *dev = rt->fib6_nh->fib_nh_dev;
fib_nh_dev       5098 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct net_device *dev = rt->fib6_nh->fib_nh_dev;
fib_nh_dev       2287 drivers/net/ethernet/rocker/rocker_ofdpa.c 	nh_on_port = (nh->fib_nh_dev == ofdpa_port->dev);
fib_nh_dev       2743 drivers/net/ethernet/rocker/rocker_ofdpa.c 	ofdpa_port = ofdpa_port_dev_lower_find(nh->fib_nh_dev, rocker);
fib_nh_dev       2765 drivers/net/ethernet/rocker/rocker_ofdpa.c 	ofdpa_port = ofdpa_port_dev_lower_find(nh->fib_nh_dev, rocker);
fib_nh_dev       2794 drivers/net/ethernet/rocker/rocker_ofdpa.c 		ofdpa_port = ofdpa_port_dev_lower_find(nh->fib_nh_dev, rocker);
fib_nh_dev        305 include/net/ip6_route.h 	return nha->fib_nh_dev == nhb->fib_nh_dev &&
fib_nh_dev        319 include/net/nexthop.h 	return fib6_nh->fib_nh_dev;
fib_nh_dev         65 include/trace/events/fib6.h 		if (res->nh && res->nh->fib_nh_dev) {
fib_nh_dev         66 include/trace/events/fib6.h 			__assign_str(name, res->nh->fib_nh_dev);
fib_nh_dev       4826 net/core/filter.c 	dev = res.nh->fib_nh_dev;
fib_nh_dev        271 net/ipv4/fib_semantics.c 				if (!nexthop_nh->fib_nh_dev)
fib_nh_dev        442 net/ipv4/fib_semantics.c 		if (nh->fib_nh_dev == dev &&
fib_nh_dev        770 net/ipv4/fib_semantics.c 		if (ip_ignore_linkdown(nh->fib_nh_dev) &&
fib_nh_dev        783 net/ipv4/fib_semantics.c 		} else if (ip_ignore_linkdown(nexthop_nh->fib_nh_dev) &&
fib_nh_dev       1000 net/ipv4/fib_semantics.c 		nh->fib_nh_dev = fib6_nh.fib_nh_dev;
fib_nh_dev       1001 net/ipv4/fib_semantics.c 		dev_hold(nh->fib_nh_dev);
fib_nh_dev       1002 net/ipv4/fib_semantics.c 		nh->fib_nh_oif = nh->fib_nh_dev->ifindex;
fib_nh_dev       1084 net/ipv4/fib_semantics.c 		nh->fib_nh_dev = dev;
fib_nh_dev       1133 net/ipv4/fib_semantics.c 	nh->fib_nh_dev = dev = FIB_RES_DEV(res);
fib_nh_dev       1172 net/ipv4/fib_semantics.c 	nh->fib_nh_dev = in_dev->dev;
fib_nh_dev       1173 net/ipv4/fib_semantics.c 	dev_hold(nh->fib_nh_dev);
fib_nh_dev       1175 net/ipv4/fib_semantics.c 	if (!netif_carrier_ok(nh->fib_nh_dev))
fib_nh_dev       1289 net/ipv4/fib_semantics.c 	nh->nh_saddr = inet_select_addr(nh->fib_nh_dev, nh->fib_nh_gw4, scope);
fib_nh_dev       1499 net/ipv4/fib_semantics.c 		nh->fib_nh_dev = dev_get_by_index(net, nh->fib_nh_oif);
fib_nh_dev       1501 net/ipv4/fib_semantics.c 		if (!nh->fib_nh_dev)
fib_nh_dev       1562 net/ipv4/fib_semantics.c 			if (!nexthop_nh->fib_nh_dev)
fib_nh_dev       1564 net/ipv4/fib_semantics.c 			hash = fib_devindex_hashfn(nexthop_nh->fib_nh_dev->ifindex);
fib_nh_dev       1839 net/ipv4/fib_semantics.c 	bool ignore_link_down = ip_ignore_linkdown(nh->fib_nh_dev);
fib_nh_dev       1850 net/ipv4/fib_semantics.c 		return call_fib4_notifiers(dev_net(nh->fib_nh_dev), event_type,
fib_nh_dev       1855 net/ipv4/fib_semantics.c 			return call_fib4_notifiers(dev_net(nh->fib_nh_dev),
fib_nh_dev       1909 net/ipv4/fib_semantics.c 		if (nh->fib_nh_dev == dev)
fib_nh_dev       1939 net/ipv4/fib_semantics.c 		if (nh->fib_nh_dev != dev || fi == prev_fi)
fib_nh_dev       1946 net/ipv4/fib_semantics.c 			else if (nexthop_nh->fib_nh_dev == dev &&
fib_nh_dev       1963 net/ipv4/fib_semantics.c 			    nexthop_nh->fib_nh_dev == dev) {
fib_nh_dev       2099 net/ipv4/fib_semantics.c 		if (nh->fib_nh_dev != dev || fi == prev_fi)
fib_nh_dev       2109 net/ipv4/fib_semantics.c 			if (!nexthop_nh->fib_nh_dev ||
fib_nh_dev       2110 net/ipv4/fib_semantics.c 			    !(nexthop_nh->fib_nh_dev->flags & IFF_UP))
fib_nh_dev       2112 net/ipv4/fib_semantics.c 			if (nexthop_nh->fib_nh_dev != dev ||
fib_nh_dev       2142 net/ipv4/fib_semantics.c 			n = __ipv4_neigh_lookup_noref(nh->fib_nh_dev,
fib_nh_dev       2145 net/ipv4/fib_semantics.c 			n = __ipv6_neigh_lookup_noref_stub(nh->fib_nh_dev,
fib_nh_dev        464 net/ipv4/nexthop.c 	n = __ipv6_neigh_lookup_noref_stub(nh->fib_nh_dev, &nh->fib_nh_gw6);
fib_nh_dev        480 net/ipv4/nexthop.c 	n = __ipv4_neigh_lookup_noref(nh->fib_nh_dev,
fib_nh_dev       2427 net/ipv6/addrconf.c 		if (rt->fib6_nh->fib_nh_dev->ifindex != dev->ifindex)
fib_nh_dev        184 net/ipv6/fib6_rules.c 				      res->nh->fib_nh_dev);
fib_nh_dev       2397 net/ipv6/ip6_fib.c 	dev = fib6_nh->fib_nh_dev;
fib_nh_dev       1293 net/ipv6/ndisc.c 					 rt->fib6_nh->fib_nh_dev, NULL,
fib_nh_dev       1323 net/ipv6/ndisc.c 					 rt->fib6_nh->fib_nh_dev, NULL,
fib_nh_dev        483 net/ipv6/route.c 	dev = nh->fib_nh_dev;
fib_nh_dev        643 net/ipv6/route.c 	dev = fib6_nh->fib_nh_dev;
fib_nh_dev        695 net/ipv6/route.c 	neigh = __ipv6_neigh_lookup_noref(fib6_nh->fib_nh_dev,
fib_nh_dev        722 net/ipv6/route.c 	if (!oif || nh->fib_nh_dev->ifindex == oif)
fib_nh_dev        749 net/ipv6/route.c 	if (ip6_ignore_linkdown(nh->fib_nh_dev) &&
fib_nh_dev       1017 net/ipv6/route.c 	struct net_device *dev = res->nh->fib_nh_dev;
fib_nh_dev       1133 net/ipv6/route.c 	const struct net_device *dev = nh->fib_nh_dev;
fib_nh_dev       1188 net/ipv6/route.c 	struct net_device *dev = res->nh->fib_nh_dev;
fib_nh_dev       1591 net/ipv6/route.c 		struct net_device *dev = nh->fib_nh_dev;
fib_nh_dev       1950 net/ipv6/route.c 	if (arg->dev != nh->fib_nh_dev ||
fib_nh_dev       2878 net/ipv6/route.c 	    fl6->flowi6_oif != nh->fib_nh_dev->ifindex)
fib_nh_dev       3144 net/ipv6/route.c 		struct net_device *dev = nh->fib_nh_dev;
fib_nh_dev       3264 net/ipv6/route.c 	    (res.fib6_type != RTN_UNICAST || dev != res.nh->fib_nh_dev)) {
fib_nh_dev       3292 net/ipv6/route.c 		    (dev && dev != res.nh->fib_nh_dev))
fib_nh_dev       3316 net/ipv6/route.c 		if (dev != res.nh->fib_nh_dev)
fib_nh_dev       3319 net/ipv6/route.c 		*_dev = dev = res.nh->fib_nh_dev;
fib_nh_dev       3520 net/ipv6/route.c 	fib6_nh->fib_nh_dev = dev;
fib_nh_dev       3707 net/ipv6/route.c 		if (fib6_is_reject(cfg->fc_flags, rt->fib6_nh->fib_nh_dev,
fib_nh_dev       3713 net/ipv6/route.c 		struct net_device *dev = fib6_nh->fib_nh_dev;
fib_nh_dev       3954 net/ipv6/route.c 			    (!nh->fib_nh_dev ||
fib_nh_dev       3955 net/ipv6/route.c 			     nh->fib_nh_dev->ifindex != cfg->fc_ifindex))
fib_nh_dev       4143 net/ipv6/route.c 		if (rt->fib6_nh->fib_nh_dev->ifindex != ifindex)
fib_nh_dev       4213 net/ipv6/route.c 		if (dev == nh->fib_nh_dev &&
fib_nh_dev       4468 net/ipv6/route.c 	    ((void *)rt->fib6_nh->fib_nh_dev == dev || !dev) &&
fib_nh_dev       4554 net/ipv6/route.c 	     ip6_ignore_linkdown(rt->fib6_nh->fib_nh_dev)))
fib_nh_dev       4629 net/ipv6/route.c 	    rt->fib6_nh->fib_nh_dev == arg->dev) {
fib_nh_dev       4659 net/ipv6/route.c 	if (rt->fib6_nh->fib_nh_dev == dev)
fib_nh_dev       4662 net/ipv6/route.c 		if (iter->fib6_nh->fib_nh_dev == dev)
fib_nh_dev       4683 net/ipv6/route.c 	if (rt->fib6_nh->fib_nh_dev == down_dev ||
fib_nh_dev       4687 net/ipv6/route.c 		if (iter->fib6_nh->fib_nh_dev == down_dev ||
fib_nh_dev       4700 net/ipv6/route.c 	if (rt->fib6_nh->fib_nh_dev == dev)
fib_nh_dev       4703 net/ipv6/route.c 		if (iter->fib6_nh->fib_nh_dev == dev)
fib_nh_dev       4719 net/ipv6/route.c 		return rt->fib6_nh->fib_nh_dev == dev ? -1 : 0;
fib_nh_dev       4724 net/ipv6/route.c 			return rt->fib6_nh->fib_nh_dev == dev ? -1 : 0;
fib_nh_dev       4740 net/ipv6/route.c 		if (rt->fib6_nh->fib_nh_dev != dev ||
fib_nh_dev       4790 net/ipv6/route.c 	if (nh->fib_nh_dev == arg->dev) {
fib_nh_dev       5569 net/ipv6/route.c 	if (nh->fib_nh_dev == dev)
fib_nh_dev       5586 net/ipv6/route.c 	if (f6i->fib6_nh->fib_nh_dev == dev)
fib_nh_dev       5594 net/ipv6/route.c 			if (sibling->fib6_nh->fib_nh_dev == dev)
fib_nh_dev       6013 net/ipv6/route.c 		net->ipv6.fib6_null_entry->fib6_nh->fib_nh_dev = dev;
fib_nh_dev       6348 net/ipv6/route.c 	init_net.ipv6.fib6_null_entry->fib6_nh->fib_nh_dev = init_net.loopback_dev;