Searched refs:fib_nh_dev (Results 1 – 18 of 18) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
A D | mp.c | 134 struct net_device *nh_dev = nh->fib_nh_dev; in mlx5_lag_fib_route_event() 153 if (!(fib_nh0->fib_nh_dev == ldev->pf[MLX5_LAG_P1].netdev && in mlx5_lag_fib_route_event() 154 fib_nh1->fib_nh_dev == ldev->pf[MLX5_LAG_P2].netdev) && in mlx5_lag_fib_route_event() 155 !(fib_nh0->fib_nh_dev == ldev->pf[MLX5_LAG_P2].netdev && in mlx5_lag_fib_route_event() 156 fib_nh1->fib_nh_dev == ldev->pf[MLX5_LAG_P1].netdev)) { in mlx5_lag_fib_route_event() 187 int i = mlx5_lag_dev_get_netdev_idx(ldev, fib_nh->fib_nh_dev); in mlx5_lag_fib_nexthop_event() 275 fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlx5_lag_fib_event()
|
/linux/net/ipv4/ |
A D | fib_semantics.c | 269 if (!nexthop_nh->fib_nh_dev) in fib_release_info() 440 if (nh->fib_nh_dev == dev && in ip_fib_check_default() 1045 nh->fib_nh_dev = fib6_nh.fib_nh_dev; in fib_check_nh_v6_gw() 1046 dev_hold(nh->fib_nh_dev); in fib_check_nh_v6_gw() 1129 nh->fib_nh_dev = dev; in fib_check_nh_v4_gw() 1217 nh->fib_nh_dev = in_dev->dev; in fib_check_nh_nongw() 1218 dev_hold(nh->fib_nh_dev); in fib_check_nh_nongw() 1546 if (!nh->fib_nh_dev) in fib_create_info() 1607 if (!nexthop_nh->fib_nh_dev) in fib_create_info() 1967 if (nh->fib_nh_dev == dev) in fib_sync_mtu() [all …]
|
A D | nexthop.c | 1128 n = __ipv6_neigh_lookup_noref_stub(nh->fib_nh_dev, &nh->fib_nh_gw6); in ipv6_good_nh() 1144 n = __ipv4_neigh_lookup_noref(nh->fib_nh_dev, in ipv4_good_nh()
|
/linux/include/trace/events/ |
A D | fib6.h | 65 if (res->nh && res->nh->fib_nh_dev) { 66 __assign_str(name, res->nh->fib_nh_dev);
|
/linux/net/ipv6/ |
A D | route.c | 472 dev = nh->fib_nh_dev; in __rt6_device_match() 632 dev = fib6_nh->fib_nh_dev; in rt6_probe() 1946 if (arg->dev != nh->fib_nh_dev || in fib6_nh_find_match() 3421 if (dev != res.nh->fib_nh_dev) in ip6_route_check_nh() 3424 *_dev = dev = res.nh->fib_nh_dev; in ip6_route_check_nh() 3630 fib6_nh->fib_nh_dev = dev; in fib6_nh_init() 4108 (!nh->fib_nh_dev || in ip6_route_del() 4367 if (dev == nh->fib_nh_dev && in rt6_get_dflt_router() 4802 if (rt->fib6_nh->fib_nh_dev == dev) in rt6_multipath_uses_dev() 4933 if (nh->fib_nh_dev == arg->dev) { in fib6_nh_mtu_change() [all …]
|
A D | fib6_rules.c | 188 res->nh->fib_nh_dev); in fib6_rule_action_alt()
|
A D | ndisc.c | 1297 rt->fib6_nh->fib_nh_dev, NULL, in ndisc_router_discovery() 1330 rt->fib6_nh->fib_nh_dev, NULL, in ndisc_router_discovery()
|
A D | ip6_fib.c | 2509 dev = fib6_nh->fib_nh_dev; in ipv6_route_native_seq_show()
|
A D | addrconf.c | 2453 if (rt->fib6_nh->fib_nh_dev->ifindex != dev->ifindex) in addrconf_get_prefix_route()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | bpf_iter_ipv6_route.c | 47 dev = fib6_nh->fib_nh_dev; in dump_ipv6_route()
|
A D | bpf_tracing_net.h | 28 #define fib_nh_dev nh_common.nhc_dev macro
|
/linux/include/net/ |
A D | ip6_route.h | 314 return nha->fib_nh_dev == nhb->fib_nh_dev && in rt6_duplicate_nexthop()
|
A D | nexthop.h | 528 return fib6_nh->fib_nh_dev; in fib6_info_nh_dev()
|
A D | ip_fib.h | 113 #define fib_nh_dev nh_common.nhc_dev macro
|
/linux/drivers/net/ethernet/rocker/ |
A D | rocker_ofdpa.c | 2287 nh_on_port = (nh->fib_nh_dev == ofdpa_port->dev); in ofdpa_port_fib_ipv4() 2731 ofdpa_port = ofdpa_port_dev_lower_find(nh->fib_nh_dev, rocker); in ofdpa_fib4_add() 2753 ofdpa_port = ofdpa_port_dev_lower_find(nh->fib_nh_dev, rocker); in ofdpa_fib4_del() 2782 ofdpa_port = ofdpa_port_dev_lower_find(nh->fib_nh_dev, rocker); in ofdpa_fib4_abort()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_router.c | 3255 ifindex = fib6_nh->fib_nh_dev->ifindex; in mlxsw_sp_nexthop6_group_cmp() 3325 struct net_device *dev = fib6_nh->fib_nh_dev; in mlxsw_sp_nexthop6_group_hash() 4254 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_ipip_type() 4317 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_init() 4383 mlxsw_sp_nexthop_type_init(mlxsw_sp, nh, fib_nh->fib_nh_dev); in mlxsw_sp_nexthop4_event() 5539 if (nh->rif && nh->rif->dev == rt->fib6_nh->fib_nh_dev && in mlxsw_sp_rt6_nexthop() 6672 return rt->fib6_nh->fib_nh_dev && in mlxsw_sp_nexthop6_ipip_type() 6673 mlxsw_sp_netdev_ipip_type(mlxsw_sp, rt->fib6_nh->fib_nh_dev, ret); in mlxsw_sp_nexthop6_ipip_type() 6681 struct net_device *dev = rt->fib6_nh->fib_nh_dev; in mlxsw_sp_nexthop6_init()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | tc_tun_encap.c | 1582 fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlx5e_init_fib_work_ipv4()
|
/linux/net/core/ |
A D | filter.c | 5598 dev = res.nh->fib_nh_dev; in bpf_ipv6_fib_lookup()
|
Completed in 95 milliseconds