Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/net/
Dfib_nexthops.sh101 run_cmd() function
328 run_cmd "$IP nexthop add id $nhidstr via $ipstr$iter dev veth1"
344 run_cmd "$IP nexthop add id $grpidstr group $grpstr"
350 run_cmd "$IP nexthop list"
367 run_cmd "$IP nexthop add id 100 via $ipstr dev veth1"
368 run_cmd "$IP nexthop add id 1000 group 100 type resilient buckets $buckets"
369 run_cmd "$IP nexthop bucket list"
432 run_cmd "$IP nexthop add id 61 via 2001:db8:91::2 fdb"
433 run_cmd "$IP nexthop add id 62 via 2001:db8:91::3 fdb"
434 run_cmd "$IP nexthop add id 102 group 61/62 fdb"
[all …]
Dfcnal-test.sh211 run_cmd() function
231 run_cmd ${cmd}
297 run_cmd sysctl -q -w $*
575 run_cmd ping -c1 -w1 ${a}
579 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
583 run_cmd ping -c1 -w1 -I ${NSA_LO_IP} ${a}
603 run_cmd ping -c1 -w1 ${a}
613 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
623 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
637 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.sh375 run_cmd() { function
438 run_cmd ${ns_a} ip fou add port 5555 ipproto ${ipproto} || return $ksft_skip
439run_cmd ${ns_a} ip link add ${encap}_a type ${type} ${mode} local ${a_addr} remote ${b_addr} encap…
441 run_cmd ${ns_b} ip fou add port 5556 ipproto ${ipproto}
442run_cmd ${ns_b} ip link add ${encap}_b type ${type} ${mode} local ${b_addr} remote ${a_addr} encap…
445 run_cmd ${ns_a} ip addr add ${tunnel4_a_addr}/${tunnel4_mask} dev ${encap}_a
446 run_cmd ${ns_b} ip addr add ${tunnel4_b_addr}/${tunnel4_mask} dev ${encap}_b
448 run_cmd ${ns_a} ip addr add ${tunnel6_a_addr}/${tunnel6_mask} dev ${encap}_a
449 run_cmd ${ns_b} ip addr add ${tunnel6_b_addr}/${tunnel6_mask} dev ${encap}_b
452 run_cmd ${ns_a} ip link set ${encap}_a up
[all …]
Dicmp_redirect.sh94 run_cmd() function
281 run_cmd ip -netns h2 li set eth0 mtu ${mtu}
282 run_cmd ip -netns r2 li set eth2 mtu ${mtu}
294 run_cmd ip -netns h1 ro get ${H1_VRF_ARG} ${H2_N2_IP}
295 run_cmd ip -netns h1 -6 ro get ${H1_VRF_ARG} ${H2_N2_IP6}
337 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}
338 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}
344 run_cmd ip -netns r1 nexthop replace id 1 via ${R2_N1_IP} dev eth0
345 run_cmd ip -netns r1 nexthop replace id 2 via ${R2_LLADDR} dev eth0
350 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 …]
Dtest_vxlan_vnifiltering.sh130 run_cmd() function
159 run_cmd "ip netns exec vm-11 ping -c 1 -W 1 10.0.10.12"
162 run_cmd "ip netns exec vm-21 ping -c 1 -W 1 10.0.10.22"
342run_cmd "ip -netns testns link add vxlan100 type vxlan id 100 local $localip dev veth-testns dstpo…
346run_cmd "ip -netns testns link add vxlan-ext1 type vxlan vnifilter local $localip dev veth-testns …
349run_cmd "ip -netns testns link add vxlan-ext1 type vxlan external vnifilter local $localip dev vet…
352 run_cmd "bridge -netns testns vni add dev vxlan-ext1 vni 100"
355 run_cmd "bridge -netns testns vni add dev vxlan-ext1 vni 200"
358run_cmd "ip -netns testns link add vxlan-ext2 type vxlan external vnifilter local $localip dev vet…
361 run_cmd "bridge -netns testns vni add dev vxlan-ext2 vni 200"
[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_nexthop_nongw.sh42 run_cmd() function
114 run_cmd ip -netns h1 route get 192.168.1.1
116 run_cmd ip netns exec h1 ping -c1 192.168.1.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
/Linux-v6.1/tools/bootconfig/scripts/
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 "echo 1 > $TRACEFS/events/enable"
[all …]
/Linux-v6.1/scripts/
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-v6.1/tools/testing/kunit/
Drun_checks.py46 f = executor.submit(run_cmd, argv)
76 def run_cmd(argv: Sequence[str]): function
/Linux-v6.1/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"],
/Linux-v6.1/arch/powerpc/boot/
Dwrapper76 run_cmd() { function
568 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
572 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
/Linux-v6.1/tools/perf/tests/
Dattr.py222 def run_cmd(self, tempdir): member in Test
306 self.run_cmd(tempdir);
/Linux-v6.1/kernel/
Dreboot.c812 static int run_cmd(const char *cmd) in run_cmd() function
836 ret = run_cmd(reboot_cmd); in __orderly_reboot()
851 ret = run_cmd(poweroff_cmd); in __orderly_poweroff()
/Linux-v6.1/mm/
Dvmscan.c5661 static int run_cmd(char cmd, int memcg_id, int nid, unsigned long seq, in run_cmd() function
5766 err = run_cmd(cmd, memcg_id, nid, seq, &sc, swappiness, opt); in lru_gen_seq_write()