Lines Matching +full:stdout +full:- +full:path
2 # SPDX-License-Identifier: GPL-2.0
5 from os import path
12 output = ethtool(f"-g {cfg.ifname}", host=cfg.remote).stdout
18 output = ethtool(f"-l {cfg.ifname}", host=cfg.remote).stdout
24 …output = ethtool(f"-N {cfg.ifname} flow-type tcp6 dst-port 9999 action {chan}", host=cfg.remote).s…
29 def test_zcrx(cfg) -> None:
38 ethtool(f"-G {cfg.ifname} tcp-data-split on", host=cfg.remote)
39 ethtool(f"-G {cfg.ifname} rx 64", host=cfg.remote)
40 ethtool(f"-X {cfg.ifname} equal {combined_chans - 1}", host=cfg.remote)
41 flow_rule_id = _set_flow_rule(cfg, combined_chans - 1)
43 rx_cmd = f"{cfg.bin_remote} -s -p 9999 -i {cfg.ifname} -q {combined_chans - 1}"
44 tx_cmd = f"{cfg.bin_local} -c -h {cfg.remote_addr_v['6']} -p 9999 -l 12840"
49 ethtool(f"-N {cfg.ifname} delete {flow_rule_id}", host=cfg.remote)
50 ethtool(f"-X {cfg.ifname} default", host=cfg.remote)
51 ethtool(f"-G {cfg.ifname} rx {rx_ring}", host=cfg.remote)
52 ethtool(f"-G {cfg.ifname} tcp-data-split auto", host=cfg.remote)
55 def test_zcrx_oneshot(cfg) -> None:
64 ethtool(f"-G {cfg.ifname} tcp-data-split on", host=cfg.remote)
65 ethtool(f"-G {cfg.ifname} rx 64", host=cfg.remote)
66 ethtool(f"-X {cfg.ifname} equal {combined_chans - 1}", host=cfg.remote)
67 flow_rule_id = _set_flow_rule(cfg, combined_chans - 1)
69 rx_cmd = f"{cfg.bin_remote} -s -p 9999 -i {cfg.ifname} -q {combined_chans - 1} -o 4"
70 tx_cmd = f"{cfg.bin_local} -c -h {cfg.remote_addr_v['6']} -p 9999 -l 4096 -z 16384"
75 ethtool(f"-N {cfg.ifname} delete {flow_rule_id}", host=cfg.remote)
76 ethtool(f"-X {cfg.ifname} default", host=cfg.remote)
77 ethtool(f"-G {cfg.ifname} rx {rx_ring}", host=cfg.remote)
78 ethtool(f"-G {cfg.ifname} tcp-data-split auto", host=cfg.remote)
81 def main() -> None:
83 cfg.bin_local = path.abspath(path.dirname(__file__) + "/../../../drivers/net/hw/iou-zcrx")