Home
last modified time | relevance | path

Searched refs:keysets (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_debugfs_kunit.c47 if (kslist->keysets[idx] == VCAP_KFS_ETAG) in test_val_keyset()
48 return kslist->keysets[idx]; in test_val_keyset()
49 if (kslist->keysets[idx] == in test_val_keyset()
51 return kslist->keysets[idx]; in test_val_keyset()
52 if (kslist->keysets[idx] == in test_val_keyset()
54 return kslist->keysets[idx]; in test_val_keyset()
55 if (kslist->keysets[idx] == in test_val_keyset()
57 return kslist->keysets[idx]; in test_val_keyset()
62 if (kslist->keysets[idx] == VCAP_KFS_MAC_ETYPE) in test_val_keyset()
63 return kslist->keysets[id in test_val_keyset()
313 enum vcap_keyfield_set keysets[10]; vcap_api_addr_keyset_test() local
[all...]
H A Dvcap_api_debugfs.c162 enum vcap_keyfield_set keysets[10]; in vcap_debugfs_show_keysets() local
166 matches.keysets = keysets; in vcap_debugfs_show_keysets()
168 matches.max = ARRAY_SIZE(keysets); in vcap_debugfs_show_keysets()
178 pr_err("%s:%d: could not find valid keysets: %d\n", in vcap_debugfs_show_keysets()
183 out->prf(out->dst, " keysets:"); in vcap_debugfs_show_keysets()
186 vcap_keyset_name(ri->vctrl, matches.keysets[idx])); in vcap_debugfs_show_keysets()
319 enum vcap_keyfield_set keysets[10]; in vcap_show_admin_raw() local
337 kslist.keysets = keysets; in vcap_show_admin_raw()
[all...]
H A Dvcap_api_kunit.c43 if (kslist->keysets[idx] == VCAP_KFS_ETAG) in test_val_keyset()
44 return kslist->keysets[idx]; in test_val_keyset()
45 if (kslist->keysets[idx] == VCAP_KFS_PURE_5TUPLE_IP4) in test_val_keyset()
46 return kslist->keysets[idx]; in test_val_keyset()
47 if (kslist->keysets[idx] == VCAP_KFS_NORMAL_5TUPLE_IP4) in test_val_keyset()
48 return kslist->keysets[idx]; in test_val_keyset()
49 if (kslist->keysets[idx] == VCAP_KFS_NORMAL_7TUPLE) in test_val_keyset()
50 return kslist->keysets[idx]; in test_val_keyset()
55 if (kslist->keysets[idx] == VCAP_KFS_MAC_ETYPE) in test_val_keyset()
56 return kslist->keysets[id in test_val_keyset()
1215 enum vcap_keyfield_set keysets[10] = {}; vcap_api_rule_find_keyset_basic_test() local
1262 enum vcap_keyfield_set keysets[10] = {}; vcap_api_rule_find_keyset_failed_test() local
1309 enum vcap_keyfield_set keysets[10] = {}; vcap_api_rule_find_keyset_many_test() local
[all...]
H A Dvcap_api.c330 * are in sync and correct, return the list of matchin keysets
363 /* Read key data from a VCAP address and discover if there are any rule keysets
388 /* Decode and locate the keysets */ in vcap_addr_keysets()
1479 enum vcap_keyfield_set keysets[10]; in vcap_decode_keyset() local
1493 matches.keysets = keysets; in vcap_decode_keyset()
1495 matches.max = ARRAY_SIZE(keysets); in vcap_decode_keyset()
1499 pr_err("%s:%d: could not find valid keysets: %d\n", in vcap_decode_keyset()
1503 keyset = matches.keysets[0]; in vcap_decode_keyset()
1785 if (keysetlist->keysets[id in vcap_keyset_list_add()
1991 enum vcap_keyfield_set keysets[10]; vcap_val_rule() local
[all...]
H A Dvcap_api.h98 const struct vcap_set *keyfield_set; /* keysets */
99 int keyfield_set_size; /* number of keysets */
198 /* List of keysets */
201 int cnt; /* count of keysets actually in the list */
202 enum vcap_keyfield_set *keysets; /* the list of keysets */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c19 /* Collect keysets and type ids for multiple rules per size */
371 /* Collect all port keysets and apply the first of them, possibly wildcarded */
382 enum vcap_keyfield_set keysets[10]; in sparx5_tc_select_protocol_keyset() local
390 /* Find the keysets that the rule can use */ in sparx5_tc_select_protocol_keyset()
391 matches.keysets = keysets; in sparx5_tc_select_protocol_keyset()
392 matches.max = ARRAY_SIZE(keysets); in sparx5_tc_select_protocol_keyset()
396 /* Find the keysets that the port configuration supports */ in sparx5_tc_select_protocol_keyset()
398 portkeysetlist.keysets = portkeysets; in sparx5_tc_select_protocol_keyset()
409 portkeysetlist.keysets[id in sparx5_tc_select_protocol_keyset()
1351 enum vcap_keyfield_set keysets[10]; sparx5_tc_flower_template_create() local
[all...]
H A Dsparx5_vcap_impl.c145 /* These protocols have dedicated keysets in IS0 and a TC dissector */
152 /* These protocols have dedicated keysets in IS2 and a TC dissector */
160 /* These protocols have dedicated keysets in ES2 and a TC dissector */
420 /* Return the list of keysets for the vcap port configuration */
433 /* Collect all keysets for the port in a list */ in sparx5_vcap_is0_get_port_keysets()
474 /* Return the list of keysets for the vcap port configuration */
487 /* Collect all keysets for the port in a list */ in sparx5_vcap_is2_get_port_keysets()
576 /* Return the keysets for the vcap port IP4 traffic class configuration */
604 /* Return the list of keysets for the vcap port configuration */
616 /* Collect all keysets fo in sparx5_vcap_es0_get_port_keysets()
767 enum vcap_keyfield_set keysets[10] = {}; sparx5_vcap_validate_keyset() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vcap_impl.c122 /* Return the list of keysets for the vcap port configuration */
134 /* Collect all keysets for the port in a list */ in lan966x_vcap_is1_get_port_keysets()
195 /* Collect all keysets for the port in a list */ in lan966x_vcap_is2_get_port_keysets()
275 enum vcap_keyfield_set keysets[10] = {}; in lan966x_vcap_validate_keyset() local
282 keysetlist.max = ARRAY_SIZE(keysets); in lan966x_vcap_validate_keyset()
283 keysetlist.keysets = keysets; in lan966x_vcap_validate_keyset()
297 return kslist->keysets[0]; in lan966x_vcap_validate_keyset()
310 if (kslist->keysets[i] == keysets[ in lan966x_vcap_validate_keyset()
[all...]

Completed in 11 milliseconds