Lines Matching refs:cls_u32

481 	struct tc_cls_u32_offload cls_u32 = {};  in u32_clear_hw_hnode()  local
483 tc_cls_common_offload_init(&cls_u32.common, tp, h->flags, extack); in u32_clear_hw_hnode()
484 cls_u32.command = TC_CLSU32_DELETE_HNODE; in u32_clear_hw_hnode()
485 cls_u32.hnode.divisor = h->divisor; in u32_clear_hw_hnode()
486 cls_u32.hnode.handle = h->handle; in u32_clear_hw_hnode()
487 cls_u32.hnode.prio = h->prio; in u32_clear_hw_hnode()
489 tc_setup_cb_call(block, TC_SETUP_CLSU32, &cls_u32, false, true); in u32_clear_hw_hnode()
496 struct tc_cls_u32_offload cls_u32 = {}; in u32_replace_hw_hnode() local
501 tc_cls_common_offload_init(&cls_u32.common, tp, flags, extack); in u32_replace_hw_hnode()
502 cls_u32.command = TC_CLSU32_NEW_HNODE; in u32_replace_hw_hnode()
503 cls_u32.hnode.divisor = h->divisor; in u32_replace_hw_hnode()
504 cls_u32.hnode.handle = h->handle; in u32_replace_hw_hnode()
505 cls_u32.hnode.prio = h->prio; in u32_replace_hw_hnode()
507 err = tc_setup_cb_call(block, TC_SETUP_CLSU32, &cls_u32, skip_sw, true); in u32_replace_hw_hnode()
525 struct tc_cls_u32_offload cls_u32 = {}; in u32_remove_hw_knode() local
527 tc_cls_common_offload_init(&cls_u32.common, tp, n->flags, extack); in u32_remove_hw_knode()
528 cls_u32.command = TC_CLSU32_DELETE_KNODE; in u32_remove_hw_knode()
529 cls_u32.knode.handle = n->handle; in u32_remove_hw_knode()
531 tc_setup_cb_destroy(block, tp, TC_SETUP_CLSU32, &cls_u32, false, in u32_remove_hw_knode()
540 struct tc_cls_u32_offload cls_u32 = {}; in u32_replace_hw_knode() local
544 tc_cls_common_offload_init(&cls_u32.common, tp, flags, extack); in u32_replace_hw_knode()
545 cls_u32.command = TC_CLSU32_REPLACE_KNODE; in u32_replace_hw_knode()
546 cls_u32.knode.handle = n->handle; in u32_replace_hw_knode()
547 cls_u32.knode.fshift = n->fshift; in u32_replace_hw_knode()
549 cls_u32.knode.val = n->val; in u32_replace_hw_knode()
550 cls_u32.knode.mask = n->mask; in u32_replace_hw_knode()
552 cls_u32.knode.val = 0; in u32_replace_hw_knode()
553 cls_u32.knode.mask = 0; in u32_replace_hw_knode()
555 cls_u32.knode.sel = &n->sel; in u32_replace_hw_knode()
556 cls_u32.knode.res = &n->res; in u32_replace_hw_knode()
557 cls_u32.knode.exts = &n->exts; in u32_replace_hw_knode()
559 cls_u32.knode.link_handle = ht->handle; in u32_replace_hw_knode()
561 err = tc_setup_cb_add(block, tp, TC_SETUP_CLSU32, &cls_u32, skip_sw, in u32_replace_hw_knode()
1224 struct tc_cls_u32_offload cls_u32 = {}; in u32_reoffload_hnode() local
1227 tc_cls_common_offload_init(&cls_u32.common, tp, ht->flags, extack); in u32_reoffload_hnode()
1228 cls_u32.command = add ? TC_CLSU32_NEW_HNODE : TC_CLSU32_DELETE_HNODE; in u32_reoffload_hnode()
1229 cls_u32.hnode.divisor = ht->divisor; in u32_reoffload_hnode()
1230 cls_u32.hnode.handle = ht->handle; in u32_reoffload_hnode()
1231 cls_u32.hnode.prio = ht->prio; in u32_reoffload_hnode()
1233 err = cb(TC_SETUP_CLSU32, &cls_u32, cb_priv); in u32_reoffload_hnode()
1246 struct tc_cls_u32_offload cls_u32 = {}; in u32_reoffload_knode() local
1248 tc_cls_common_offload_init(&cls_u32.common, tp, n->flags, extack); in u32_reoffload_knode()
1249 cls_u32.command = add ? in u32_reoffload_knode()
1251 cls_u32.knode.handle = n->handle; in u32_reoffload_knode()
1254 cls_u32.knode.fshift = n->fshift; in u32_reoffload_knode()
1256 cls_u32.knode.val = n->val; in u32_reoffload_knode()
1257 cls_u32.knode.mask = n->mask; in u32_reoffload_knode()
1259 cls_u32.knode.val = 0; in u32_reoffload_knode()
1260 cls_u32.knode.mask = 0; in u32_reoffload_knode()
1262 cls_u32.knode.sel = &n->sel; in u32_reoffload_knode()
1263 cls_u32.knode.res = &n->res; in u32_reoffload_knode()
1264 cls_u32.knode.exts = &n->exts; in u32_reoffload_knode()
1266 cls_u32.knode.link_handle = ht->handle; in u32_reoffload_knode()
1270 &cls_u32, cb_priv, &n->flags, in u32_reoffload_knode()