Home
last modified time | relevance | path

Searched refs:nhid (Results 1 – 22 of 22) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dfdb_flush.sh301 fdb_add_mac_pool_1 vx10 nhid $nhid_1
302 fdb_add_mac_pool_2 vx10 nhid $nhid_2
304 fdb_check_n_entries_by_dev_filter vx10 $mac_pool_1_len nhid $nhid_1
305 fdb_check_n_entries_by_dev_filter vx10 $mac_pool_2_len nhid $nhid_2
310 fdb_check_n_entries_by_dev_filter vx10 $mac_pool_1_len nhid $nhid_1
313 fdb_check_n_entries_by_dev_filter vx10 0 nhid $nhid_2
322 fdb_check_n_entries_by_dev_filter vx10 0 nhid
517 local nhid=100
523 $IP nexthop add id $nhid group 10 fdb
525 fdb_add_mac_pool_1 vx10 nhid $nhid $flag $state_1
[all …]
H A Dfib_nexthop_multiprefix.sh128 ip -netns ${h[0]} ro add 172.16.10${i}.0/24 nhid 4
131 ip -netns ${h[0]} -6 ro add 2001:db8:10${i}::/64 nhid 6
283 ip -netns ${h0} ro del 172.16.102.0/24 nhid 4
284 ip -netns ${h0} -6 ro del 2001:db8:102::/64 nhid 6
H A Dicmp_redirect.sh354 run_cmd ip -netns $r1 ro add ${H2_N2} nhid 1
357 run_cmd ip -netns $r1 -6 ro add ${H2_N2_6} nhid 2
361 run_cmd ip -netns $h1 ro add ${H1_VRF_ARG} ${H2_N2} nhid 1
364 run_cmd ip -netns $h1 -6 ro add ${H1_VRF_ARG} ${H2_N2_6} nhid 2
H A Dfib_nexthop_nongw.sh87 ip -n $h1 route add 192.168.1.1 nhid 1
H A Dpmtu.sh752 [ "${nhid}" = "" ] && nhid="${i}" && continue
758 ip -n ${ns_name} -${fam} nexthop add id ${nhid} via ${gw} dev ${dev}
760 ns=""; fam=""; nhid=""; gw=""; dev=""
768 [ "${nhid}" = "" ] && nhid="${i}"
772 ip -n "${ns_name}" -"${fam}" route add "${addr}" table "${rt_table}" nhid "${nhid}"
774 ns=""; fam=""; addr=""; nhid=""
1003 run_cmd ${ns_a} ip route add ${host4_b_addr} src ${host4_a_addr} nhid 403
1010 run_cmd ${ns_b} ip route add ${host4_a_addr} src ${host4_b_addr} nhid 403
/linux/tools/testing/selftests/net/forwarding/
H A Drouter_mpath_nh.sh210 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103
215 ip route add 2001:db8:2::/64 vrf vrf-r1 nhid 106
220 ip route add 192.0.2.0/24 vrf vrf-r2 nhid 203
225 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206
347 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1001
351 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1002
355 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 103
372 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 1001
376 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 1002
380 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 106
H A Drouter_nh.sh116 ip route replace 192.0.2.0/24 nhid 101
117 ip route replace 2001:db8:1::/64 nhid 101
118 ip route replace 198.51.100.0/24 nhid 102
119 ip route replace 2001:db8:2::/64 nhid 102
H A Drouter_mpath_seed.sh102 ip -4 route add 192.0.2.32/28 vrf v$rp11 nhid 1000
103 ip -6 route add 2001:db8:3::/64 vrf v$rp11 nhid 2000
110 ip -6 route del 2001:db8:3::/64 vrf v$rp11 nhid 2000
111 ip -4 route del 192.0.2.32/28 vrf v$rp11 nhid 1000
H A Dgre_multipath_nh_res.sh106 ip route add vrf v$ol1 192.0.2.16/28 nhid 103
107 ip route add vrf v$ol1 2001:db8:2::/64 nhid 103
153 ip route add vrf v$ol2 192.0.2.0/28 nhid 203
154 ip route add vrf v$ol2 2001:db8:1::/64 nhid 203
H A Dgre_multipath_nh.sh105 ip route add vrf v$ol1 192.0.2.16/28 nhid 103
106 ip route add vrf v$ol1 2001:db8:2::/64 nhid 103
151 ip route add vrf v$ol2 192.0.2.0/28 nhid 203
152 ip route add vrf v$ol2 2001:db8:1::/64 nhid 203
H A Drouter_mpath_nh_lib.sh123 local nhid=$1; shift
125 ip nexthop replace id 9999 group "$nhid,65535" &>/dev/null
H A Drouter_mpath_nh_res.sh209 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103
215 ip route add 2001:db8:2::/64 vrf vrf-r1 nhid 106
221 ip route add 192.0.2.0/24 vrf vrf-r2 nhid 203
227 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dnexthop.sh74 local nhid
78 nhid=$1; shift
81 count=$($IP nexthop bucket show id $group_id nhid $nhid |
381 local nhid=$1; shift
385 for index in $($IP -j nexthop bucket show id $group_id nhid $nhid |
396 local nhid=$1; shift
398 $IP -j nexthop bucket show id $group_id nhid $nhid | jq length
/linux/Documentation/networking/
H A Dnexthop-group-resilient.rst262 id 10 index 0 idle_time 5.59 nhid 1
263 id 10 index 1 idle_time 5.59 nhid 1
264 id 10 index 2 idle_time 8.74 nhid 2
265 id 10 index 3 idle_time 8.74 nhid 2
266 id 10 index 4 idle_time 8.74 nhid 1
267 id 10 index 5 idle_time 8.74 nhid 1
268 id 10 index 6 idle_time 8.74 nhid 1
269 id 10 index 7 idle_time 8.74 nhid 1
/linux/drivers/net/vxlan/
H A Dvxlan_core.c823 u32 nhid, struct netlink_ext_ack *extack) in vxlan_fdb_nh_update() argument
829 if (old_nh && old_nh->id == nhid) in vxlan_fdb_nh_update()
832 nh = nexthop_find_by_id(vxlan->net, nhid); in vxlan_fdb_nh_update()
888 u32 nhid, struct vxlan_fdb **fdb, in vxlan_fdb_create() argument
904 if (nhid) in vxlan_fdb_create()
905 rc = vxlan_fdb_nh_update(vxlan, f, nhid, extack); in vxlan_fdb_create()
982 struct vxlan_fdb *f, u32 nhid, in vxlan_fdb_update_existing() argument
993 if (nhid && !rcu_access_pointer(f->nh)) { in vxlan_fdb_update_existing()
999 if (nhid && (flags & NLM_F_APPEND)) { in vxlan_fdb_update_existing()
1026 if (nhid) { in vxlan_fdb_update_existing()
[all …]
H A Dvxlan_private.h182 u32 nhid, struct vxlan_fdb **fdb,
194 __u32 ifindex, __u16 ndm_flags, u32 nhid,
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Drtnetlink.sh776 ip nexthop bucket show nhid 1
779 ip nexthop bucket show nhid 2
785 ip nexthop bucket show nhid 1
791 ip nexthop bucket show nhid 2
797 ip nexthop bucket show nhid 1
804 ip nexthop bucket show nhid 2
856 ip route replace 198.51.100.0/24 nhid 1
H A Ddevlink_trap_l3_exceptions.sh465 ip route add $dip nhid 10
475 ip route del $dip nhid 10
H A Ddevlink_trap_l3_drops.sh666 ip -$flags route add $subnet nhid 1
/linux/net/bridge/
H A Dbr_vlan_tunnel.c215 tunnel_dst->u.tun_info.key.nhid = in br_handle_egress_vlan_tunnel()
/linux/drivers/net/netdevsim/
H A Dfib.c1376 u32 nhid; in nsim_nexthop_bucket_activity_write() local
1386 if (sscanf(buf, "%u %hu", &nhid, &bucket_index) != 2) in nsim_nexthop_bucket_activity_write()
1391 nexthop = rhashtable_lookup_fast(&data->nexthop_ht, &nhid, in nsim_nexthop_bucket_activity_write()
1406 nexthop_res_grp_activity_update(net, nhid, nexthop->occ, activity); in nsim_nexthop_bucket_activity_write()
/linux/include/net/
H A Dip_tunnels.h71 u32 nhid; member