Home
last modified time | relevance | path

Searched refs:actionset (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_private.h31 int actionset_sw; /* subwords in an actionset */
33 int actionset_sw_regs; /* registers in a subword in an actionset */
81 /* Return the actionset information for the actionset */
84 enum vcap_type vt, enum vcap_actionfield_set actionset);
85 /* Return the number of actionfields in the actionset */
88 enum vcap_actionfield_set actionset);
89 /* Return the typegroup table for the matching actionset (using subword size) */
92 enum vcap_actionfield_set actionset);
93 /* Return the list of actionfields for the actionset */
[all...]
H A Dvcap_api.c689 /* Return the list of actionfields for the actionset */
692 enum vcap_type vt, enum vcap_actionfield_set actionset) in vcap_actionfields()
694 /* Check that the actionset exists in the vcap actionset list */ in vcap_actionfields()
695 if (actionset >= vctrl->vcaps[vt].actionfield_set_size) in vcap_actionfields()
697 return vctrl->vcaps[vt].actionfield_set_map[actionset]; in vcap_actionfields()
702 enum vcap_type vt, enum vcap_actionfield_set actionset) in vcap_actionfieldset()
706 /* Check that the actionset exists in the vcap actionset list */ in vcap_actionfieldset()
707 if (actionset > in vcap_actionfieldset()
691 vcap_actionfields(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_actionfield_set actionset) vcap_actionfields() argument
701 vcap_actionfieldset(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_actionfield_set actionset) vcap_actionfieldset() argument
717 vcap_actionfield_typegroup(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_actionfield_set actionset) vcap_actionfield_typegroup() argument
729 vcap_actionfield_count(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_actionfield_set actionset) vcap_actionfield_count() argument
904 vcap_set_rule_set_actionset(struct vcap_rule *rule, enum vcap_actionfield_set actionset) vcap_set_rule_set_actionset() argument
1326 vcap_verify_actionstream_actionset(struct vcap_control *vctrl, enum vcap_type vt, u32 *actionstream, enum vcap_actionfield_set actionset) vcap_verify_actionstream_actionset() argument
1436 enum vcap_actionfield_set actionset; vcap_decode_actionset() local
1746 enum vcap_actionfield_set actionset = rule->actionset; vcap_add_type_actionfield() local
1794 vcap_actionset_list_add(struct vcap_actionset_list *actionsetlist, enum vcap_actionfield_set actionset) vcap_actionset_list_add() argument
1826 vcap_actionset_name(struct vcap_control *vctrl, enum vcap_actionfield_set actionset) vcap_actionset_name() argument
1919 vcap_find_actionset_actionfield(struct vcap_control *vctrl, enum vcap_type vtype, enum vcap_actionfield_set actionset, enum vcap_action_field action) vcap_find_actionset_actionfield() argument
1948 int actionset, found, actioncount, map_size; vcap_rule_find_actionsets() local
2823 enum vcap_actionfield_set actionset = rule->actionset; vcap_actionfield_match_actionset() local
[all...]
H A Dvcap_api_kunit.c253 enum vcap_actionfield_set actionset = VCAP_AFS_NO_VALUE; in test_vcap_xn_rule_creator() local
266 actionset = VCAP_AFS_CLASS_REDUCED; in test_vcap_xn_rule_creator()
270 actionset = VCAP_AFS_CLASSIFICATION; in test_vcap_xn_rule_creator()
274 actionset = VCAP_AFS_CLASSIFICATION; in test_vcap_xn_rule_creator()
278 actionset = VCAP_AFS_FULL; in test_vcap_xn_rule_creator()
300 /* Override rule actionset */ in test_vcap_xn_rule_creator()
301 ret = vcap_set_rule_set_actionset(rule, actionset); in test_vcap_xn_rule_creator()
306 KUNIT_EXPECT_EQ(test, actionset, rule->actionset); in test_vcap_xn_rule_creator()
716 .actionset in vcap_api_encode_actionfield_test()
[all...]
H A Dvcap_api.h73 /* VCAP keyset or actionset type and width */
94 u16 act_width; /* bits per subword in an actionset */
106 /* map of actions per actionset */
112 /* map of actionset typegroups per subword size */
158 VCAP_ERR_NO_ACTIONSET_MATCH, /* No actionset matched the rule actions */
193 enum vcap_actionfield_set actionset; /* actionset used: may be derived from fields */ member
207 int max; /* size of the actionset list */
H A Dvcap_api_client.h182 /* Update the actionset for the rule */
184 enum vcap_actionfield_set actionset);
H A Dvcap_api_debugfs.c220 out->prf(out->dst, " actionset: %s\n", in vcap_debugfs_show_rule_actionset()
221 vcap_actionset_name(vctrl, ri->data.actionset)); in vcap_debugfs_show_rule_actionset()
227 ri->data.actionset); in vcap_debugfs_show_rule_actionset()
H A Dvcap_api_debugfs_kunit.c464 " actionset: VCAP_AFS_BASE_TYPE\n",
514 .actionset = VCAP_AFS_BASE_TYPE, in vcap_api_show_admin_rule_test()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c311 /* Add the actionset that is the default for the VCAP type */
332 /* Do not overwrite any current actionset */ in lan966x_tc_set_actionset()
333 if (vrule->actionset == VCAP_AFS_NO_VALUE) in lan966x_tc_set_actionset()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c503 err = vcap_set_rule_set_actionset(vrule, erule->actionset); in sparx5_tc_add_rule_copy()
549 /* Add the actionset that is the default for the VCAP type */
573 /* Do not overwrite any current actionset */ in sparx5_tc_set_actionset()
574 if (vrule->actionset == VCAP_AFS_NO_VALUE) in sparx5_tc_set_actionset()

Completed in 11 milliseconds