Home
last modified time | relevance | path

Searched refs:run_cmd (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dfib_nexthops.sh71 run_cmd() function
285 run_cmd "$IP nexthop add id $nhidstr via $ipstr$iter dev veth1"
301 run_cmd "$IP nexthop add id $grpidstr group $grpstr"
307 run_cmd "$IP nexthop list"
361 run_cmd "$IP nexthop add id 61 via 2001:db8:91::2 fdb"
362 run_cmd "$IP nexthop add id 62 via 2001:db8:91::3 fdb"
363 run_cmd "$IP nexthop add id 102 group 61/62 fdb"
368 run_cmd "$IP nexthop get id 102"
373 run_cmd "$IP nexthop add id 63 via 2001:db8:91::4"
374 run_cmd "$IP nexthop add id 64 via 2001:db8:91::5"
[all …]
Dfcnal-test.sh207 run_cmd() function
227 run_cmd ${cmd}
293 run_cmd sysctl -q -w $*
559 run_cmd ping -c1 -w1 ${a}
563 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
567 run_cmd ping -c1 -w1 -I ${NSA_LO_IP} ${a}
587 run_cmd ping -c1 -w1 ${a}
597 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
607 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
621 run_cmd ping -c1 -w1 ${a}
[all …]
Dfib_tests.sh500 run_cmd "ip netns exec ns2 ping -w1 -c1 192.0.2.1"
503 run_cmd "ip netns exec ns2 ping -w1 -c1 127.0.0.1"
681 run_cmd() function
750 run_cmd "$IP -6 ro flush ${pfx}"
759 run_cmd "$IP -6 ro add ${pfx} ${nh}"
847 run_cmd "$IP -6 ro add 2001:db8:104::/64 via 2001:db8:103::2"
852 run_cmd "$IP -6 ro add 2001:db8:104::/64 dev veth3"
857 run_cmd "$IP -6 ro add unreachable 2001:db8:104::/64"
863 run_cmd "$IP -6 ro append 2001:db8:104::/64 via 2001:db8:103::2"
873 run_cmd "$IP -6 ro add 2001:db8:104::/64 nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
[all …]
Dpmtu.sh340 run_cmd() { function
393 run_cmd ${ns_a} ip fou add port 5555 ipproto ${ipproto} || return 2
394run_cmd ${ns_a} ip link add ${encap}_a type ${type} ${mode} local ${a_addr} remote ${b_addr} encap…
396 run_cmd ${ns_b} ip fou add port 5556 ipproto ${ipproto}
397run_cmd ${ns_b} ip link add ${encap}_b type ${type} ${mode} local ${b_addr} remote ${a_addr} encap…
400 run_cmd ${ns_a} ip addr add ${tunnel4_a_addr}/${tunnel4_mask} dev ${encap}_a
401 run_cmd ${ns_b} ip addr add ${tunnel4_b_addr}/${tunnel4_mask} dev ${encap}_b
403 run_cmd ${ns_a} ip addr add ${tunnel6_a_addr}/${tunnel6_mask} dev ${encap}_a
404 run_cmd ${ns_b} ip addr add ${tunnel6_b_addr}/${tunnel6_mask} dev ${encap}_b
407 run_cmd ${ns_a} ip link set ${encap}_a up
[all …]
Dicmp_redirect.sh90 run_cmd() function
277 run_cmd ip -netns h2 li set eth0 mtu ${mtu}
278 run_cmd ip -netns r2 li set eth2 mtu ${mtu}
290 run_cmd ip -netns h1 ro get ${H1_VRF_ARG} ${H2_N2_IP}
291 run_cmd ip -netns h1 -6 ro get ${H1_VRF_ARG} ${H2_N2_IP6}
333 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}
334 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}
340 run_cmd ip -netns r1 nexthop replace id 1 via ${R2_N1_IP} dev eth0
341 run_cmd ip -netns r1 nexthop replace id 2 via ${R2_LLADDR} dev eth0
346 run_cmd ip -netns r1 nexthop flush
[all …]
Dl2tp.sh45 run_cmd() function
234 run_cmd host-1 ip xfrm policy add \
238 run_cmd host-1 ip xfrm policy add \
242 run_cmd host-2 ip xfrm policy add \
246 run_cmd host-2 ip xfrm policy add \
273 run_cmd host-1 ip -6 xfrm policy add \
277 run_cmd host-1 ip -6 xfrm policy add \
281 run_cmd host-2 ip -6 xfrm policy add \
285 run_cmd host-2 ip -6 xfrm policy add \
312 run_cmd host-1 ip xfrm state flush
[all …]
Dfib_nexthop_multiprefix.sh47 run_cmd() function
158 run_cmd ip -netns h${hostid} li set eth0 mtu ${mtu}
159 run_cmd ip -netns r1 li set eth${hostid} mtu ${mtu}
176 run_cmd ip netns exec h0 ping -s ${ping_sz} -c5 -w5 ${dst}
205 run_cmd ip netns exec h0 ${ping6} -s ${ping_sz} -c5 -w5 ${dst}
245 run_cmd taskset -c ${c} ip netns exec h0 ping -c1 -w1 172.16.10${i}.1
248 run_cmd taskset -c ${c} ip netns exec h0 ${ping6} -c1 -w1 2001:db8:10${i}::1
Dfib-onlink-tests.sh123 run_cmd() function
247 run_cmd ip ro add table "${table}" "${prefix}"/32 via "${gw}" "${dev}" onlink
263 run_cmd ip ro add table "${table}" "${prefix}"/32 \
345 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 via "${gw}" "${dev}" onlink
359 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 "${opts}" \
Dtraceroute.sh34 run_cmd() function
220 run_cmd host-1 "traceroute6 2000:103::4 | grep -q 2000:102::2"
289 run_cmd host-1 "traceroute 1.0.2.4 | grep -q 1.0.1.1"
Dvrf_route_leaking.sh121 run_cmd() function
/kernel/linux/linux-5.10/tools/bootconfig/scripts/
Dbconf2ftrace.sh41 run_cmd() { # command function
80 run_cmd "echo '$val' >> $2"
87 run_cmd "echo '$line' >> $2"
107 run_cmd "echo 'p:kprobes/$3 $line' >> $TRACEFS/kprobe_events"
111 run_cmd "echo '`compose_synth $3 ${branch}.fields`' >> $TRACEFS/synthetic_events"
119 run_cmd "echo 1 > ${eventdir}/enable"
163 run_cmd "echo 1 > ${instancedir}/snapshot"
169 run_cmd "echo $size >> ${instancedir}/buffer_size_kb"
180 run_cmd "echo \"$dump_mode\" > /proc/sys/kernel/ftrace_dump_on_oops"
196 run_cmd "mkdir -p $TRACEFS/instances/$i"
/kernel/linux/linux-5.10/scripts/
Dcoccicheck164 run_cmd() { function
239 run_cmd $SPATCH -D patch \
241 run_cmd $SPATCH -D report \
243 run_cmd $SPATCH -D context \
245 run_cmd $SPATCH -D org \
248 run_cmd $SPATCH -D report \
250 run_cmd $SPATCH -D context \
253 run_cmd $SPATCH -D $MODE $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
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"],
238run_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"],
/kernel/linux/linux-5.10/kernel/
Dreboot.c422 static int run_cmd(const char *cmd) in run_cmd() function
446 ret = run_cmd(reboot_cmd); in __orderly_reboot()
461 ret = run_cmd(poweroff_cmd); in __orderly_poweroff()
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dwrapper72 run_cmd() { function
557 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
561 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
/kernel/linux/linux-5.10/tools/perf/tests/
Dattr.py222 def run_cmd(self, tempdir): member in Test
306 self.run_cmd(tempdir);