Home
last modified time | relevance | path

Searched refs:rp2 (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Drouter.sh97 ip link set dev $rp2 up
99 tc qdisc add dev $rp2 clsact
104 ip address add 198.51.100.1/24 dev $rp2
111 ip address del 198.51.100.1/24 dev $rp2
116 tc qdisc del dev $rp2 clsact
118 ip link set dev $rp2 down
146 rp2=${NETIFS[p3]}
247 create_mcast_sg $rp1 $sip $dip $rp2
257 delete_mcast_sg $rp1 $sip $dip $rp2
319 ip route add 169.254.1.0/24 dev $rp2
[all …]
H A Drouter_vid_1.sh89 ip link set dev $rp2 up
90 ip link add link $rp2 name $rp2.1 up type vlan id 1
92 ip address add 198.51.100.1/24 dev $rp2.1
93 ip address add 2001:db8:2::1/64 dev $rp2.1
98 ip address del 2001:db8:2::1/64 dev $rp2.1
99 ip address del 198.51.100.1/24 dev $rp2.1
101 ip link del dev $rp2.1
102 ip link set dev $rp2 down
116 rp2=${NETIFS[p3]}
H A Drouter_nh.sh70 ip link set dev $rp2 up
72 tc qdisc add dev $rp2 clsact
77 ip address add 198.51.100.1/24 dev $rp2
78 ip address add 2001:db8:2::1/64 dev $rp2
83 ip address del 2001:db8:2::1/64 dev $rp2
84 ip address del 198.51.100.1/24 dev $rp2
89 tc qdisc del dev $rp2 clsact
91 ip link set dev $rp2 down
100 ip -6 nexthop add id 102 dev $rp2
113 rp2=${NETIFS[p3]}
H A Drouter_multicast.sh121 ip link set dev $rp2 up
125 ip address add 198.51.100.17/28 dev $rp2
129 ip address add 2001:db8:2::1/64 dev $rp2
140 ip address del 2001:db8:2::1/64 dev $rp2
144 ip address del 198.51.100.17/28 dev $rp2
148 ip link set dev $rp2 down
176 rp2=${NETIFS[p3]}
435 create_mcast_sg $rp1 0.0.0.0 225.1.2.3 $rp2 $rp3
446 delete_mcast_sg $rp1 0.0.0.0 225.1.2.3 $rp2 $rp3
480 create_mcast_sg $rp1 :: ff0e::3 $rp2 $rp3
[all …]
H A Dtc_flower_router.sh61 ip link set dev $rp2 up
67 ip address add 192.0.2.2/24 dev $rp2
74 ip address del 192.0.2.2/24 dev $rp2
80 ip link set dev $rp2 down
91 $tcflags indev $rp2 dst_ip 192.0.3.1 action drop
123 rp2=${NETIFS[p4]}
131 rp2mac=$(mac_get $rp2)
H A Dtc_police.sh100 ip link set dev $rp2 up
104 __addr_add_del $rp2 add 198.51.100.2/24
108 tc qdisc add dev $rp2 clsact
113 tc qdisc del dev $rp2 clsact
117 __addr_add_del $rp2 del 198.51.100.2/24
121 ip link set dev $rp2 down
176 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
227 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
294 police_mirror_common_test $rp2 egress "police tx and mirror"
398 police_mtu_common_test "police mtu (tx)" $rp2 egress
[all …]
H A Drouter_broadcast.sh86 ip link set dev $rp2 up
91 ip address add 198.51.100.1/24 dev $rp2
98 ip address del 198.51.100.1/24 dev $rp2
103 ip link set dev $rp2 down
112 rp2=${NETIFS[p3]}
148 sysctl_set net.ipv4.conf.$rp2.bc_forwarding 0
155 sysctl_set net.ipv4.conf.$rp2.bc_forwarding 1
160 sysctl_restore net.ipv4.conf.$rp2.bc_forwarding
H A Dcustom_multipath_hash.sh96 simple_if_init $rp2 203.0.113.1/24 2001:db8:4::1/64
97 __simple_if_init $rp21 v$rp2 192.0.2.2/28 2001:db8:2::2/64
98 __simple_if_init $rp22 v$rp2 192.0.2.18/28 2001:db8:3::2/64
100 ip route add vrf v$rp2 198.51.100.0/24 \
104 ip -6 route add vrf v$rp2 2001:db8:1::/64 \
111 ip -6 route del vrf v$rp2 2001:db8:1::/64
113 ip route del vrf v$rp2 198.51.100.0/24
117 simple_if_fini $rp2 203.0.113.1/24 2001:db8:4::1/64
146 rp2=${NETIFS[p7]}
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_l3_drops.sh98 ip link set dev $rp2 up
100 tc qdisc add dev $rp2 clsact
111 tc qdisc del dev $rp2 clsact
113 ip link set dev $rp2 down
122 rp2=${NETIFS[p3]}
182 devlink_trap_drop_test $trap_name $rp2 101
211 devlink_trap_drop_test $trap_name $rp2 101
246 devlink_trap_drop_test $trap_name $rp2 101
280 devlink_trap_drop_test $trap_name $rp2 101
315 devlink_trap_drop_test $trap_name $rp2 101
[all …]
H A Drif_mac_profiles.sh49 ip link set dev $rp2 up
52 tc qdisc add dev $rp2 clsact
54 ip address add 198.51.100.2/24 dev $rp2
59 ip address del 198.51.100.2/24 dev $rp2
61 tc qdisc del dev $rp2 clsact
64 ip link set dev $rp2 down
73 rp2=${NETIFS[p3]}
103 local smac=$(mac_get $rp2)
125 tc_check_packets "dev $rp2 egress" 101 10
188 local rp2_mac=$(mac_get $rp2)
[all …]
H A Ddevlink_trap_l3_exceptions.sh100 ip link set dev $rp2 up
102 tc qdisc add dev $rp2 clsact
113 tc qdisc del dev $rp2 clsact
115 ip link set dev $rp2 down
124 rp2=${NETIFS[p3]}
188 mtu_set $rp2 1300
203 mtu_restore $rp2
297 tc_check_packets "dev $rp2 egress" 101 0
380 ip neigh flush dev $rp2
502 ip link set dev $rp2 master vrf1
[all …]
H A Ddevlink_trap_tunnel_ipip.sh57 simple_if_init $rp2 198.51.100.2/28
62 simple_if_fini $rp2 198.51.100.2/28
99 rp2=${NETIFS[p4]}
163 rp2_mac=$(mac_get $rp2)
166 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -a $rp2_mac -b $rp1_mac \
196 rp2_mac=$(mac_get $rp2)
199 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -a $rp2_mac -b $rp1_mac \
H A Ddevlink_trap_tunnel_ipip6.sh57 simple_if_init $rp2 2001:db8:10::2/64
62 simple_if_fini $rp2 2001:db8:10::2/64
100 rp2=${NETIFS[p4]}
164 rp2_mac=$(mac_get $rp2)
167 ip vrf exec v$rp2 $MZ -6 $rp2 -c 0 -d 1msec -a $rp2_mac -b $rp1_mac \
196 rp2_mac=$(mac_get $rp2)
199 ip vrf exec v$rp2 $MZ -6 $rp2 -c 0 -d 1msec -a $rp2_mac -b $rp1_mac \
H A Drouter_scale.sh32 ip link set dev $rp2 up
35 ip address add 192.0.2.2/24 dev $rp2
40 ip address del 192.0.2.2/24 dev $rp2
43 ip link set dev $rp2 down
52 rp2=${NETIFS[p3]}
94 echo route add 193.${i}.${j}.${k}/32 dev $rp2 \
H A Dingress_rif_conf_vxlan.sh154 simple_if_init $rp2 198.51.100.2/24
156 ip route add 192.0.2.17/32 vrf v$rp2 nexthop via 198.51.100.1
161 ip route del 192.0.2.17/32 vrf v$rp2 nexthop via 198.51.100.1
163 simple_if_fini $rp2 198.51.100.2/24
172 rp2=${NETIFS[p4]}
258 ip vrf exec v$rp2 $MZ $rp2 -c 10 -d 1msec -b $rp1_mac \
289 ip vrf exec v$rp2 $MZ $rp2 -c 10 -d 1msec -b $rp1_mac \
H A Ddevlink_trap_tunnel_vxlan_ipv6.sh101 simple_if_init $rp2 2001:db8:3::2/64
106 simple_if_fini $rp2 2001:db8:3::2/64
115 rp2=${NETIFS[p4]}
179 ip vrf exec v$rp2 $MZ -6 $rp2 -c 0 -d 1msec -b $rp1_mac \
254 ip vrf exec v$rp2 $MZ -6 $rp2 -c 0 -d 1msec -b $rp1_mac \
325 ip vrf exec v$rp2 $MZ -6 $rp2 -c 0 -d 1msec -b $rp1_mac \
H A Ddevlink_trap_tunnel_vxlan.sh100 simple_if_init $rp2 192.0.2.18/28
105 simple_if_fini $rp2 192.0.2.18/28
114 rp2=${NETIFS[p4]}
175 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -b $rp1_mac -B 192.0.2.17 \
245 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -b $rp1_mac \
313 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -b $rp1_mac \
H A Dvxlan_flooding.sh111 simple_if_init $rp2 192.0.2.2/24
116 simple_if_fini $rp2 192.0.2.2/24
125 rp2=${NETIFS[p4]}
186 tc qdisc add dev $rp2 clsact
191 tc filter add dev $rp2 ingress protocol ip pref $i handle $i \
203 tc filter del dev $rp2 ingress protocol ip pref $i \
207 tc qdisc del dev $rp2 clsact
223 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]}
H A Dtc_sample.sh135 ip link set dev $rp2 up
136 __addr_add_del $rp2 add 198.51.100.2/28
137 tc qdisc add dev $rp2 clsact
166 tc qdisc del dev $rp2 clsact
167 __addr_add_del $rp2 del 198.51.100.2/28
168 ip link set dev $rp2 down
179 rp2=${NETIFS[p3]}
455 tc qdisc replace dev $rp2 root handle 1: \
470 tc qdisc del dev $rp2 root handle 1:
516 tc qdisc del dev $rp2 root handle 1:
[all …]
H A Dblackhole_routes.sh87 ip link set dev $rp2 up
92 __addr_add_del $rp2 add 198.51.100.2/24 2001:db8:2::2/64
97 __addr_add_del $rp2 del 198.51.100.2/24 2001:db8:2::2/64
102 ip link set dev $rp2 down
171 rp2=${NETIFS[p3]}
H A Ddevlink_trap_policer.sh80 ip link set dev $rp2 up
83 __addr_add_del $rp2 add 198.51.100.2/24
85 mtu_set $rp2 10000
98 mtu_restore $rp2
100 __addr_add_del $rp2 del 198.51.100.2/24
103 ip link set dev $rp2 down
112 rp2=${NETIFS[p3]}
/openbmc/linux/arch/s390/include/asm/
H A Dap.h497 union register_pair rp1, rp2; in ap_dqap() local
501 rp2.even = (unsigned long)msg; in ap_dqap()
502 rp2.odd = (unsigned long)msglen; in ap_dqap()
516 [rp2] "+&d" (rp2.pair) in ap_dqap()
522 if (reg2 != 0 && rp2.odd == 0) { in ap_dqap()
539 *length = msglen - rp2.odd; in ap_dqap()
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Dvxlan_flooding_ipv6.sh112 simple_if_init $rp2 2001:db8:3::2/64
117 simple_if_fini $rp2 2001:db8:3::2/64
126 rp2=${NETIFS[p4]}
176 tc qdisc add dev $rp2 clsact
181 tc filter add dev $rp2 ingress protocol ipv6 pref $i handle $i \
193 tc filter del dev $rp2 ingress protocol ipv6 pref $i \
197 tc qdisc del dev $rp2 clsact
207 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]}
/openbmc/linux/drivers/mtd/nand/
H A Decc-sw-hamming.c123 u32 rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7, rp8, rp9, rp10, rp11, rp12, in ecc_sw_hamming_calculate() local
259 rp2 = (par >> 16); in ecc_sw_hamming_calculate()
260 rp2 ^= (rp2 >> 8); in ecc_sw_hamming_calculate()
261 rp2 &= 0xff; in ecc_sw_hamming_calculate()
269 rp2 = par & 0xffff; in ecc_sw_hamming_calculate()
270 rp2 ^= (rp2 >> 8); in ecc_sw_hamming_calculate()
271 rp2 &= 0xff; in ecc_sw_hamming_calculate()
315 (invparity[rp3] << 3) | (invparity[rp2] << 2) | in ecc_sw_hamming_calculate()
324 (invparity[rp3] << 3) | (invparity[rp2] << 2) | in ecc_sw_hamming_calculate()
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Dvxlan_flooding_ipv6.sh112 simple_if_init $rp2 2001:db8:3::2/64
117 simple_if_fini $rp2 2001:db8:3::2/64
126 rp2=${NETIFS[p4]}
187 tc qdisc add dev $rp2 clsact
192 tc filter add dev $rp2 ingress protocol ipv6 pref $i handle $i \
204 tc filter del dev $rp2 ingress protocol ipv6 pref $i \
208 tc qdisc del dev $rp2 clsact
224 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]}

12