| /linux/tools/testing/selftests/net/ |
| A D | fib_nexthops.sh | 109 run_cmd() function 353 run_cmd "$IP nexthop list" 463 run_cmd "$IP nexthop get id 102" 509 run_cmd "$IP nexthop del id 61" 589 run_cmd "$IP nexthop del id 12" 729 run_cmd "$IP nexthop get id 52" 733 run_cmd "$IP nexthop del id 52" 817 run_cmd "$IP link del veth1.20" 818 run_cmd "$IP nexthop flush" 1688 run_cmd "$IP ro del default" [all …]
|
| A D | test_bridge_backup_port.sh | 92 run_cmd() function 254 run_cmd "tc -n $sw1 qdisc replace dev swp1 clsact" 257 run_cmd "tc -n $sw1 qdisc replace dev vx0 clsact" 271 run_cmd "ip -n $sw1 link set dev swp1 carrier off" 281 run_cmd "ip -n $sw1 link set dev swp1 carrier on" 298 run_cmd "ip -n $sw1 link set dev swp1 carrier off" 308 run_cmd "ip -n $sw1 link set dev swp1 carrier on" 353 run_cmd "tc -n $sw1 qdisc replace dev vx0 clsact" 368 run_cmd "tc -n $sw2 qdisc replace dev vx0 clsact" 400 run_cmd "ip -n $sw1 link set dev swp1 carrier on" [all …]
|
| A D | test_vxlan_mdb.sh | 169 run_cmd() function 1003 run_cmd "bridge -n $ns1_v4 mdb flush dev vx0" 1037 run_cmd "bridge -n $ns1_v4 mdb flush dev vx0" 1065 run_cmd "bridge -n $ns1_v4 mdb flush dev vx0" 1082 run_cmd "bridge -n $ns1_v4 mdb flush dev vx0" 1096 run_cmd "bridge -n $ns1_v4 mdb flush dev vx0" 1111 run_cmd "bridge -n $ns1_v4 mdb flush dev vx0" 1128 run_cmd "bridge -n $ns1_v4 mdb flush dev vx0" 1143 run_cmd "bridge -n $ns1_v4 mdb flush dev vx0" 1160 run_cmd "bridge -n $ns1_v4 mdb flush dev vx0" [all …]
|
| A D | test_bridge_neigh_suppress.sh | 100 run_cmd() function 300 run_cmd "tc -n $sw1 qdisc replace dev vx0 clsact" 344 run_cmd "ip -n $h2 link set dev eth0.$vid down" 352 run_cmd "ip -n $h2 link set dev eth0.$vid up" 368 run_cmd "ip -n $h2 link set dev eth0.$vid down" 403 run_cmd "tc -n $sw1 qdisc replace dev vx0 clsact" 447 run_cmd "ip -n $h2 link set dev eth0.$vid down" 455 run_cmd "ip -n $h2 link set dev eth0.$vid up" 471 run_cmd "ip -n $h2 link set dev eth0.$vid down" 512 run_cmd "tc -n $sw1 qdisc replace dev vx0 clsact" [all …]
|
| A D | fcnal-test.sh | 222 run_cmd() function 242 run_cmd ${cmd} 308 run_cmd sysctl -q -w $* 885 run_cmd nettest -s & 1195 run_cmd nettest -s & 1251 run_cmd nettest -s & 1276 run_cmd nettest -s & 1285 run_cmd nettest -s & 1325 run_cmd nettest -s & 1354 run_cmd nettest -s & [all …]
|
| A D | rtnetlink.sh | 72 run_cmd() { function 171 run_cmd ip -d link 172 run_cmd ip r s t all 201 run_cmd ip link 202 run_cmd ip addr 206 run_cmd ip link del $gredev 247 run_cmd ip r s t all 265 run_cmd ip route get ::1 551 run_cmd ip macsec show 708 run_cmd ip x s flush [all …]
|
| A D | fib_tests.sh | 935 run_cmd() function 1004 run_cmd "$IP -6 ro flush ${pfx}" 1013 run_cmd "$IP -6 ro add ${pfx} ${nh}" 1346 run_cmd "$IP li set dev dummy2 up" 1464 run_cmd "$IP ro flush ${pfx}" 1473 run_cmd "$IP ro add ${pfx} ${nh}" 1696 run_cmd "setup_ns test-ns" 1702 run_cmd "ip link set vrf-100 up" 1709 run_cmd "ip link delete vrf-100" 1828 run_cmd "$IP addr flush dev dummy1" [all …]
|
| A D | pmtu.sh | 366 run_cmd() { function 507 run_cmd ${ns_a} ip link set ip_a up 508 run_cmd ${ns_b} ip link set ip_b up 827 run_cmd ${ns_a} ip link set br0 up 929 run_cmd ip link set ${type}_a up 967 run_cmd ip link set ovs_br0 up 982 run_cmd ip link set veth_A-R1 up 1932 run_cmd ${ns_a} ip link del vti4_a 1948 run_cmd ${ns_a} ip link del vti4_a 1955 run_cmd ${ns_a} ip link del vti4_a [all …]
|
| A D | test_vxlan_nolocalbypass.sh | 60 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" 128 run_cmd "tc -n $ns1 qdisc add dev lo clsact" 131 …run_cmd "ip -n $ns1 -d -j link show dev vx0 | jq -e '.[][\"linkinfo\"][\"info_data\"][\"localbypas… 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" 144 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q" 149 run_cmd "ip -n $ns1 link set dev vx0 type vxlan localbypass" 151 …run_cmd "ip -n $ns1 -d -j link show dev vx0 | jq -e '.[][\"linkinfo\"][\"info_data\"][\"localbypas… [all …]
|
| A D | icmp_redirect.sh | 95 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} 344 run_cmd ip -netns $r1 nexthop flush 345 run_cmd ip -netns $h1 nexthop flush 354 run_cmd ip -netns $r1 ro add ${H2_N2} nhid 1 357 run_cmd ip -netns $r1 -6 ro add ${H2_N2_6} nhid 2 376 run_cmd ip -netns $r1 ro del ${H2_N2} 377 run_cmd ip -netns $r1 -6 ro del ${H2_N2_6} [all …]
|
| A D | l2tp.sh | 46 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 \ 306 run_cmd $host_1 ip xfrm state flush 307 run_cmd $host_1 ip xfrm policy flush 308 run_cmd $host_2 ip xfrm state flush [all …]
|
| A D | test_vxlan_vnifiltering.sh | 128 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" 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" 347 run_cmd "bridge -netns $testns vni add dev vxlan-ext2 vni 200" 350 run_cmd "bridge -netns $testns vni add dev vxlan-ext2 vni 300" 354 run_cmd "bridge -netns $testns vni add dev vxlan-ext2 vni 300" 543 run_cmd "ip netns exec $vm_31 ping -c 1 -W 1 10.0.30.32" 546 run_cmd "ip netns exec $vm_31 ping -c 1 -W 1 10.0.40.32" [all …]
|
| A D | fdb_flush.sh | 47 run_cmd() function 172 run_cmd "$BRIDGE fdb flush dev vx10" 194 run_cmd "$BRIDGE fdb flush dev vx10 vni $vni_2" 251 run_cmd "$BRIDGE fdb flush dev vx10 port $port_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" 550 run_cmd "$BRIDGE fdb flush dev vx10 $flush_args" 596 run_cmd "$BRIDGE fdb flush dev vx10 $flush_args" 612 run_cmd "$BRIDGE fdb flush dev vx10 $flush_args" [all …]
|
| A D | fib_nexthop_multiprefix.sh | 48 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
|
| A D | fib_nexthop_nongw.sh | 43 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
|
| A D | vrf_route_leaking.sh | 122 run_cmd() function 544 run_cmd ip netns exec $r1 ip vrf exec blue ping -c1 -w1 ${H2_N2_IP} 556 run_cmd nettest -s -O "$h2" -l ${H2_N2_IP} -I eth0 -3 eth0 & 558 run_cmd nettest -N "$r1" -d blue -r ${H2_N2_IP} 570 run_cmd nettest -s -D -O "$h2" -l ${H2_N2_IP} -I eth0 -3 eth0 & 572 run_cmd nettest -D -N "$r1" -d blue -r ${H2_N2_IP} 584 run_cmd ip netns exec $r1 ip vrf exec blue ${ping6} -c1 -w1 ${H2_N2_IP6} 596 run_cmd nettest -s -6 -O "$h2" -l ${H2_N2_IP6} -I eth0 -3 eth0 & 598 run_cmd nettest -6 -N "$r1" -d blue -r ${H2_N2_IP6} 610 run_cmd nettest -s -6 -D -O "$h2" -l ${H2_N2_IP6} -I eth0 -3 eth0 & [all …]
|
| A D | fib-onlink-tests.sh | 121 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}" \
|
| A D | traceroute.sh | 35 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"
|
| /linux/tools/bootconfig/scripts/ |
| A D | bconf2ftrace.sh | 41 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}" 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" 264 run_cmd "echo 1 > ${instancedir}/snapshot" 270 run_cmd "echo $size >> ${instancedir}/buffer_size_kb" [all …]
|
| /linux/scripts/ |
| A D | coccicheck | 175 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/tools/testing/kunit/ |
| A D | run_checks.py | 46 f = executor.submit(run_cmd, argv) 76 def run_cmd(argv: Sequence[str]) -> None: function
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| A D | sharedbuffer_configuration.py | 121 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/arch/powerpc/boot/ |
| A D | wrapper | 76 run_cmd() { function 565 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \ 569 run_cmd dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \
|
| /linux/kernel/ |
| A D | reboot.c | 829 static int run_cmd(const char *cmd) in run_cmd() function 853 ret = run_cmd(reboot_cmd); in __orderly_reboot() 868 ret = run_cmd(poweroff_cmd); in __orderly_poweroff()
|
| /linux/tools/perf/tests/ |
| A D | attr.py | 271 def run_cmd(self, tempdir): member in Test 367 self.run_cmd(tempdir);
|