Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/net/forwarding/
Drouter.sh79 ip link set dev $rp2 up
81 tc qdisc add dev $rp2 clsact
86 ip address add 198.51.100.1/24 dev $rp2
87 ip address add 2001:db8:2::1/64 dev $rp2
92 ip address del 2001:db8:2::1/64 dev $rp2
93 ip address del 198.51.100.1/24 dev $rp2
98 tc qdisc del dev $rp2 clsact
100 ip link set dev $rp2 down
128 rp2=${NETIFS[p3]}
179 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
[all …]
Drouter_vid_1.sh64 ip link set dev $rp2 up
65 ip link add link $rp2 name $rp2.1 up type vlan id 1
67 ip address add 198.51.100.1/24 dev $rp2.1
68 ip address add 2001:db8:2::1/64 dev $rp2.1
73 ip address del 2001:db8:2::1/64 dev $rp2.1
74 ip address del 198.51.100.1/24 dev $rp2.1
76 ip link del dev $rp2.1
77 ip link set dev $rp2 down
91 rp2=${NETIFS[p3]}
Dtc_police.sh96 ip link set dev $rp2 up
100 __addr_add_del $rp2 add 198.51.100.2/24
104 tc qdisc add dev $rp2 clsact
109 tc qdisc del dev $rp2 clsact
113 __addr_add_del $rp2 del 198.51.100.2/24
117 ip link set dev $rp2 down
166 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \
172 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
215 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \
223 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
[all …]
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)
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]}
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 …]
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
Dvxlan_asymmetric.sh273 ip link set dev $rp2 master vrf-spine
276 ip link set dev $rp2 up
279 ip address add 192.0.2.2/24 dev $rp2
292 ip address del 192.0.2.2/24 dev $rp2
295 ip link set dev $rp2 down
441 rp2=${NETIFS[p6]}
Dvxlan_symmetric.sh304 ip link set dev $rp2 master vrf-spine
307 ip link set dev $rp2 up
310 ip address add 192.0.2.2/24 dev $rp2
323 ip address del 192.0.2.2/24 dev $rp2
326 ip link set dev $rp2 down
512 rp2=${NETIFS[p6]}
Dvxlan_bridge_1d.sh176 simple_if_init $rp2 192.0.2.18/28
177 __simple_if_init v1 v$rp2 192.0.2.33/28
178 __simple_if_init v3 v$rp2 192.0.2.49/28
187 simple_if_fini $rp2 192.0.2.18/28
262 rp2=${NETIFS[p6]}
Dvxlan_bridge_1q.sh236 simple_if_init $rp2 192.0.2.18/28
237 __simple_if_init v1 v$rp2 192.0.2.33/28
238 __simple_if_init v3 v$rp2 192.0.2.49/28
247 simple_if_fini $rp2 192.0.2.18/28
344 rp2=${NETIFS[p6]}
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l3_drops.sh97 ip link set dev $rp2 up
99 tc qdisc add dev $rp2 clsact
102 __addr_add_del $rp2 add 198.51.100.2/24 2001:db8:2::2/64
107 __addr_add_del $rp2 del 198.51.100.2/24 2001:db8:2::2/64
110 tc qdisc del dev $rp2 clsact
118 rp2=${NETIFS[p3]}
170 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
178 devlink_trap_drop_test $trap_name $rp2 101
182 devlink_trap_drop_cleanup $mz_pid $rp2 "ip" 1 101
199 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
[all …]
Ddevlink_trap_l3_exceptions.sh100 ip link set dev $rp2 up
102 tc qdisc add dev $rp2 clsact
105 __addr_add_del $rp2 add 198.51.100.2/24 2001:db8:2::2/64
110 __addr_add_del $rp2 del 198.51.100.2/24 2001:db8:2::2/64
113 tc qdisc del dev $rp2 clsact
121 rp2=${NETIFS[p3]}
185 mtu_set $rp2 1300
200 mtu_restore $rp2
280 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
283 $MC_CLI -I $table_name add $rp1 $src_ip $dst_ip $rp2
[all …]
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 \
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]}
154 rp2_mac=$(mac_get $rp2)
157 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -a $rp2_mac -b $rp1_mac \
212 rp2_mac=$(mac_get $rp2)
215 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -a $rp2_mac -b $rp1_mac \
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 \
243 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -b $rp1_mac \
310 ip vrf exec v$rp2 $MZ $rp2 -c 0 -d 1msec -b $rp1_mac \
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]}
175 tc qdisc add dev $rp2 clsact
180 tc filter add dev $rp2 ingress protocol ip pref $i handle $i \
192 tc filter del dev $rp2 ingress protocol ip pref $i \
196 tc qdisc del dev $rp2 clsact
206 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]}
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]}
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]}
Ddevlink_trap_control.sh126 ip link set dev $rp2 up
129 __addr_add_del $rp2 add 198.51.100.2/24 2001:db8:2::2/64
134 __addr_add_del $rp2 del 198.51.100.2/24 2001:db8:2::2/64
137 ip link set dev $rp2 down
146 rp2=${NETIFS[p3]}
529 ip -6 route add fe80:1::/64 dev $rp2
538 ip -6 route del fe80:1::/64 dev $rp2
/Linux-v5.10/drivers/mtd/nand/raw/
Dnand_ecc.c132 uint32_t rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; in __nand_calculate_ecc() local
267 rp2 = (par >> 16); in __nand_calculate_ecc()
268 rp2 ^= (rp2 >> 8); in __nand_calculate_ecc()
269 rp2 &= 0xff; in __nand_calculate_ecc()
277 rp2 = par & 0xffff; in __nand_calculate_ecc()
278 rp2 ^= (rp2 >> 8); in __nand_calculate_ecc()
279 rp2 &= 0xff; in __nand_calculate_ecc()
323 (invparity[rp3] << 3) | (invparity[rp2] << 2) | in __nand_calculate_ecc()
332 (invparity[rp3] << 3) | (invparity[rp2] << 2) | in __nand_calculate_ecc()
/Linux-v5.10/Documentation/driver-api/mtd/
Dnand_ecc.rst45 byte 0: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp2 rp4 ... rp14
46 byte 1: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp1 rp2 rp4 ... rp14
49 byte 4: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp0 rp2 rp5 ... rp14
80 - rp2 is the parity of all bytes 0, 1, 4, 5, 8, 9, ...
82 - rp3 is covers the half rp2 does not cover (bytes 2, 3, 6, 7, 10, 11, ...)
135 rp2 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp2;
217 unsigned char rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7;
222 rp0 = 0; rp1 = 0; rp2 = 0; rp3 = 0;
232 if (i & 0x02) rp3 ^= cur; else rp2 ^= cur;
246 (parity[rp2] << 2) |
[all …]
/Linux-v5.10/kernel/
Dtest_kprobes.c233 static struct kretprobe rp2 = { variable
242 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes()
/Linux-v5.10/drivers/tty/serial/
DMakefile79 obj-$(CONFIG_SERIAL_RP2) += rp2.o
DKconfig1375 module will be called rp2.
/Linux-v5.10/
DMAINTAINERS15071 F: drivers/tty/serial/rp2.*