Home
last modified time | relevance | path

Searched refs:rp1 (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.1.9/tools/testing/selftests/net/forwarding/
Dhw_stats_l3.sh87 ip link add name $rp1.200 up \
88 link $rp1 addrgenmode eui64 type vlan id 200
89 ip address add dev $rp1.200 192.0.2.2/28
90 ip address add dev $rp1.200 2001:db8:1::2/64
91 ip stats set dev $rp1.200 l3_stats on
96 ip stats set dev $rp1.200 l3_stats off
97 ip address del dev $rp1.200 2001:db8:1::2/64
98 ip address del dev $rp1.200 192.0.2.2/28
99 ip link del dev $rp1.200
104 ip link set dev $rp1 up
[all …]
Drouter_vid_1.sh83 ip link set dev $rp1 up
84 ip link add link $rp1 name $rp1.1 up type vlan id 1
86 ip address add 192.0.2.1/24 dev $rp1.1
87 ip address add 2001:db8:1::1/64 dev $rp1.1
104 ip address del 2001:db8:1::1/64 dev $rp1.1
105 ip address del 192.0.2.1/24 dev $rp1.1
107 ip link del dev $rp1.1
108 ip link set dev $rp1 down
114 rp1=${NETIFS[p2]}
Dtc_police.sh99 ip link set dev $rp1 up
103 __addr_add_del $rp1 add 192.0.2.2/24
107 tc qdisc add dev $rp1 clsact
114 tc qdisc del dev $rp1 clsact
118 __addr_add_del $rp1 del 192.0.2.2/24
122 ip link set dev $rp1 down
136 mausezahn $h1 -a own -b $(mac_get $rp1) -A 192.0.2.1 -B 198.51.100.1 \
158 tc filter add dev $rp1 ingress protocol ip pref 1 handle 101 flower \
164 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower
186 mausezahn $h1 -a own -b $(mac_get $rp1) -A 192.0.2.1 -B 198.51.100.1 \
[all …]
Drouter.sh96 ip link set dev $rp1 up
101 ip address add 192.0.2.1/24 dev $rp1
102 ip address add 2001:db8:1::1/64 dev $rp1
113 ip address del 2001:db8:1::1/64 dev $rp1
114 ip address del 192.0.2.1/24 dev $rp1
119 ip link set dev $rp1 down
144 rp1=${NETIFS[p2]}
149 rp1mac=$(mac_get $rp1)
195 sysctl_set net.ipv4.conf.$rp1.rp_filter 0
209 sysctl_restore net.ipv4.conf.$rp1.rp_filter
[all …]
Drouter_nh.sh69 ip link set dev $rp1 up
74 ip address add 192.0.2.1/24 dev $rp1
75 ip address add 2001:db8:1::1/64 dev $rp1
86 ip address del 2001:db8:1::1/64 dev $rp1
87 ip address del 192.0.2.1/24 dev $rp1
92 ip link set dev $rp1 down
99 ip -6 nexthop add id 101 dev $rp1
111 rp1=${NETIFS[p2]}
116 rp1mac=$(mac_get $rp1)
Drouter_multicast.sh120 ip link set dev $rp1 up
124 ip address add 198.51.100.1/28 dev $rp1
128 ip address add 2001:db8:1::1/64 dev $rp1
141 ip address del 2001:db8:1::1/64 dev $rp1
145 ip address del 198.51.100.1/28 dev $rp1
149 ip link set dev $rp1 down
174 rp1=${NETIFS[p2]}
245 create_mcast_sg $rp1 198.51.100.2 225.1.2.3 $rp2 $rp3
256 delete_mcast_sg $rp1 198.51.100.2 225.1.2.3 $rp2 $rp3
285 create_mcast_sg $rp1 2001:db8:1::2 ff0e::3 $rp2 $rp3
[all …]
Dtc_flower_router.sh60 ip link set dev $rp1 up
66 ip address add 192.0.1.2/24 dev $rp1
75 ip address del 192.0.1.2/24 dev $rp1
81 ip link set dev $rp1 down
89 $tcflags indev $rp1 dst_ip 192.0.3.1 action drop
120 rp1=${NETIFS[p2]}
129 rp1mac=$(mac_get $rp1)
Drouter_broadcast.sh85 ip link set dev $rp1 up
89 ip address add 192.0.2.1/24 dev $rp1
100 ip address del 192.0.2.1/24 dev $rp1
104 ip link set dev $rp1 down
110 rp1=${NETIFS[p2]}
147 sysctl_set net.ipv4.conf.$rp1.bc_forwarding 0
154 sysctl_set net.ipv4.conf.$rp1.bc_forwarding 1
161 sysctl_restore net.ipv4.conf.$rp1.bc_forwarding
Dcustom_multipath_hash.sh70 simple_if_init $rp1 198.51.100.1/24 2001:db8:1::1/64
71 __simple_if_init $rp11 v$rp1 192.0.2.1/28 2001:db8:2::1/64
72 __simple_if_init $rp12 v$rp1 192.0.2.17/28 2001:db8:3::1/64
74 ip route add vrf v$rp1 203.0.113.0/24 \
78 ip -6 route add vrf v$rp1 2001:db8:4::/64 \
85 ip -6 route del vrf v$rp1 2001:db8:4::/64
87 ip route del vrf v$rp1 203.0.113.0/24
91 simple_if_fini $rp1 198.51.100.1/24 2001:db8:1::1/64
138 rp1=${NETIFS[p2]}
Dvxlan_bridge_1d_ipv6.sh115 ip address add dev $rp1 2001:db8:3::1/64
126 ip address del dev $rp1 2001:db8:3::1/64
137 ip link set dev $rp1 up
139 tc qdisc add dev $rp1 clsact
174 tc qdisc del dev $rp1 clsact
176 ip link set dev $rp1 down
273 rp1=${NETIFS[p5]}
345 tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \
360 tc_check_at_least_x_packets "dev $rp1 egress" 101 10 100
369 tc filter del dev $rp1 egress
[all …]
Dvxlan_bridge_1q_ipv6.sh151 ip address add dev $rp1 2001:db8:3::1/64
162 ip address del dev $rp1 2001:db8:3::1/64
174 ip link set dev $rp1 up
176 tc qdisc add dev $rp1 clsact
243 tc qdisc del dev $rp1 clsact
245 ip link set dev $rp1 down
362 rp1=${NETIFS[p5]}
448 tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \
463 tc_check_at_least_x_packets "dev $rp1 egress" 101 10 100
472 tc filter del dev $rp1 egress
[all …]
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_control.sh126 ip link set dev $rp1 up
129 __addr_add_del $rp1 add 192.0.2.2/24 2001:db8:1::2/64
136 __addr_add_del $rp1 del 192.0.2.2/24 2001:db8:1::2/64
139 ip link set dev $rp1 down
145 rp1=${NETIFS[p2]}
313 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) -A 192.0.2.1 \
337 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) -t arp reply -p 100 -q
365 "ipv6_neigh_advert" $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \
373 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
377 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \
[all …]
Dblackhole_routes.sh86 ip link set dev $rp1 up
89 tc qdisc add dev $rp1 clsact
91 __addr_add_del $rp1 add 192.0.2.2/24 2001:db8:1::2/64
98 __addr_add_del $rp1 del 192.0.2.2/24 2001:db8:1::2/64
100 tc qdisc del dev $rp1 clsact
103 ip link set dev $rp1 down
123 tc filter add dev $rp1 ingress protocol ip pref 1 handle 101 flower \
133 tc_check_packets "dev $rp1 ingress" 101 0
138 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower
147 tc filter add dev $rp1 ingress protocol ipv6 pref 1 handle 101 flower \
[all …]
Dtc_sample.sh131 ip link set dev $rp1 up
132 __addr_add_del $rp1 add 192.0.2.2/28
133 tc qdisc add dev $rp1 clsact
170 tc qdisc del dev $rp1 clsact
171 __addr_add_del $rp1 del 192.0.2.2/28
172 ip link set dev $rp1 down
178 rp1=${NETIFS[p2]}
232 tc filter add dev $rp1 ingress protocol all pref 1 handle 101 matchall \
250 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall
263 tc filter add dev $rp1 ingress protocol all pref 1 handle 101 matchall \
[all …]
Drif_mac_profiles.sh48 ip link set dev $rp1 up
51 tc qdisc add dev $rp1 clsact
53 ip address add 192.0.2.2/24 dev $rp1
60 ip address del 192.0.2.2/24 dev $rp1
62 tc qdisc del dev $rp1 clsact
65 ip link set dev $rp1 down
71 rp1=${NETIFS[p2]}
122 $MZ $h1 -a own -b $(mac_get $rp1) -t udp "sp=12345,dp=54321" \
141 local rp1_mac=$(mac_get $rp1)
145 ip neigh replace dev $rp1 192.0.2.1 lladdr $(mac_get $h1)
[all …]
Drouter_scale.sh31 ip link set dev $rp1 up
34 ip address add 192.0.1.2/24 dev $rp1
41 ip address del 192.0.1.2/24 dev $rp1
44 ip link set dev $rp1 down
50 rp1=${NETIFS[p2]}
56 rp1mac=$(mac_get $rp1)
Ddevlink_trap_tunnel_ipip.sh75 __addr_add_del $rp1 add 198.51.100.1/28
76 ip link set dev $rp1 up
81 ip link set dev $rp1 down
82 __addr_add_del $rp1 del 198.51.100.1/28
98 rp1=${NETIFS[p3]}
162 rp1_mac=$(mac_get $rp1)
195 rp1_mac=$(mac_get $rp1)
Ddevlink_trap_l3_drops.sh97 ip link set dev $rp1 up
102 __addr_add_del $rp1 add 192.0.2.2/24 2001:db8:1::2/64
109 __addr_add_del $rp1 del 192.0.2.2/24 2001:db8:1::2/64
114 ip link set dev $rp1 down
120 rp1=${NETIFS[p2]}
126 rp1mac=$(mac_get $rp1)
570 ip link set dev $rp1 master br0
571 ip address flush dev $rp1
599 ip link set dev $rp1 nomaster
600 __addr_add_del $rp1 add 192.0.2.2/24 2001:db8:1::2/64
[all …]
Ddevlink_trap_policer.sh79 ip link set dev $rp1 up
82 __addr_add_del $rp1 add 192.0.2.2/24
84 mtu_set $rp1 10000
99 mtu_restore $rp1
101 __addr_add_del $rp1 del 192.0.2.2/24
104 ip link set dev $rp1 down
110 rp1=${NETIFS[p2]}
115 rp1_mac=$(mac_get $rp1)
Ddevlink_trap_tunnel_vxlan_ipv6.sh78 ip link set dev $rp1 up
79 ip address add dev $rp1 2001:db8:3::1/64
84 ip address del dev $rp1 2001:db8:3::1/64
85 ip link set dev $rp1 down
114 rp1=${NETIFS[p3]}
176 rp1_mac=$(mac_get $rp1)
252 rp1_mac=$(mac_get $rp1)
322 rp1_mac=$(mac_get $rp1)
Dingress_rif_conf_vxlan.sh85 ip link set dev $rp1 up
86 ip address add dev $rp1 198.51.100.1/24
145 ip address del dev $rp1 198.51.100.1/24
146 ip link set dev $rp1 down
171 rp1=${NETIFS[p3]}
199 local src_mac=$(mac_get $rp1)
244 local rp1_mac=$(mac_get $rp1)
275 local rp1_mac=$(mac_get $rp1)
Ddevlink_trap_tunnel_vxlan.sh77 ip address add dev $rp1 192.0.2.17/28
78 ip link set dev $rp1 up
83 ip link set dev $rp1 down
84 ip address del dev $rp1 192.0.2.17/28
113 rp1=${NETIFS[p3]}
172 rp1_mac=$(mac_get $rp1)
243 rp1_mac=$(mac_get $rp1)
310 rp1_mac=$(mac_get $rp1)
Ddevlink_trap_l3_exceptions.sh99 ip link set dev $rp1 up
104 __addr_add_del $rp1 add 192.0.2.2/24 2001:db8:1::2/64
111 __addr_add_del $rp1 del 192.0.2.2/24 2001:db8:1::2/64
116 ip link set dev $rp1 down
122 rp1=${NETIFS[p2]}
127 rp1mac=$(mac_get $rp1)
286 $MC_CLI -I $table_name add $rp1 $src_ip $dst_ip $rp2
497 sysctl_set net.ipv6.conf.$rp1.keep_addr_on_down 1
501 ip link set dev $rp1 master vrf1
511 ip link set dev $rp1 nomaster
[all …]
/linux-6.1.9/arch/s390/include/asm/
Dap.h388 union register_pair rp1, rp2; in ap_dqap() local
390 rp1.even = 0UL; in ap_dqap()
391 rp1.odd = 0UL; in ap_dqap()
406 [rp1] "+&d" (rp1.pair), [rp2] "+&d" (rp2.pair) in ap_dqap()
422 *psmid = (((unsigned long long)rp1.even) << 32) + rp1.odd; in ap_dqap()
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Ddevlink_trap_tunnel_ipip6.sh76 ip link set dev $rp1 up
77 __addr_add_del $rp1 add 2001:db8:10::1/64
82 __addr_add_del $rp1 del 2001:db8:10::1/64
83 ip link set dev $rp1 down
99 rp1=${NETIFS[p3]}
163 rp1_mac=$(mac_get $rp1)
195 rp1_mac=$(mac_get $rp1)

12