Searched refs:run_cmd (Results 1 - 25 of 26) sorted by relevance

12

/linux-master/tools/testing/selftests/net/
H A Dfib_nexthops.sh104 run_cmd() function
326 run_cmd "$IP nexthop add id $nhidstr via $ipstr$iter dev veth1"
342 run_cmd "$IP nexthop add id $grpidstr group $grpstr"
348 run_cmd "$IP nexthop list"
365 run_cmd "$IP nexthop add id 100 via $ipstr dev veth1"
366 run_cmd "$IP nexthop add id 1000 group 100 type resilient buckets $buckets"
367 run_cmd "$IP nexthop bucket list"
451 run_cmd "$IP nexthop add id 61 via 2001:db8:91::2 fdb"
452 run_cmd "$IP nexthop add id 62 via 2001:db8:91::3 fdb"
453 run_cmd "
[all...]
H A Dtest_bridge_backup_port.sh92 run_cmd() function
254 run_cmd "tc -n $sw1 qdisc replace dev swp1 clsact"
255 run_cmd "tc -n $sw1 filter replace dev swp1 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass"
257 run_cmd "tc -n $sw1 qdisc replace dev vx0 clsact"
258 run_cmd "tc -n $sw1 filter replace dev vx0 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass"
260 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10"
265 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
271 run_cmd "ip -n $sw1 link set dev swp1 carrier off"
275 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
281 run_cmd "i
[all...]
H A Dtest_vxlan_mdb.sh169 run_cmd() function
335 run_cmd "bridge -n $ns1 mdb add dev vx0 port vx0 $grp_key permanent dst $vtep_ip src_vni 10010"
337 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 $grp_key src_vni 10010"
340 run_cmd "bridge -n $ns1 mdb replace dev vx0 port vx0 $grp_key permanent dst $vtep_ip src_vni 10010"
342 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 $grp_key src_vni 10010"
345 run_cmd "bridge -n $ns1 mdb del dev vx0 port vx0 $grp_key dst $vtep_ip src_vni 10010"
347 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 $grp_key src_vni 10010"
350 run_cmd "bridge -n $ns1 mdb del dev vx0 port vx0 $grp_key dst $vtep_ip src_vni 10010"
354 run_cmd "bridge -n $ns1 mdb add dev vx0 port vx0 $grp_key permanent dst $vtep_ip src_vni 10010"
355 run_cmd "bridg
[all...]
H A Dtest_bridge_neigh_suppress.sh100 run_cmd() function
308 run_cmd "tc -n $sw1 qdisc replace dev vx0 clsact"
309 run_cmd "tc -n $sw1 filter replace dev vx0 egress pref 1 handle 101 proto 0x0806 flower indev swp1 arp_tip $tip arp_sip $sip arp_op request action pass"
313 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip"
320 run_cmd "bridge -n $sw1 link set dev vx0 neigh_suppress on"
321 run_cmd "bridge -n $sw1 -d link show dev vx0 | grep \"neigh_suppress on\""
324 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip"
332 run_cmd "bridge -n $sw1 fdb replace $h2_mac dev vx0 master static vlan $vid"
335 run_cmd "ip netns exec $h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip"
342 run_cmd "i
[all...]
H A Drtnetlink.sh72 run_cmd() { function
133 run_cmd ip link add name "$devdummy" type dummy
134 run_cmd ip link set "$devdummy" up
139 run_cmd ip link del dev "$devdummy"
146 run_cmd ip netconf show dev "$dev"
148 run_cmd ip -$f netconf show dev "$dev"
165 run_cmd ip link add name "$devbr" type bridge
166 run_cmd ip link set dev "$devdummy" master "$devbr"
167 run_cmd ip link set "$devbr" up
168 run_cmd i
[all...]
H A Dfcnal-test.sh222 run_cmd() function
242 run_cmd ${cmd}
308 run_cmd sysctl -q -w $*
592 run_cmd ping -c1 -w1 ${a}
596 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
600 run_cmd ping -c1 -w1 -I ${NSA_LO_IP} ${a}
609 run_cmd ping -c 1 -w 1 -r ${a}
615 run_cmd ping -c 1 -w 1 -r ${a}
634 run_cmd ping -c1 -w1 ${a}
644 run_cmd pin
[all...]
H A Dtest_vxlan_nolocalbypass.sh60 run_cmd() function
123 run_cmd "bridge -n $ns1 fdb add $dmac dev vx0 self static dst 192.0.2.1 port 4790"
125 run_cmd "tc -n $ns1 qdisc add dev vx1 clsact"
126 run_cmd "tc -n $ns1 filter add dev vx1 ingress pref 1 handle 101 proto all flower src_mac $smac dst_mac $dmac action pass"
128 run_cmd "tc -n $ns1 qdisc add dev lo clsact"
129 run_cmd "tc -n $ns1 filter add dev lo ingress pref 1 handle 101 proto ip flower ip_proto udp dst_port 4790 action drop"
131 run_cmd "ip -n $ns1 -d -j link show dev vx0 | jq -e '.[][\"linkinfo\"][\"info_data\"][\"localbypass\"] == true'"
134 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
139 run_cmd "ip -n $ns1 link set dev vx0 type vxlan nolocalbypass"
141 run_cmd "i
[all...]
H A Dfib_tests.sh496 run_cmd "ip netns exec $ns2 ping -w1 -c1 192.0.2.1"
499 run_cmd "ip netns exec $ns2 ping -w1 -c1 127.0.0.1"
935 run_cmd() function
1004 run_cmd "$IP -6 ro flush ${pfx}"
1013 run_cmd "$IP -6 ro add ${pfx} ${nh}"
1099 run_cmd "$IP -6 ro add 2001:db8:104::/64 via 2001:db8:103::2"
1104 run_cmd "$IP -6 ro add 2001:db8:104::/64 dev veth3"
1109 run_cmd "$IP -6 ro add unreachable 2001:db8:104::/64"
1115 run_cmd "$IP -6 ro append 2001:db8:104::/64 via 2001:db8:103::2"
1125 run_cmd "
[all...]
H A Dpmtu.sh366 run_cmd() { function
429 run_cmd ${ns_a} ip fou add port 5555 ipproto ${ipproto} || return $ksft_skip
430 run_cmd ${ns_a} ip link add ${encap}_a type ${type} ${mode} local ${a_addr} remote ${b_addr} encap ${encap} encap-sport auto encap-dport 5556 || return $ksft_skip
432 run_cmd ${ns_b} ip fou add port 5556 ipproto ${ipproto}
433 run_cmd ${ns_b} ip link add ${encap}_b type ${type} ${mode} local ${b_addr} remote ${a_addr} encap ${encap} encap-sport auto encap-dport 5555
436 run_cmd ${ns_a} ip addr add ${tunnel4_a_addr}/${tunnel4_mask} dev ${encap}_a
437 run_cmd ${ns_b} ip addr add ${tunnel4_b_addr}/${tunnel4_mask} dev ${encap}_b
439 run_cmd ${ns_a} ip addr add ${tunnel6_a_addr}/${tunnel6_mask} dev ${encap}_a
440 run_cmd ${ns_b} ip addr add ${tunnel6_b_addr}/${tunnel6_mask} dev ${encap}_b
443 run_cmd
[all...]
H A Dicmp_redirect.sh95 run_cmd() function
275 run_cmd ip -netns $h2 li set eth0 mtu ${mtu}
276 run_cmd ip -netns $r2 li set eth2 mtu ${mtu}
288 run_cmd ip -netns $h1 ro get ${H1_VRF_ARG} ${H2_N2_IP}
289 run_cmd ip -netns $h1 -6 ro get ${H1_VRF_ARG} ${H2_N2_IP6}
331 run_cmd ip netns exec $h1 ping -q -M want -i 0.5 -c 10 -w 2 -s ${sz} ${H1_PING_ARG} ${H2_N2_IP}
332 run_cmd ip netns exec $h1 ${ping6} -q -M want -i 0.5 -c 10 -w 2 -s ${sz} ${H1_PING_ARG} ${H2_N2_IP6}
338 run_cmd ip -netns $r1 nexthop replace id 1 via ${R2_N1_IP} dev eth0
339 run_cmd ip -netns $r1 nexthop replace id 2 via ${R2_LLADDR} dev eth0
344 run_cmd i
[all...]
H A Dl2tp.sh46 run_cmd() function
228 run_cmd $host_1 ip xfrm policy add \
232 run_cmd $host_1 ip xfrm policy add \
236 run_cmd $host_2 ip xfrm policy add \
240 run_cmd $host_2 ip xfrm policy add \
267 run_cmd $host_1 ip -6 xfrm policy add \
271 run_cmd $host_1 ip -6 xfrm policy add \
275 run_cmd $host_2 ip -6 xfrm policy add \
279 run_cmd $host_2 ip -6 xfrm policy add \
306 run_cmd
[all...]
H A Dfib_nexthop_nongw.sh43 run_cmd() function
110 run_cmd ip -netns $h1 route get 192.168.1.1
112 run_cmd ip netns exec $h1 ping -c1 192.168.1.1
H A Dtest_vxlan_vnifiltering.sh128 run_cmd() function
157 run_cmd "ip netns exec $vm_11 ping -c 1 -W 1 10.0.10.12"
160 run_cmd "ip netns exec $vm_21 ping -c 1 -W 1 10.0.10.22"
328 run_cmd "ip -netns $testns link add vxlan100 type vxlan id 100 local $localip dev veth-testns dstport 4789"
332 run_cmd "ip -netns $testns link add vxlan-ext1 type vxlan vnifilter local $localip dev veth-testns dstport 4789"
335 run_cmd "ip -netns $testns link add vxlan-ext1 type vxlan external vnifilter local $localip dev veth-testns dstport 4789"
338 run_cmd "bridge -netns $testns vni add dev vxlan-ext1 vni 100"
341 run_cmd "bridge -netns $testns vni add dev vxlan-ext1 vni 200"
344 run_cmd "ip -netns $testns link add vxlan-ext2 type vxlan external vnifilter local $localip dev veth-testns dstport 4789"
347 run_cmd "bridg
[all...]
H A Dfdb_flush.sh47 run_cmd() function
172 run_cmd "$BRIDGE fdb flush dev vx10"
194 run_cmd "$BRIDGE fdb flush dev vx10 vni $vni_2"
228 run_cmd "$BRIDGE fdb flush dev vx10 src_vni $src_vni_2"
251 run_cmd "$BRIDGE fdb flush dev vx10 port $port_2"
272 run_cmd "$BRIDGE fdb flush dev vx10 dst $dst_ip_2"
307 run_cmd "$BRIDGE fdb flush dev vx10 nhid $nhid_2"
319 run_cmd "$BRIDGE fdb flush dev vx10 nhid $nhid_1"
325 run_cmd "$BRIDGE fdb flush dev vx10 nhid $nhid_1"
348 run_cmd "
[all...]
H A Dfib_nexthop_multiprefix.sh48 run_cmd() function
156 run_cmd ip -netns h${hostid} li set eth0 mtu ${mtu}
157 run_cmd ip -netns ${r1} li set eth${hostid} mtu ${mtu}
174 run_cmd ip netns exec ${h0} ping -s ${ping_sz} -c5 -w5 ${dst}
203 run_cmd ip netns exec ${h0} ${ping6} -s ${ping_sz} -c5 -w5 ${dst}
243 run_cmd taskset -c ${c} ip netns exec ${h0} ping -c1 -w1 172.16.10${i}.1
246 run_cmd taskset -c ${c} ip netns exec ${h0} ${ping6} -c1 -w1 2001:db8:10${i}::1
H A Dtraceroute.sh35 run_cmd() function
214 run_cmd $h1 "traceroute6 2000:103::4 | grep -q 2000:102::2"
279 run_cmd $h1 "traceroute 1.0.2.4 | grep -q 1.0.1.1"
H A Dfib-onlink-tests.sh121 run_cmd() function
244 run_cmd ip ro add table "${table}" "${prefix}"/32 via "${gw}" "${dev}" onlink
260 run_cmd ip ro add table "${table}" "${prefix}"/32 \
342 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 via "${gw}" "${dev}" onlink
356 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 "${opts}" \
H A Dvrf_route_leaking.sh122 run_cmd() function
/linux-master/tools/bootconfig/scripts/
H A Dbconf2ftrace.sh41 run_cmd() { # command function
80 run_cmd "echo '$val' >> $2"
87 run_cmd "echo '$line' >> $2"
171 run_cmd "echo '`print_one_histogram ${1}`' >> ${2}"
192 run_cmd "echo 1 > ${eventdir}"
199 run_cmd "echo 'p:kprobes/$3 $line' >> $TRACEFS/kprobe_events"
203 run_cmd "echo '`compose_synth $3 ${branch}.fields`' >> $TRACEFS/synthetic_events"
213 run_cmd "echo 1 > ${eventdir}/enable"
226 run_cmd "echo 1 > $TRACEFS/instances/$2/events/enable"
228 run_cmd "ech
[all...]
/linux-master/scripts/
H A Dcoccicheck175 run_cmd() { function
247 run_cmd $SPATCH -D patch \
249 run_cmd $SPATCH -D report \
251 run_cmd $SPATCH -D context \
253 run_cmd $SPATCH -D org \
256 run_cmd $SPATCH -D report \
258 run_cmd $SPATCH -D context \
261 run_cmd $SPATCH -D $MODE $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
/linux-master/tools/testing/kunit/
H A Drun_checks.py46 f = executor.submit(run_cmd, argv)
76 def run_cmd(argv: Sequence[str]) -> None: function
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dsharedbuffer_configuration.py121 def run_cmd(cmd, json=False): function
129 return run_cmd(cmd, json=True)
176 run_cmd("devlink sb pool set {} sb {} pool {} size {} thtype {}".format(dlname, self["sb"],
238 run_cmd("devlink sb tc bind set {} sb {} tc {} type {} pool {} th {}".format(self["dlportname"],
312 run_cmd("devlink sb port pool set {} sb {} pool {} th {}".format(self["dlportname"],
/linux-master/arch/powerpc/boot/
H A Dwrapper76 run_cmd() { function
585 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
589 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
/linux-master/kernel/
H A Dreboot.c829 static int run_cmd(const char *cmd) function
853 ret = run_cmd(reboot_cmd);
868 ret = run_cmd(poweroff_cmd);
/linux-master/tools/perf/tests/
H A Dattr.py271 def run_cmd(self, tempdir): member in class:Test
367 self.run_cmd(tempdir);

Completed in 187 milliseconds

12