/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | hw_stats_l3.sh | 18 # | $rp1 + + $rp2 | 20 # | $rp1.200 + + $rp2.200 | 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 [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
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 | devlink_trap_control.sh | 20 # | + $rp1 | 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) \ [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 | 19 # | + $rp1 | 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 [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_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_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_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...] |
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 | ingress_rif_conf_vxlan.sh | 40 # | + $rp1 +lo | 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_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)
|
/linux/tools/testing/selftests/net/forwarding/ |
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_vid_1.sh | 18 # | $rp1 + + $rp2 | 20 # | $rp1.1 + + $rp2.1 | 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 [all …]
|
H A D | router.sh | 16 # | $rp1 + + $rp2 | 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 [all …]
|
H A D | router_nh.sh | 13 # | $rp1 + $rp2 + | 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 | 13 # | $rp1 + | 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 [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 | 15 # | $rp1 + | 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 | 25 # | + $rp1 | 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 [all …]
|
H A D | vxlan_bridge_1q_ipv6.sh | 36 # | + $rp1 | 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 [all …]
|
/linux/Documentation/driver-api/mtd/ |
H A D | nand_ecc.rst | 46 byte 1: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp1 rp2 rp4 ... rp14 48 byte 3: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp1 rp3 rp4 ... rp14 52 byte 255: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp1 rp3 rp5 ... rp15 79 - rp1 is the parity of all odd bytes (1, 3, 5, 7, ..., 253, 255) 129 rp1 = bit7 ^ bit6 ^ bit5 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0 ^ rp1; 217 unsigned char rp0, rp1, rp2, rp3, rp4, rp5, rp6, rp7; 222 rp0 = 0; rp1 = 0; rp2 = 0; rp3 = 0; 231 if (i & 0x01) rp1 ^= cur; else rp0 ^= cur; 247 (parity[rp1] << 1) | 297 we can in the end easily calculate rp0 and rp1 from it. [all …]
|