Home
last modified time | relevance | path

Searched refs:is_bpf (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/sched/
H A Dact_bpf.c291 bool is_bpf, is_ebpf; in tcf_bpf_init() local
335 is_bpf = tb[TCA_ACT_BPF_OPS_LEN] && tb[TCA_ACT_BPF_OPS]; in tcf_bpf_init()
338 if (is_bpf == is_ebpf) { in tcf_bpf_init()
345 ret = is_bpf ? tcf_bpf_init_from_ops(tb, &cfg) : in tcf_bpf_init()
H A Dcls_bpf.c416 bool is_bpf, is_ebpf, have_exts = false; in cls_bpf_change() local
460 is_bpf = tb[TCA_BPF_OPS_LEN] && tb[TCA_BPF_OPS]; in cls_bpf_change()
462 if ((!is_bpf && !is_ebpf) || (is_bpf && is_ebpf)) { in cls_bpf_change()
494 ret = is_bpf ? cls_bpf_prog_from_ops(tb, prog) : in cls_bpf_change()