H A D | bpf_offload.py | 85 def fail(cond, msg): function 99 def cmd(cmd, shell=True, include_stderr=False, background=False, fail=True): argument 112 return cmd_result(proc, include_stderr=include_stderr, fail=fail) 114 def cmd_result(proc, include_stderr=False, fail=False): argument 131 if proc.returncode != 0 and fail: 146 def tool(name, args, flags, JSON=True, ns="", fail=True, include_stderr=False): argument 158 fail=fail, include_stderr=True) 161 fail 173 bpftool(args, JSON=True, ns="", fail=True, include_stderr=False) global() argument 218 bpftool_prog_load(sample, file_name, maps=[], prog_type="xdp", dev=None, fail=True, include_stderr=False) global() argument 232 ip(args, force=False, JSON=True, ns="", fail=True, include_stderr=False) global() argument 238 tc(args, JSON=True, ns="", fail=True, include_stderr=False) global() argument 242 ethtool(dev, opt, args, fail=True) global() argument 411 set_mtu(self, mtu, fail=True) global() argument 416 set_xdp(self, bpf, mode, force=False, JSON=True, verbose=False, fail=True, include_stderr=False) global() argument 424 unset_xdp(self, mode, force=False, JSON=True, fail=True, include_stderr=False) global() argument 484 cls_filter_op(self, op, qdisc="ingress", prio=None, handle=None, chain=None, cls="", params="", fail=True, include_stderr=False) global() argument 501 cls_bpf_add_filter(self, bpf, op="add", prio=None, handle=None, chain=None, da=False, verbose=False, skip_sw=False, skip_hw=False, fail=True, include_stderr=False) global() argument 518 set_ethtool_tc_offloads(self, enable, fail=True) global() argument [all...] |