Lines Matching refs:cls_u32

479 	struct tc_cls_u32_offload cls_u32 = {};  in u32_clear_hw_hnode()  local
481 tc_cls_common_offload_init(&cls_u32.common, tp, h->flags, extack); in u32_clear_hw_hnode()
482 cls_u32.command = TC_CLSU32_DELETE_HNODE; in u32_clear_hw_hnode()
483 cls_u32.hnode.divisor = h->divisor; in u32_clear_hw_hnode()
484 cls_u32.hnode.handle = h->handle; in u32_clear_hw_hnode()
485 cls_u32.hnode.prio = h->prio; in u32_clear_hw_hnode()
487 tc_setup_cb_call(block, TC_SETUP_CLSU32, &cls_u32, false, true); in u32_clear_hw_hnode()
494 struct tc_cls_u32_offload cls_u32 = {}; in u32_replace_hw_hnode() local
499 tc_cls_common_offload_init(&cls_u32.common, tp, flags, extack); in u32_replace_hw_hnode()
500 cls_u32.command = TC_CLSU32_NEW_HNODE; in u32_replace_hw_hnode()
501 cls_u32.hnode.divisor = h->divisor; in u32_replace_hw_hnode()
502 cls_u32.hnode.handle = h->handle; in u32_replace_hw_hnode()
503 cls_u32.hnode.prio = h->prio; in u32_replace_hw_hnode()
505 err = tc_setup_cb_call(block, TC_SETUP_CLSU32, &cls_u32, skip_sw, true); in u32_replace_hw_hnode()
523 struct tc_cls_u32_offload cls_u32 = {}; in u32_remove_hw_knode() local
525 tc_cls_common_offload_init(&cls_u32.common, tp, n->flags, extack); in u32_remove_hw_knode()
526 cls_u32.command = TC_CLSU32_DELETE_KNODE; in u32_remove_hw_knode()
527 cls_u32.knode.handle = n->handle; in u32_remove_hw_knode()
529 tc_setup_cb_destroy(block, tp, TC_SETUP_CLSU32, &cls_u32, false, in u32_remove_hw_knode()
538 struct tc_cls_u32_offload cls_u32 = {}; in u32_replace_hw_knode() local
542 tc_cls_common_offload_init(&cls_u32.common, tp, flags, extack); in u32_replace_hw_knode()
543 cls_u32.command = TC_CLSU32_REPLACE_KNODE; in u32_replace_hw_knode()
544 cls_u32.knode.handle = n->handle; in u32_replace_hw_knode()
545 cls_u32.knode.fshift = n->fshift; in u32_replace_hw_knode()
547 cls_u32.knode.val = n->val; in u32_replace_hw_knode()
548 cls_u32.knode.mask = n->mask; in u32_replace_hw_knode()
550 cls_u32.knode.val = 0; in u32_replace_hw_knode()
551 cls_u32.knode.mask = 0; in u32_replace_hw_knode()
553 cls_u32.knode.sel = &n->sel; in u32_replace_hw_knode()
554 cls_u32.knode.res = &n->res; in u32_replace_hw_knode()
555 cls_u32.knode.exts = &n->exts; in u32_replace_hw_knode()
557 cls_u32.knode.link_handle = ht->handle; in u32_replace_hw_knode()
559 err = tc_setup_cb_add(block, tp, TC_SETUP_CLSU32, &cls_u32, skip_sw, in u32_replace_hw_knode()
1151 struct tc_cls_u32_offload cls_u32 = {}; in u32_reoffload_hnode() local
1154 tc_cls_common_offload_init(&cls_u32.common, tp, ht->flags, extack); in u32_reoffload_hnode()
1155 cls_u32.command = add ? TC_CLSU32_NEW_HNODE : TC_CLSU32_DELETE_HNODE; in u32_reoffload_hnode()
1156 cls_u32.hnode.divisor = ht->divisor; in u32_reoffload_hnode()
1157 cls_u32.hnode.handle = ht->handle; in u32_reoffload_hnode()
1158 cls_u32.hnode.prio = ht->prio; in u32_reoffload_hnode()
1160 err = cb(TC_SETUP_CLSU32, &cls_u32, cb_priv); in u32_reoffload_hnode()
1173 struct tc_cls_u32_offload cls_u32 = {}; in u32_reoffload_knode() local
1175 tc_cls_common_offload_init(&cls_u32.common, tp, n->flags, extack); in u32_reoffload_knode()
1176 cls_u32.command = add ? in u32_reoffload_knode()
1178 cls_u32.knode.handle = n->handle; in u32_reoffload_knode()
1181 cls_u32.knode.fshift = n->fshift; in u32_reoffload_knode()
1183 cls_u32.knode.val = n->val; in u32_reoffload_knode()
1184 cls_u32.knode.mask = n->mask; in u32_reoffload_knode()
1186 cls_u32.knode.val = 0; in u32_reoffload_knode()
1187 cls_u32.knode.mask = 0; in u32_reoffload_knode()
1189 cls_u32.knode.sel = &n->sel; in u32_reoffload_knode()
1190 cls_u32.knode.res = &n->res; in u32_reoffload_knode()
1191 cls_u32.knode.exts = &n->exts; in u32_reoffload_knode()
1193 cls_u32.knode.link_handle = ht->handle; in u32_reoffload_knode()
1197 &cls_u32, cb_priv, &n->flags, in u32_reoffload_knode()