Lines Matching full:vcap

2 /* Microchip VCAP API
33 /* Moving a rule in the VCAP address space */
224 const struct vcap_info *vcap = &vctrl->vcaps[vt]; in vcap_verify_keystream_keyset() local
255 vcap_iter_init(&iter, vcap->sw_width, tgt, typefld->offset); in vcap_verify_keystream_keyset()
262 * one define in the vcap keyset in vcap_verify_keystream_keyset()
264 vcap_iter_init(&iter, vcap->sw_width, tgt, typefld->offset); in vcap_verify_keystream_keyset()
363 /* Read key data from a VCAP address and discover if there are any rule keysets
400 /* Check that the keyset exists in the vcap keyset list */ in vcap_keyfields()
413 /* Check that the keyset exists in the vcap keyset list */ in vcap_keyfieldset()
440 /* Check that the keyset exists in the vcap keyset list */ in vcap_keyfield_count()
676 pr_err("%s:%d: key %d is not in vcap\n", in vcap_encode_rule_keyset()
694 /* Check that the actionset exists in the vcap actionset list */ in vcap_actionfields()
706 /* Check that the actionset exists in the vcap actionset list */ in vcap_actionfieldset()
733 /* Check that the actionset exists in the vcap actionset list */ in vcap_actionfield_count()
834 pr_err("%s:%d: action %d is not in vcap\n", in vcap_encode_rule_actionset()
863 pr_err("%s:%d: vcap control is missing\n", __func__, __LINE__); in vcap_api_check()
937 /* Find a rule with a provided rule id return a locked vcap */
979 /* Get number of rules in a vcap instance lookup chain id range */
1011 /* Not inserted in the VCAP */ in vcap_dup_rule()
1322 /* Read key data from a VCAP address and discover if there is a rule keyset
1531 /* Read VCAP content into the VCAP cache */
1543 /* Use the values in the streams to read the VCAP cache */ in vcap_read_rule()
1563 /* Write VCAP cache content to the VCAP HW instance */
1574 /* Use the values in the streams to write the VCAP cache */ in vcap_write_rule()
1604 /* Convert a chain id to a VCAP lookup index */
1621 /* Lookup a vcap instance using chain id */
1658 /* Calculate the value used for chaining VCAP rules */
1866 /* Match a list of keys against the keysets available in a vcap type */
1885 /* Iterate the keysets of the VCAP */ in _vcap_rule_find_keysets()
1907 /* Match a list of keys against the keysets available in a vcap type */
1944 /* Match a list of actions against the actionsets available in a vcap type */
1963 /* Iterate the actionsets of the VCAP */ in vcap_rule_find_actionsets()
2063 /* Finally check if there is room for the rule in the VCAP */ in vcap_val_rule()
2126 /* Add a copy of the rule to the VCAP list */ in vcap_insert_rule()
2140 /* Add a copy of the rule to the VCAP list */ in vcap_insert_rule()
2173 /* Check if the chain is already used to enable a VCAP lookup for this port */
2257 /* Encode and write a validated rule to the VCAP */
2268 /* Insert the new rule in the list of vcap rules */ in vcap_add_rule()
2274 pr_err("%s:%d: could not insert rule in vcap list: %d\n", in vcap_add_rule()
2325 /* Get the VCAP instance */ in vcap_alloc_rule()
2329 /* Sanity check that this VCAP is supported on this platform */ in vcap_alloc_rule()
2340 /* Check if there is room for the rule in the block(s) of the VCAP */ in vcap_alloc_rule()
2364 ri->admin = admin; /* refer to the vcap instance */ in vcap_alloc_rule()
2384 /* Free mem of a rule owned by client after the rule as been added to the VCAP */
2405 /* Decode a rule from the VCAP cache and return a copy */
2472 /* Encode the bitstreams to the VCAP cache */ in vcap_mod_rule()
2536 /* Delete rule in a VCAP instance */
2578 /* Delete all rules in the VCAP instance */
2954 "Missing VCAP instance"); in vcap_set_tc_exterr()
2976 /* Write a rule to VCAP HW to enable it */
3005 /* Enable all disabled rules for a specific chain/port in the VCAP HW */
3044 /* Read and erase a rule from VCAP HW to disable it */
3064 /* Disable all enabled rules for a specific chain/port in the VCAP HW */
3099 /* Check if this port is already enabled for this VCAP instance */
3114 /* Enable this port and chain id in a VCAP instance */
3154 /* Disable this port and chain id for a VCAP instance */
3195 /* Enable/Disable the VCAP instance lookups */
3245 /* This must be the last lookup in this VCAP type */ in vcap_is_last_chain()
3396 /* Iterate all rules in each VCAP instance */ in vcap_get_rule_count_by_cookie()