/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_l3_drops.sh | 98 ip link set dev $rp2 up 100 tc qdisc add dev $rp2 clsact 103 __addr_add_del $rp2 add 198.51.100.2/24 2001:db8:2::2/64 108 __addr_add_del $rp2 del 198.51.100.2/24 2001:db8:2::2/64 111 tc qdisc del dev $rp2 clsact 113 ip link set dev $rp2 down 122 rp2=${NETIFS[p3]} 174 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \ 182 devlink_trap_drop_test $trap_name $rp2 101 186 devlink_trap_drop_cleanup $mz_pid $rp2 "ip" 1 101 [all …]
|
H A D | rif_mac_profiles.sh | 49 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) 108 ip neigh replace dev $rp2 198.51.100.1 lladdr $(mac_get $h2) 112 tc filter add dev $rp2 egress proto ip pref 1 handle 101 \ [all …]
|
H A D | devlink_trap_l3_exceptions.sh | 100 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 115 ip link set dev $rp2 down 124 rp2=${NETIFS[p3]} 188 mtu_set $rp2 1300 203 mtu_restore $rp2 283 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \ [all …]
|
H A D | devlink_trap_tunnel_ipip.sh | 57 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 D | devlink_trap_tunnel_ipip6.sh | 57 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 D | router_scale.sh | 32 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 D | devlink_trap_tunnel_vxlan_ipv6.sh | 101 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 D | ingress_rif_conf_vxlan.sh | 154 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 D | devlink_trap_tunnel_vxlan.sh | 100 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 D | tc_sample.sh | 135 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]} 395 rp2_ifindex=$(ip -j -p link show dev $rp2 | jq '.[]["ifindex"]') 455 tc qdisc replace dev $rp2 root handle 1: \ 470 tc qdisc del dev $rp2 root handle 1: [all …]
|
H A D | vxlan_flooding.sh | 111 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 D | devlink_trap_policer.sh | 80 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]}
|
H A D | blackhole_routes.sh | 87 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]}
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | router.sh | 97 ip link set dev $rp2 up 99 tc qdisc add dev $rp2 clsact 104 ip address add 198.51.100.1/24 dev $rp2 105 ip address add 2001:db8:2::1/64 dev $rp2 110 ip address del 2001:db8:2::1/64 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]} 197 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \ [all …]
|
H A D | router_vid_1.sh | 89 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 D | router_nh.sh | 84 ip link set dev $rp2 up 86 tc qdisc add dev $rp2 clsact 91 ip address add 198.51.100.1/24 dev $rp2 92 ip address add 2001:db8:2::1/64 dev $rp2 97 ip address del 2001:db8:2::1/64 dev $rp2 98 ip address del 198.51.100.1/24 dev $rp2 103 tc qdisc del dev $rp2 clsact 105 ip link set dev $rp2 down 114 ip -6 nexthop add id 102 dev $rp2 127 rp2=${NETIFS[p3]}
|
H A D | router_multicast.sh | 121 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 …]
|
H A D | tc_police.sh | 100 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 170 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \ 176 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower 219 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \ 227 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower [all …]
|
H A D | tc_flower_router.sh | 61 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 D | router_broadcast.sh | 86 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 D | custom_multipath_hash.sh | 96 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]}
|
/linux/arch/s390/include/asm/ |
H A D | ap.h | 505 union register_pair rp1, rp2; in ap_dqap() local 509 rp2.even = (unsigned long)msg; in ap_dqap() 510 rp2.odd = (unsigned long)msglen; in ap_dqap() 524 [rp2] "+&d" (rp2.pair) in ap_dqap() 530 if (reg2 != 0 && rp2.odd == 0) { in ap_dqap() 547 *length = msglen - rp2.odd; in ap_dqap()
|
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
H A D | vxlan_flooding_ipv6.sh | 112 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]}
|
/linux/drivers/mtd/nand/ |
H A D | ecc-sw-hamming.c | 123 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()
|
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | vxlan_flooding_ipv6.sh | 112 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]}
|