Home
last modified time | relevance | path

Searched refs:skip_sw (Results 1 – 6 of 6) sorted by relevance

/net/sched/
A Dcls_bpf.c152 bool skip_sw; in cls_bpf_offload_cmd() local
155 skip_sw = prog && tc_skip_sw(prog->gen_flags); in cls_bpf_offload_cmd()
168 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd()
174 skip_sw, &prog->gen_flags, in cls_bpf_offload_cmd()
178 skip_sw, &oldprog->gen_flags, in cls_bpf_offload_cmd()
186 if (prog && skip_sw && !(prog->gen_flags & TCA_CLS_FLAGS_IN_HW)) in cls_bpf_offload_cmd()
381 bool skip_sw; in cls_bpf_prog_from_efd() local
385 skip_sw = gen_flags & TCA_CLS_FLAGS_SKIP_SW; in cls_bpf_prog_from_efd()
387 fp = bpf_prog_get_type_dev(bpf_fd, BPF_PROG_TYPE_SCHED_CLS, skip_sw); in cls_bpf_prog_from_efd()
A Dcls_matchall.c91 bool skip_sw = tc_skip_sw(head->flags); in mall_replace_hw_filter() local
108 return skip_sw ? err : 0; in mall_replace_hw_filter()
112 skip_sw, &head->flags, &head->in_hw_count, true); in mall_replace_hw_filter()
121 if (skip_sw && !(head->flags & TCA_CLS_FLAGS_IN_HW)) in mall_replace_hw_filter()
A Dcls_u32.c509 bool skip_sw = tc_skip_sw(flags); in u32_replace_hw_hnode() local
519 err = tc_setup_cb_call(block, TC_SETUP_CLSU32, &cls_u32, skip_sw, true); in u32_replace_hw_hnode()
527 if (skip_sw && !offloaded) in u32_replace_hw_hnode()
553 bool skip_sw = tc_skip_sw(flags); in u32_replace_hw_knode() local
573 err = tc_setup_cb_add(block, tp, TC_SETUP_CLSU32, &cls_u32, skip_sw, in u32_replace_hw_knode()
580 if (skip_sw && !(n->flags & TCA_CLS_FLAGS_IN_HW)) in u32_replace_hw_knode()
A Dact_api.c251 bool skip_sw = tc_act_skip_sw(action->tcfa_flags); in tcf_action_offload_add_ex() local
283 if (skip_sw && !tc_act_in_hw(action)) in tcf_action_offload_add_ex()
1516 bool skip_sw = tc_skip_sw(fl_flags); in tcf_action_init() local
1527 if ((tc_act_skip_sw(act->tcfa_flags) && !skip_sw) || in tcf_action_init()
1534 if (skip_sw) in tcf_action_init()
1542 if (skip_sw != tc_act_skip_sw(act->tcfa_flags) || in tcf_action_init()
A Dcls_flower.c469 bool skip_sw = tc_skip_sw(f->flags); in fl_hw_replace_filter() local
489 return skip_sw ? err : 0; in fl_hw_replace_filter()
493 skip_sw, &f->flags, &f->in_hw_count, rtnl_held); in fl_hw_replace_filter()
502 if (skip_sw && !(f->flags & TCA_CLS_FLAGS_IN_HW)) in fl_hw_replace_filter()
/net/dsa/
A Duser.c1405 if (cls->common.skip_sw) { in dsa_user_add_cls_matchall_mirred()
1419 if (cls->common.skip_sw) { in dsa_user_add_cls_matchall_mirred()

Completed in 35 milliseconds