Home
last modified time | relevance | path

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

12345678

/tools/testing/selftests/net/forwarding/
Dethtool.sh18 simple_if_init $h1 192.0.2.1/24
23 simple_if_fini $h1 192.0.2.1/24
38 h1=${NETIFS[p1]}
57 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 0))
61 ethtool_set $h1 speed $speed autoneg off
64 setup_wait_dev_with_timeout $h1
66 ping_do $h1 192.0.2.2
73 ethtool -s $h1 autoneg on
82 local -a speeds_arr=($(different_speeds_get $h1 $h2 0 0))
86 ethtool_set $h1 speed $speed1 autoneg off
[all …]
Dloopback.sh14 simple_if_init $h1 192.0.2.1/24
15 tc qdisc add dev $h1 clsact
20 tc qdisc del dev $h1 clsact
21 simple_if_fini $h1 192.0.2.1/24
38 tc filter add dev $h1 ingress protocol arp pref 1 handle 101 flower \
41 $MZ $h1 -c 1 -t arp -q
43 tc_check_packets "dev $h1 ingress" 101 1
46 ethtool -K $h1 loopback on
49 setup_wait_dev $h1
51 $MZ $h1 -c 1 -t arp -q
[all …]
Drouter_bridge_vlan.sh47 simple_if_init $h1
49 vlan_create $h1 555 v$h1 192.0.2.1/28 2001:db8:1::1/64
50 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2
51 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
53 vlan_create $h1 777 v$h1 192.0.2.17/28 2001:db8:3::1/64
54 ip -4 route add 192.0.2.144/28 vrf v$h1 nexthop via 192.0.2.18
55 ip -6 route add 2001:db8:4::/64 vrf v$h1 nexthop via 2001:db8:3::2
60 ip -6 route del 2001:db8:4::/64 vrf v$h1
61 ip -4 route del 192.0.2.144/28 vrf v$h1
62 vlan_destroy $h1 777
[all …]
Drouter_bridge_1d.sh41 simple_if_init $h1
42 vlan_create $h1 100 v$h1 192.0.2.1/28 2001:db8:1::1/64
43 vlan_create $h1 200 v$h1 192.0.2.17/28 2001:db8:3::1/64
44 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2
45 ip -4 route add 192.0.2.144/28 vrf v$h1 nexthop via 192.0.2.18
46 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
47 ip -6 route add 2001:db8:4::/64 vrf v$h1 nexthop via 2001:db8:3::2
52 ip -6 route del 2001:db8:4::/64 vrf v$h1
53 ip -6 route del 2001:db8:2::/64 vrf v$h1
54 ip -4 route del 192.0.2.144/28 vrf v$h1
[all …]
Dbridge_locked_port.sh21 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
22 vlan_create $h1 100 v$h1 198.51.100.1/24
27 vlan_destroy $h1 100
28 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
67 h1=${NETIFS[p1]}
99 ping_do $h1 192.0.2.2
104 ping_do $h1 192.0.2.2
107 bridge fdb add `mac_get $h1` dev $swp1 master static
109 ping_do $h1 192.0.2.2
113 bridge fdb del `mac_get $h1` dev $swp1 master static
[all …]
Dtc_tunnel_key.sh16 simple_if_init $h1 192.0.2.1/24
18 mtu_set $h1 1500
19 tunnel_create h1-et vxlan 192.0.2.1 192.0.2.2 dev $h1 dstport 0 external
20 tc qdisc add dev h1-et clsact
21 mtu_set h1-et 1230
22 mtu_restore $h1
23 mtu_set $h1 1000
28 tc qdisc del dev h1-et clsact
29 tunnel_destroy h1-et
31 mtu_restore $h1
[all …]
Dno_forwarding.sh9 h1=${NETIFS[p1]}
93 local smac=$(mac_get $h1)
95 local h1_ipv6_lladdr=$(ipv6_lladdr_get $h1)
102 send_non_ip $h1 $smac $dmac
103 send_non_ip $h1 $smac $NON_IP_MC
104 send_non_ip $h1 $smac $BC
105 send_uc_ipv4 $h1 $dmac
106 send_mc_ipv4 $h1
107 send_uc_ipv6 $h1 $dmac
108 send_mc_ipv6 $h1
[all …]
Dcustom_multipath_hash.sh56 simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64
57 ip route add vrf v$h1 default via 198.51.100.1 dev $h1
58 ip -6 route add vrf v$h1 default via 2001:db8:1::1 dev $h1
63 ip -6 route del vrf v$h1 default
64 ip route del vrf v$h1 default
65 simple_if_fini $h1 198.51.100.2/24 2001:db8:1::2/64
136 h1=${NETIFS[p1]}
174 ping_test $h1 203.0.113.2
179 ping6_test $h1 2001:db8:4::2
184 ip vrf exec v$h1 $MZ $h1 -q -p 64 \
[all …]
Dbridge_mld.sh69 simple_if_init $h1 2001:db8:1::1/64
74 simple_if_fini $h1 2001:db8:1::1/64
114 h1=${NETIFS[p1]}
171 mldv2include_prepare $h1
207 mldv2include_prepare $h1
224 mldv2include_prepare $h1
226 $MZ $h1 -c 1 $MZPKT_ALLOW -q
245 mldv2include_prepare $h1
247 $MZ $h1 -c 1 $MZPKT_IS_INC2 -q
265 mldv2exclude_prepare $h1
[all …]
Dtc_actions.sh18 simple_if_init $h1 192.0.2.1/24
19 tc qdisc add dev $h1 clsact
24 tc qdisc del dev $h1 clsact
25 simple_if_fini $h1 192.0.2.1/24
68 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
78 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
98 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
107 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
136 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
145 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
[all …]
Dlocal_termination.sh47 h1=${NETIFS[p1]}
108 local smac=$(mac_get $h1)
113 mc_route_prepare $h1
116 send_uc_ipv4 $h1 $rcv_dmac
117 send_uc_ipv4 $h1 $MACVLAN_ADDR
118 send_uc_ipv4 $h1 $UNKNOWN_UC_ADDR1
121 send_uc_ipv4 $h1 $UNKNOWN_UC_ADDR2
122 mc_send $h1 $UNKNOWN_IPV4_MC_ADDR2
123 mc_send $h1 $UNKNOWN_IPV6_MC_ADDR2
127 mc_send $h1 $JOINED_IPV4_MC_ADDR
[all …]
Drouter_nh.sh16 ip link set dev $h1 master vrf-h1
18 ip link set dev vrf-h1 up
19 ip link set dev $h1 up
21 ip address add 192.0.2.2/24 dev $h1
22 ip address add 2001:db8:1::2/64 dev $h1
24 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
25 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
30 ip route del 2001:db8:2::/64 vrf vrf-h1
31 ip route del 198.51.100.0/24 vrf vrf-h1
33 ip address del 2001:db8:1::2/64 dev $h1
[all …]
Drouter_vid_1.sh36 ip link set dev vrf-h1 up
38 ip link set dev $h1 up
39 vlan_create $h1 1 vrf-h1 192.0.2.2/24 2001:db8:1::2/64
41 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
42 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
47 ip route del 2001:db8:2::/64 vrf vrf-h1
48 ip route del 198.51.100.0/24 vrf vrf-h1
50 vlan_destroy $h1 1
51 ip link set dev $h1 down
53 ip link set dev vrf-h1 down
[all …]
Drouter_bridge_pvid_vlan_upper.sh34 simple_if_init $h1
35 vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64
36 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2
37 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
42 ip -6 route del 2001:db8:2::/64 vrf v$h1
43 ip -4 route del 192.0.2.128/28 vrf v$h1
44 vlan_destroy $h1 10
45 simple_if_fini $h1
96 h1=${NETIFS[p1]}
140 ping_test $h1 192.0.2.130
[all …]
Dethtool_mm.sh77 manual_with_verification $h1 $h2
82 manual_with_verification $h2 $h1
111 manual_without_verification $h1 $h2
116 manual_without_verification $h2 $h1
150 manual_failed_verification $h1 $h2
155 manual_failed_verification $h2 $h1
162 lldptool -T -i $h1 -V addEthCaps addFragSize=$add_frag_size >/dev/null
176 lldptool -L -i $h1 adminStatus=rxtx >/dev/null
180 lldptool -T -i $h1 -V addEthCaps enableTx=yes >/dev/null
186 lldptool -i $h1 -t -n -V addEthCaps | \
[all …]
/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_control.sh95 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
97 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
98 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
103 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
104 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2
106 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
145 h1=${NETIFS[p1]}
173 devlink_trap_stats_test "STP" "stp" $MZ $h1 -c 1 -t bpdu -q
191 local h1mac=$(mac_get $h1)
193 devlink_trap_stats_test "LACP" "lacp" $MZ $h1 -c 1 \
[all …]
Drif_mac_profiles_occ.sh15 h1=${NETIFS[p1]}
20 sysctl_set net.ipv6.conf.$h1.disable_ipv6 1
23 ip link set $h1 up
32 ip link set $h1 down
35 sysctl_restore net.ipv6.conf.$h1.disable_ipv6
51 link add link $h1 name $h1.$vlan \
53 address add 192.0.$m.1/24 dev $h1.$vlan
63 local h1_10_mac=$(mac_get $h1.10)
67 ip link set $h1.10 address 00:12:34:56:78:99
72 ip link set $h1.10 address $h1_10_mac
[all …]
Dsch_offload.sh23 h=$(qdisc_stats_get $h1 "$handle" .handle)
27 offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded)
37 local offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded)
42 local unoffloaded=$(tc q sh dev $h1 invisible |
57 tc qdisc add dev $h1 $locus handle $handle \
60 tc qdisc del dev $h1 $locus
68 tc qdisc add dev $h1 $locus handle $handle \
71 tc qdisc del dev $h1 $locus
79 tc qdisc add dev $h1 $locus handle $handle \
82 tc qdisc del dev $h1 $locus
[all …]
/tools/testing/selftests/net/
Dfib_nexthop_nongw.sh67 ip netns add h1
68 ip -n h1 link set lo up
73 ip -n h1 link add name eth0 type dummy
74 ip -n h1 link set eth0 up
75 ip -n h1 address add 192.168.0.1/24 dev eth0
78 ip -n h1 link add name veth0 type veth peer name veth1 netns h2
79 ip -n h1 link set veth0 up
88 ip -n h1 nexthop add id 1 dev veth0
89 ip -n h1 route add 192.168.1.1 nhid 1
94 ip netns del h1 2>/dev/null
[all …]
/tools/testing/selftests/drivers/net/dsa/
Dbridge_locked_port.sh21 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
22 vlan_create $h1 100 v$h1 198.51.100.1/24
27 vlan_destroy $h1 100
28 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
67 h1=${NETIFS[p1]}
99 ping_do $h1 192.0.2.2
104 ping_do $h1 192.0.2.2
107 bridge fdb add `mac_get $h1` dev $swp1 master static
109 ping_do $h1 192.0.2.2
113 bridge fdb del `mac_get $h1` dev $swp1 master static
[all …]
Dno_forwarding.sh9 h1=${NETIFS[p1]}
93 local smac=$(mac_get $h1)
95 local h1_ipv6_lladdr=$(ipv6_lladdr_get $h1)
102 send_non_ip $h1 $smac $dmac
103 send_non_ip $h1 $smac $NON_IP_MC
104 send_non_ip $h1 $smac $BC
105 send_uc_ipv4 $h1 $dmac
106 send_mc_ipv4 $h1
107 send_uc_ipv6 $h1 $dmac
108 send_mc_ipv6 $h1
[all …]
Dbridge_mld.sh69 simple_if_init $h1 2001:db8:1::1/64
74 simple_if_fini $h1 2001:db8:1::1/64
114 h1=${NETIFS[p1]}
171 mldv2include_prepare $h1
207 mldv2include_prepare $h1
224 mldv2include_prepare $h1
226 $MZ $h1 -c 1 $MZPKT_ALLOW -q
245 mldv2include_prepare $h1
247 $MZ $h1 -c 1 $MZPKT_IS_INC2 -q
265 mldv2exclude_prepare $h1
[all …]
Dtc_actions.sh18 simple_if_init $h1 192.0.2.1/24
19 tc qdisc add dev $h1 clsact
24 tc qdisc del dev $h1 clsact
25 simple_if_fini $h1 192.0.2.1/24
68 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
78 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
98 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
107 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
136 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
145 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
[all …]
Dlocal_termination.sh47 h1=${NETIFS[p1]}
108 local smac=$(mac_get $h1)
113 mc_route_prepare $h1
116 send_uc_ipv4 $h1 $rcv_dmac
117 send_uc_ipv4 $h1 $MACVLAN_ADDR
118 send_uc_ipv4 $h1 $UNKNOWN_UC_ADDR1
121 send_uc_ipv4 $h1 $UNKNOWN_UC_ADDR2
122 mc_send $h1 $UNKNOWN_IPV4_MC_ADDR2
123 mc_send $h1 $UNKNOWN_IPV6_MC_ADDR2
127 mc_send $h1 $JOINED_IPV4_MC_ADDR
[all …]
/tools/testing/selftests/drivers/net/ocelot/
Dbasic_qos.sh18 h1=${NETIFS[p1]}
30 simple_if_init $h1 $H1_IPV4/24 $H1_IPV6/64
35 simple_if_fini $h1 $H1_IPV4/24 $H1_IPV6/64
52 vlan_create $h1 $vid
53 simple_if_init $h1.$vid $H1_IPV4/24 $H1_IPV6/64
54 ip link set $h1.$vid type vlan \
63 simple_if_fini $h1.$vid $H1_IPV4/24 $H1_IPV6/64
64 vlan_destroy $h1 $vid
91 tc qdisc add dev ${h1}.100 clsact
92 tc filter add dev ${h1}.100 egress protocol ipv4 \
[all …]

12345678