Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 106) sorted by relevance

12345

/tools/testing/selftests/net/netfilter/
A Dvxlan_mtu_frag.sh18 setup_ns host vtep router
22 ip link add host-eth0 netns "$host" type veth peer name vtep-host netns "$vtep"
29 ip -n "$host" addr add 10.0.0.1/24 dev host-eth0
30 ip -n "$host" link set host-eth0 up
34 ip -n "$host" link add link host-eth0 name host-eth0.$vid type vlan id $vid
35 ip -n "$host" addr add 10.0.$vid.1/24 dev host-eth0.$vid
36 ip -n "$host" link set host-eth0.$vid up
93 ip -n "$host" neigh add 10.0.0.2 lladdr ca:fe:ba:be:00:01 dev host-eth0
94 ip netns exec "$host" \
103 ip -n "$host" neigh add 10.0.$vid.2 lladdr ca:fe:ba:be:00:01 dev host-eth0.$vid
[all …]
/tools/testing/selftests/drivers/net/bonding/
A Dbond-lladdr-target.sh26 host="ns-$(mktemp -u XXXXXX)"
31 ip netns del $host
47 ip netns add $host
49 ip -n $host link add veth0 type veth peer name veth0 netns $sw
50 ip -n $host link add veth1 type veth peer name veth1 netns $sw
61 ip -n $host addr add fe80::beef/64 dev bond0
62 ip -n $host link set bond0 up
63 ip -n $host link set veth0 master bond0
64 ip -n $host link set veth1 master bond0
71 slowwait 5 wait_bond_up ip -n $host link show bond0
[all …]
/tools/testing/selftests/net/lib/py/
A Dutils.py45 if host:
46 self.proc = host.cmd(comm)
117 shell=shell, fail=fail, ns=ns, host=host,
172 cmd_obj = cmd(cmd_str, ns=ns, host=host)
178 def bpftool(args, json=None, ns=None, host=None): argument
179 return tool('bpftool', args, json=json, ns=ns, host=host)
182 def ip(args, json=None, ns=None, host=None): argument
185 return tool('ip', args, json=json, host=host)
189 return tool('ethtool', args, json=json, ns=ns, host=host)
209 cmd_obj = cmd(cmd_arr, ns=ns, host=host, shell=False)
[all …]
/tools/virtio/ringtest/
A Dring.c67 struct host { struct
74 } host; variable
95 host.used_idx = 0; in alloc_ring()
96 host.called_used_idx = -1; in alloc_ring()
213 event->kick_index = host.used_idx; in enable_kick()
221 unsigned head = (ring_size - 1) & host.used_idx; in avail_empty()
228 unsigned head = (ring_size - 1) & host.used_idx; in use_buf()
250 host.used_idx++; in use_buf()
263 host.used_idx, in call_used()
264 host.called_used_idx); in call_used()
[all …]
A Dvirtio_ring_0_9.c54 struct host { struct
61 } host; argument
87 host.used_idx = 0; in alloc_ring()
88 host.called_used_idx = -1; in alloc_ring()
260 unsigned head = host.used_idx; in avail_empty()
272 unsigned used_idx = host.used_idx; in use_buf()
313 host.used_idx++; in use_buf()
314 ring.used->idx = host.used_idx; in use_buf()
327 host.used_idx, in call_used()
328 host.called_used_idx); in call_used()
[all …]
A Drun-on-all.sh20 "$@" --host-affinity $HOST_AFFINITY --guest-affinity $cpu
24 "$@" --host-affinity $HOST_AFFINITY
/tools/usb/usbip/src/
A Dusbip_attach.c39 static int record_connection(char *host, char *port, char *busid, int rhport) in record_connection() argument
68 host, port, busid); in record_connection()
174 static int attach_device(char *host, char *busid) in attach_device() argument
180 sockfd = usbip_net_tcp_connect(host, usbip_port_string); in attach_device()
192 rc = record_connection(host, usbip_port_string, busid, rhport); in attach_device()
209 char *host = NULL; in usbip_attach() local
222 host = optarg; in usbip_attach()
233 if (!host || !busid) in usbip_attach()
236 ret = attach_device(host, busid); in usbip_attach()
A Dusbip_list.c44 static int get_exported_devices(char *host, int sockfd) in get_exported_devices() argument
79 info("no exportable devices found on %s", host); in get_exported_devices()
85 printf(" - %s\n", host); in get_exported_devices()
128 static int list_exported_devices(char *host) in list_exported_devices() argument
133 sockfd = usbip_net_tcp_connect(host, usbip_port_string); in list_exported_devices()
135 err("could not connect to %s:%s: %s", host, in list_exported_devices()
139 dbg("connected to %s:%s", host, usbip_port_string); in list_exported_devices()
141 rc = get_exported_devices(host, sockfd); in list_exported_devices()
143 err("failed to get device list from %s", host); in list_exported_devices()
/tools/testing/selftests/drivers/net/
A Dping.py19 cmd("ping -c 1 -W0.5 " + cfg.addr_v["4"], host=cfg.remote)
21 cmd("ping -s 65000 -c 1 -W0.5 " + cfg.addr_v["4"], host=cfg.remote)
28 cmd("ping -c 1 -W5 " + cfg.addr_v["6"], host=cfg.remote)
30 cmd("ping -s 65000 -c 1 -W0.5 " + cfg.addr_v["6"], host=cfg.remote)
43 shell=True, host=cfg.remote)
47 with bkg(listen_cmd, host=cfg.remote, exit_wait=True) as nc:
48 wait_port_listen(port, host=cfg.remote)
71 cmd(f"ip link set dev {cfg.remote_ifname} mtu 1500", shell=True, host=cfg.remote)
80 cmd(f"ip link set dev {cfg.remote_ifname} mtu 9000", shell=True, host=cfg.remote)
81 defer(ip, f"link set dev {cfg.remote_ifname} mtu 1500", host=cfg.remote)
[all …]
/tools/perf/Documentation/
A Dperf-kvm.txt11 'perf kvm' [--host] [--guest] [--guestmount=<path>
14 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path>
28 default behavior of perf kvm as --guest, so if neither --host nor --guest
29 is input, the perf data file name is perf.data.guest. If --host is input,
31 perf.data.host, please input --host --no-guest. The behaviors are shown as
34 --host -> perf.data.kvm
36 --host --guest -> perf.data.kvm
37 --host --no-guest -> perf.data.host
76 --host::
77 Collect host side performance profile.
[all …]
/tools/virtio/virtio-trace/
A DREADME15 3) A controller thread does poll() for a start order of a host.
16 4) After the controller of the trace agent receives a start order from a host,
20 6) If the controller receives a stop order from a host, the read/write threads
41 1) Make FIFO in a host
53 2) Set up of virtio-serial pipe in a host
103 read/write threads in the agent wait for start order from host. If you add -o
106 3) Open FIFO in a host
112 4) Start to read trace data by ordering from a host
113 A host injects read start order to the guest via virtio-serial.
116 5) Stop to read trace data by ordering from a host
[all …]
/tools/build/
A DMakefile.build80 host = host_
86 $(call if_changed_dep,$(host)cc_o_c)
94 $(call if_changed_dep,$(host)cc_o_c)
112 $(call if_changed_dep,$(host)cc_o_c)
116 $(call if_changed_dep,$(host)cc_o_c)
148 $(call if_changed,$(host)ld_multi)
/tools/testing/selftests/net/
A Dso_rcv_listener.c23 const char *host; member
62 opt.host = argv[optind]; in parse_args()
82 int family = strchr(opt.host, ':') ? AF_INET6 : AF_INET; in main()
103 if (inet_pton(family, opt.host, &recv_addr4.sin_addr) <= 0) { in main()
115 if (inet_pton(family, opt.host, &recv_addr6.sin6_addr) <= 0) { in main()
/tools/testing/vsock/
A DREADME3 These tests exercise net/vmw_vsock/ host<->guest sockets for VMware, KVM, and
15 2. Install the kernel and tests on the host.
21 # host=server, guest=client
22 (host)# $TEST_BINARY --mode=server \
26 --control-host=$HOST_IP \
30 # host=client, guest=server
34 (host)# $TEST_BINARY --mode=client \
/tools/testing/selftests/wireguard/qemu/
A DMakefile63 QEMU_MACHINE := -cpu host -machine virt,gic_version=host,accel=kvm
75 QEMU_MACHINE := -cpu host -machine virt,gic_version=host,accel=kvm
87 QEMU_MACHINE := -cpu host -machine virt,gic_version=host,accel=kvm
99 QEMU_MACHINE := -cpu host -machine virt,gic_version=host,accel=kvm
133 QEMU_MACHINE := -cpu host -machine malta,accel=kvm
145 QEMU_MACHINE := -cpu host -machine malta,accel=kvm
157 QEMU_MACHINE := -cpu host -machine malta,accel=kvm
169 QEMU_MACHINE := -cpu host -machine malta,accel=kvm
181 QEMU_MACHINE := -cpu host,accel=kvm -machine pseries
224 QEMU_MACHINE := -cpu host,accel=kvm -machine virt
[all …]
/tools/testing/cxl/
A Dmock_acpi.c10 struct acpi_device *to_cxl_host_bridge(struct device *host, struct device *dev) in to_cxl_host_bridge() argument
30 dev_dbg(host, "found host bridge %s\n", dev_name(&adev->dev)); in to_cxl_host_bridge()
/tools/testing/selftests/net/forwarding/
A Dsch_tbf_core.sh51 local host=$1; shift
54 echo 192.0.2.$((16 * (vlan - 10) + host))
60 local host=$1; shift
68 vlan_create $dev 10 v$dev $(ipaddr $host 10)/28
72 vlan_create $dev 11 v$dev $(ipaddr $host 11)/28
/tools/testing/selftests/drivers/net/hw/
A Dtso.py42 with bkg(listen_cmd, host=cfg.remote, exit_wait=True) as nc:
43 wait_port_listen(port, host=cfg.remote)
113 host=cfg.remote)
114 defer(ip, f"link del {tun_type}-ksft", host=cfg.remote)
115 ip(f"link set dev {tun_type}-ksft up", host=cfg.remote)
116 ip(f"addr add {remote_v4}/24 dev {tun_type}-ksft", host=cfg.remote)
117 ip(f"addr add {remote_v6}/64 dev {tun_type}-ksft", host=cfg.remote)
A Dcsum.py24 cmd(tx_cmd, host=cfg.remote)
43 with bkg(rx_cmd, host=cfg.remote, exit_wait=True):
44 wait_port_listen(34000, proto="udp", host=cfg.remote)
/tools/usb/usbip/
A DREADME19 - usbip-host (stub driver)
69 server:# insmod usbip-host.ko
78 - Bind usbip-host.ko to the device with busid 1-2.
109 client:# usbip list --remote <host>
110 - List exported USB devices on the <host>.
112 client:# usbip attach --remote <host> --busid 1-2
128 Physically attach your USB devices to this host.
131 trois:# insmod path/to/usbip-host.ko
135 attached to this host.
190 exportable on the host.
[all …]
/tools/testing/selftests/arm64/fp/
A DREADME69 running on the host.
84 commands on the host.
86 Within the guest, the host filesystem is accessible, mounted on /host.
91 3) Run the sve-stress on the host with the maximum Vector-Length:
92 host$ ./vlset --inherit --max ./sve-stress
/tools/testing/selftests/drivers/net/lib/py/
A Dremote_ssh.py19 cmd("rm -rf " + self._tmpdir, host=self)
32 cmd("mkdir " + self._tmpdir, host=self)
A Denv.py213 v4 = ip("addr show to " + self.remote_addr_v["4"], json=True, host=self.remote)
215 v6 = ip("addr show to " + self.remote_addr_v["6"], json=True, host=self.remote)
249 def _require_cmd(self, comm, key, host=None): argument
253 shell=True, host=host).ret == 0
262 if not self._require_cmd(comm, "remote", host=self.remote):
/tools/usb/usbip/libsrc/
A Dvhci_driver.c187 static int read_record(int rhport, char *host, unsigned long host_len, in read_record() argument
230 if (sscanf(buffer, "%s %s %s\n", host, port, busid) != 3) { in read_record()
429 char host[NI_MAXHOST] = "unknown host"; in usbip_vhci_imported_device_dump() local
438 ret = read_record(idev->port, host, sizeof(host), serv, sizeof(serv), in usbip_vhci_imported_device_dump()
456 host, serv, remote_busid); in usbip_vhci_imported_device_dump()
/tools/testing/selftests/hid/
A D.gitignore3 /host-tools

Completed in 26 milliseconds

12345