Searched refs:fib_nh_dev (Results 1 – 15 of 15) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | lag_mp.c | 130 struct net_device *nh_dev = nh->fib_nh_dev; in mlx5_lag_fib_route_event() 144 if (!(fib_nh0->fib_nh_dev == ldev->pf[0].netdev && in mlx5_lag_fib_route_event() 145 fib_nh1->fib_nh_dev == ldev->pf[1].netdev) && in mlx5_lag_fib_route_event() 146 !(fib_nh0->fib_nh_dev == ldev->pf[1].netdev && in mlx5_lag_fib_route_event() 147 fib_nh1->fib_nh_dev == ldev->pf[0].netdev)) { in mlx5_lag_fib_route_event() 177 int i = mlx5_lag_dev_get_netdev_idx(ldev, fib_nh->fib_nh_dev); in mlx5_lag_fib_nexthop_event() 272 fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlx5_lag_fib_event()
|
| /Linux-v5.4/net/ipv4/ |
| D | fib_semantics.c | 271 if (!nexthop_nh->fib_nh_dev) in fib_release_info() 442 if (nh->fib_nh_dev == dev && in ip_fib_check_default() 770 if (ip_ignore_linkdown(nh->fib_nh_dev) && in fib_rebalance() 783 } else if (ip_ignore_linkdown(nexthop_nh->fib_nh_dev) && in fib_rebalance() 1000 nh->fib_nh_dev = fib6_nh.fib_nh_dev; in fib_check_nh_v6_gw() 1001 dev_hold(nh->fib_nh_dev); in fib_check_nh_v6_gw() 1002 nh->fib_nh_oif = nh->fib_nh_dev->ifindex; in fib_check_nh_v6_gw() 1084 nh->fib_nh_dev = dev; in fib_check_nh_v4_gw() 1133 nh->fib_nh_dev = dev = FIB_RES_DEV(res); in fib_check_nh_v4_gw() 1172 nh->fib_nh_dev = in_dev->dev; in fib_check_nh_nongw() [all …]
|
| D | nexthop.c | 454 n = __ipv6_neigh_lookup_noref_stub(nh->fib_nh_dev, &nh->fib_nh_gw6); in ipv6_good_nh() 470 n = __ipv4_neigh_lookup_noref(nh->fib_nh_dev, in ipv4_good_nh()
|
| /Linux-v5.4/include/trace/events/ |
| D | fib6.h | 65 if (res->nh && res->nh->fib_nh_dev) { 66 __assign_str(name, res->nh->fib_nh_dev);
|
| /Linux-v5.4/net/ipv6/ |
| D | route.c | 481 dev = nh->fib_nh_dev; in __rt6_device_match() 641 dev = fib6_nh->fib_nh_dev; in rt6_probe() 693 neigh = __ipv6_neigh_lookup_noref(fib6_nh->fib_nh_dev, in rt6_check_neigh() 720 if (!oif || nh->fib_nh_dev->ifindex == oif) in rt6_score_route() 747 if (ip6_ignore_linkdown(nh->fib_nh_dev) && in find_match() 1015 struct net_device *dev = res->nh->fib_nh_dev; in ip6_rt_get_dev_rcu() 1131 const struct net_device *dev = nh->fib_nh_dev; in ip6_rt_copy_init() 1186 struct net_device *dev = res->nh->fib_nh_dev; in ip6_create_rt_rcu() 1567 struct net_device *dev = nh->fib_nh_dev; in fib6_mtu() 1926 if (arg->dev != nh->fib_nh_dev || in fib6_nh_find_match() [all …]
|
| D | fib6_rules.c | 184 res->nh->fib_nh_dev); in fib6_rule_action_alt()
|
| D | ndisc.c | 1293 rt->fib6_nh->fib_nh_dev, NULL, in ndisc_router_discovery() 1323 rt->fib6_nh->fib_nh_dev, NULL, in ndisc_router_discovery()
|
| D | ip6_fib.c | 2396 dev = fib6_nh->fib_nh_dev; in ipv6_route_seq_show()
|
| D | addrconf.c | 2425 if (rt->fib6_nh->fib_nh_dev->ifindex != dev->ifindex) in addrconf_get_prefix_route()
|
| /Linux-v5.4/include/net/ |
| D | ip6_route.h | 304 return nha->fib_nh_dev == nhb->fib_nh_dev && in rt6_duplicate_nexthop()
|
| D | nexthop.h | 284 return fib6_nh->fib_nh_dev; in fib6_info_nh_dev()
|
| D | ip_fib.h | 113 #define fib_nh_dev nh_common.nhc_dev macro
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_router.c | 2878 ifindex = fib6_nh->fib_nh_dev->ifindex; in mlxsw_sp_nexthop6_group_cmp() 2946 dev = mlxsw_sp_rt6->rt->fib6_nh->fib_nh_dev; in mlxsw_sp_nexthop6_group_hash() 3678 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_ipip_type() 3705 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_type_init() 3749 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_init() 4016 if (nh->rif && nh->rif->dev == rt->fib6_nh->fib_nh_dev && in mlxsw_sp_rt6_nexthop() 4338 struct net_device *dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlxsw_sp_fib4_entry_type_set() 5044 return rt->fib6_nh->fib_nh_dev && in mlxsw_sp_nexthop6_ipip_type() 5045 mlxsw_sp_netdev_ipip_type(mlxsw_sp, rt->fib6_nh->fib_nh_dev, ret); in mlxsw_sp_nexthop6_ipip_type() 5055 struct net_device *dev = rt->fib6_nh->fib_nh_dev; in mlxsw_sp_nexthop6_type_init() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/rocker/ |
| D | rocker_ofdpa.c | 2287 nh_on_port = (nh->fib_nh_dev == ofdpa_port->dev); in ofdpa_port_fib_ipv4() 2743 ofdpa_port = ofdpa_port_dev_lower_find(nh->fib_nh_dev, rocker); in ofdpa_fib4_add() 2765 ofdpa_port = ofdpa_port_dev_lower_find(nh->fib_nh_dev, rocker); in ofdpa_fib4_del() 2794 ofdpa_port = ofdpa_port_dev_lower_find(nh->fib_nh_dev, rocker); in ofdpa_fib4_abort()
|
| /Linux-v5.4/net/core/ |
| D | filter.c | 4824 dev = res.nh->fib_nh_dev; in bpf_ipv6_fib_lookup()
|