/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | hw_stats_l3.sh | 89 ip link add name $rp1.200 link $rp1 type vlan id 200 90 ip link set dev $rp1.200 addrgenmode eui64 91 ip link set dev $rp1.200 up 92 ip address add dev $rp1.200 192.0.2.2/28 93 ip address add dev $rp1.200 2001:db8:1::2/64 94 ip stats set dev $rp1.200 l3_stats on 99 ip stats set dev $rp1.200 l3_stats off 100 ip address del dev $rp1.200 2001:db8:1::2/64 101 ip address del dev $rp1.200 192.0.2.2/28 102 ip link del dev $rp1.200 [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_control.sh | 127 ip link set dev $rp1 up 130 __addr_add_del $rp1 add 192.0.2.2/24 2001:db8:1::2/64 137 __addr_add_del $rp1 del 192.0.2.2/24 2001:db8:1::2/64 140 ip link set dev $rp1 down 146 rp1=${NETIFS[p2]} 314 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) -A 192.0.2.1 \ 338 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) -t arp reply -p 100 -q 366 "ipv6_neigh_advert" $MZ $h1 -6 -c 1 -a own -b $(mac_get $rp1) \ 374 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \ 378 $MZ $h1 -c 1 -a own -b $(mac_get $rp1) \ [all …]
|
H A D | tc_sample.sh | 18 # | + $rp1 + $rp3_lag | 131 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 ingres [all...] |
H A D | blackhole_routes.sh | 86 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 …]
|
H A D | rif_mac_profiles.sh | 48 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 …]
|
H A D | router_scale.sh | 31 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)
|
H A D | devlink_trap_tunnel_ipip.sh | 24 # | + $rp1 | 75 __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)
|
H A D | devlink_trap_tunnel_ipip6.sh | 24 # | + $rp1 | 76 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)
|
H A D | devlink_trap_l3_drops.sh | 20 # | + $rp1 | 97 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 nomaste [all...] |
H A D | devlink_trap_policer.sh | 16 # | + $rp1 | 71 ip link set dev $rp1 up 72 defer ip link set dev $rp1 down 77 __addr_add_del $rp1 add 192.0.2.2/24 78 defer __addr_add_del $rp1 del 192.0.2.2/24 83 mtu_set $rp1 10000 84 defer mtu_restore $rp1 99 rp1=${NETIFS[p2]} 104 rp1_mac=$(mac_get $rp1)
|
H A D | devlink_trap_tunnel_vxlan_ipv6.sh | 24 # | + $rp1 | 78 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)
|
H A D | ingress_rif_conf_vxlan.sh | 85 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)
|
H A D | devlink_trap_tunnel_vxlan.sh | 24 # | + $rp1 | 77 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)
|
H A D | devlink_trap_l3_exceptions.sh | 20 # | + $rp1 | 99 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 maste [all...] |
/linux/tools/testing/selftests/net/forwarding/ |
H A D | router_vid_1.sh | 83 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]}
|
H A D | tc_police.sh | 16 # | + $rp1 | 99 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 \ 157 # Rule to police traffic destined to $h2 on ingress of $rp1 158 tc filter add dev $rp1 ingres [all...] |
H A D | router.sh | 96 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 …]
|
H A D | router_nh.sh | 83 ip link set dev $rp1 up 88 ip address add 192.0.2.1/24 dev $rp1 89 ip address add 2001:db8:1::1/64 dev $rp1 100 ip address del 2001:db8:1::1/64 dev $rp1 101 ip address del 192.0.2.1/24 dev $rp1 106 ip link set dev $rp1 down 113 ip -6 nexthop add id 101 dev $rp1 125 rp1=${NETIFS[p2]} 130 rp1mac=$(mac_get $rp1)
|
H A D | router_multicast.sh | 120 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 …]
|
H A D | tc_flower_router.sh | 60 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)
|
H A D | router_broadcast.sh | 85 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
|
H A D | custom_multipath_hash.sh | 70 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]}
|
H A D | vxlan_bridge_1d_ipv6.sh | 115 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 …]
|
H A D | vxlan_bridge_1q_ipv6.sh | 151 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/arch/s390/include/asm/ |
H A D | ap.h | 505 union register_pair rp1, rp2; in ap_dqap() local 507 rp1.even = 0UL; in ap_dqap() 508 rp1.odd = 0UL; in ap_dqap() 523 [reg2] "=&d" (reg2), [rp1] "+&d" (rp1.pair), in ap_dqap() 540 *psmid = (rp1.even << 32) + rp1.odd; in ap_dqap()
|