Lines Matching refs:extack
472 struct netlink_ext_ack *extack) in u32_clear_hw_hnode() argument
477 tc_cls_common_offload_init(&cls_u32.common, tp, h->flags, extack); in u32_clear_hw_hnode()
487 u32 flags, struct netlink_ext_ack *extack) in u32_replace_hw_hnode() argument
495 tc_cls_common_offload_init(&cls_u32.common, tp, flags, extack); in u32_replace_hw_hnode()
516 struct netlink_ext_ack *extack) in u32_remove_hw_knode() argument
521 tc_cls_common_offload_init(&cls_u32.common, tp, n->flags, extack); in u32_remove_hw_knode()
530 u32 flags, struct netlink_ext_ack *extack) in u32_replace_hw_knode() argument
538 tc_cls_common_offload_init(&cls_u32.common, tp, flags, extack); in u32_replace_hw_knode()
569 struct netlink_ext_ack *extack) in u32_clear_hnode() argument
581 u32_remove_hw_knode(tp, n, extack); in u32_clear_hnode()
592 struct netlink_ext_ack *extack) in u32_destroy_hnode() argument
600 u32_clear_hnode(tp, ht, extack); in u32_destroy_hnode()
607 u32_clear_hw_hnode(tp, ht, extack); in u32_destroy_hnode()
620 struct netlink_ext_ack *extack) in u32_destroy() argument
628 u32_destroy_hnode(tp, root_ht, extack); in u32_destroy()
636 u32_clear_hnode(tp, ht, extack); in u32_destroy()
654 bool rtnl_held, struct netlink_ext_ack *extack) in u32_delete() argument
661 u32_remove_hw_knode(tp, (struct tc_u_knode *)ht, extack); in u32_delete()
667 NL_SET_ERR_MSG_MOD(extack, "Not allowed to delete root node"); in u32_delete()
672 u32_destroy_hnode(tp, ht, extack); in u32_delete()
674 NL_SET_ERR_MSG_MOD(extack, "Can not delete in-use filter"); in u32_delete()
713 struct netlink_ext_ack *extack) in u32_set_parms() argument
717 err = tcf_exts_validate(net, tp, tb, est, &n->exts, ovr, true, extack); in u32_set_parms()
726 NL_SET_ERR_MSG_MOD(extack, "u32 Link handle must be a hash table"); in u32_set_parms()
734 NL_SET_ERR_MSG_MOD(extack, "Link hash table not found"); in u32_set_parms()
738 NL_SET_ERR_MSG_MOD(extack, "Not linking to root node"); in u32_set_parms()
757 ret = tcf_change_indev(net, tb[TCA_U32_INDEV], extack); in u32_set_parms()
846 struct netlink_ext_ack *extack) in u32_change() argument
863 NL_SET_ERR_MSG_MOD(extack, "Filter handle requires options"); in u32_change()
871 extack); in u32_change()
878 NL_SET_ERR_MSG_MOD(extack, "Invalid filter flags"); in u32_change()
888 NL_SET_ERR_MSG_MOD(extack, "Key node id cannot be zero"); in u32_change()
894 NL_SET_ERR_MSG_MOD(extack, "Key node flags do not match passed flags"); in u32_change()
903 tca[TCA_RATE], ovr, extack); in u32_change()
910 err = u32_replace_hw_knode(tp, new, flags, extack); in u32_change()
930 NL_SET_ERR_MSG_MOD(extack, "Divisor is not a power of 2"); in u32_change()
934 NL_SET_ERR_MSG_MOD(extack, "Exceeded maximum 256 hash buckets"); in u32_change()
938 NL_SET_ERR_MSG_MOD(extack, "Divisor can only be used on a hash table"); in u32_change()
965 err = u32_replace_hw_hnode(tp, ht, flags, extack); in u32_change()
987 NL_SET_ERR_MSG_MOD(extack, "Specified hash table not found"); in u32_change()
997 NL_SET_ERR_MSG_MOD(extack, "Specified hash table buckets exceed configured value"); in u32_change()
1003 NL_SET_ERR_MSG_MOD(extack, "Handle specified hash table address mismatch"); in u32_change()
1015 NL_SET_ERR_MSG_MOD(extack, "Selector not specified"); in u32_change()
1069 extack); in u32_change()
1074 err = u32_replace_hw_knode(tp, n, flags, extack); in u32_change()
1154 struct netlink_ext_ack *extack) in u32_reoffload_hnode() argument
1159 tc_cls_common_offload_init(&cls_u32.common, tp, ht->flags, extack); in u32_reoffload_hnode()
1174 struct netlink_ext_ack *extack) in u32_reoffload_knode() argument
1181 tc_cls_common_offload_init(&cls_u32.common, tp, n->flags, extack); in u32_reoffload_knode()
1212 void *cb_priv, struct netlink_ext_ack *extack) in u32_reoffload() argument
1232 extack); in u32_reoffload()
1245 cb_priv, extack); in u32_reoffload()
1252 u32_reoffload_hnode(tp, ht, add, cb, cb_priv, extack); in u32_reoffload()