Home
last modified time | relevance | path

Searched refs:run_command (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/drivers/net/hw/
A Ddevlink_port_split.py26 def run_command(cmd, should_fail=False): function
58 stdout, stderr = run_command(cmd)
82 stdout, stderr = run_command(cmd)
100 stdout, stderr = run_command(cmd)
116 stdout, stderr = run_command(cmd, should_fail=should_fail)
136 stdout, stderr = run_command(cmd)
215 stdout, stderr = run_command(cmd)
263 stdout, stderr = run_command(cmd)
271 stdout, stderr = run_command(cmd)
A Dncdevmem.c273 #define run_command(cmd, ...) \ macro
290 run_command("sudo ethtool -K %s ntuple off >&2", ifname); in reset_flow_steering()
291 run_command("sudo ethtool -K %s ntuple on >&2", ifname); in reset_flow_steering()
292 run_command( in reset_flow_steering()
354 return run_command("sudo ethtool -X %s equal %d >&2", ifname, start_queue); in configure_rss()
359 return run_command("sudo ethtool -L %s rx %u tx %u", ifname, rx, tx); in configure_channels()
377 if (run_command("sudo ethtool -N %s flow-type %s %s %s dst-ip %s %s %s dst-port %s queue %d >&2", in configure_flow_steering()
387 if (run_command("sudo ethtool -N %s flow-type %s dst-ip %s dst-port %s queue %d >&2", in configure_flow_steering()
/tools/tracing/rtla/src/
A Drtla.c46 int run_command(int argc, char **argv, int start_position) in run_command() function
69 retval = run_command(argc, argv, 0); in main()
82 retval = run_command(argc, argv, 1); in main()
/tools/testing/ktest/
A Dktest.pl581 sub run_command;
1494 run_command "$power_cycle";
1513 if (run_command $reboot) {
1516 run_command "$power_cycle";
1552 run_command $switch_to_good;
1635 run_command $post_test;
1886 run_command $post_test;
1892 sub run_command { subroutine
2761 run_command "$power_off";
2795 run_command $post_test;
[all …]
A Dconfig-bisect.pl159 sub run_command { subroutine
235 if (!run_command "$make olddefconfig") {
239 if (!run_command "$make oldnoconfig") {
242 run_command "yes '' | $make oldconfig" or
734 run_command "cp $good_start $good" or die "failed to copy to $good\n";
735 run_command "cp $bad_start $bad" or die "failed to copy to $bad\n";
744 run_command "cp $output_config $good" or die "failed to copy $config to $good\n";
746 run_command "cp $output_config $bad" or die "failed to copy $config to $bad\n";
760 run_command "rm $good";
761 run_command "rm $bad";
/tools/testing/selftests/bpf/
A Dxdp_hw_metadata.c81 #define run_command(cmd, ...) \ macro
719 if (run_command("sudo tc qdisc show dev %s | grep -q 'qdisc mqprio 8001:'", ifname) == 0) in clean_existing_configurations()
720 run_command("sudo tc qdisc del dev %s root", ifname); in clean_existing_configurations()
723 if (run_command("sudo tc qdisc show dev %s | grep -q 'qdisc ingress ffff:'", ifname) == 0) in clean_existing_configurations()
724 run_command("sudo tc qdisc del dev %s ingress", ifname); in clean_existing_configurations()
727 if (run_command("sudo ethtool -n %s | grep -q 'Filter:'", ifname) == 0) { in clean_existing_configurations()
806run_command("sudo tc qdisc add dev %s handle 8001: parent root mqprio num_tc %d map %squeues %shw … in main()
817 if (run_command("sudo ethtool -N %s flow-type ether vlan 0x2000 vlan-mask 0x1FFF action %d", in main()
819 run_command("sudo tc qdisc add dev %s ingress", ifname); in main()
820 run_command("sudo tc filter add dev %s parent ffff: protocol 802.1Q flower vlan_prio 1 hw_tc %d", in main()
[all …]
/tools/lib/subcmd/
A Drun-command.h59 int run_command(struct child_process *);
A Drun-command.c273 int run_command(struct child_process *cmd) in run_command() function
296 return run_command(&cmd); in run_command_v_opt()
/tools/usb/usbip/src/
A Dusbip.c127 static int run_command(const struct command *cmd, int argc, char *argv[]) in run_command() function
182 rc = run_command(&cmds[i], argc, argv); in main()

Completed in 35 milliseconds