Searched refs:kslist (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/microchip/vcap/ |
D | vcap_api_debugfs_kunit.c | 38 struct vcap_keyset_list *kslist, in test_val_keyset() argument 43 if (kslist->cnt > 0) { in test_val_keyset() 46 for (idx = 0; idx < kslist->cnt; idx++) { in test_val_keyset() 47 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() [all …]
|
D | vcap_api_debugfs.c | 321 struct vcap_keyset_list kslist; in vcap_show_admin_raw() local 337 kslist.keysets = keysets; in vcap_show_admin_raw() 338 kslist.max = ARRAY_SIZE(keysets); in vcap_show_admin_raw() 341 kslist.cnt = 0; in vcap_show_admin_raw() 342 ret = vcap_addr_keysets(vctrl, ri->ndev, admin, addr, &kslist); in vcap_show_admin_raw() 345 info = vcap_keyfieldset(vctrl, vt, kslist.keysets[0]); in vcap_show_admin_raw() 352 vcap_keyset_name(vctrl, kslist.keysets[0])); in vcap_show_admin_raw() 357 for (idx = 0; idx < kslist.cnt; ++idx) in vcap_show_admin_raw() 360 kslist.keysets[idx])); in vcap_show_admin_raw()
|
D | vcap_api_private.h | 109 struct vcap_keyset_list *kslist); 116 int sw_max, struct vcap_keyset_list *kslist);
|
D | vcap_api_kunit.c | 34 struct vcap_keyset_list *kslist, in test_val_keyset() argument 39 if (kslist->cnt > 0) { in test_val_keyset() 42 for (idx = 0; idx < kslist->cnt; idx++) { in test_val_keyset() 43 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() [all …]
|
D | vcap_api.h | 226 struct vcap_keyset_list *kslist,
|
D | vcap_api_client.h | 280 struct vcap_keyset_list *kslist);
|
D | vcap_api.c | 338 struct vcap_keyset_list *kslist) in vcap_find_keystream_keysets() argument 355 vcap_keyset_list_add(kslist, idx); in vcap_find_keystream_keysets() 357 if (kslist->cnt > 0) in vcap_find_keystream_keysets() 370 struct vcap_keyset_list *kslist) in vcap_addr_keysets() argument 391 kslist); in vcap_addr_keysets() 3546 struct vcap_keyset_list *kslist) in vcap_select_min_rule_keyset() argument 3552 for (idx = 0; idx < kslist->cnt; ++idx) { in vcap_select_min_rule_keyset() 3553 kset = vcap_keyfieldset(vctrl, vtype, kslist->keysets[idx]); in vcap_select_min_rule_keyset() 3559 ret = kslist->keysets[idx]; in vcap_select_min_rule_keyset()
|
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_vcap_impl.c | 271 struct vcap_keyset_list *kslist, in lan966x_vcap_validate_keyset() argument 279 if (!kslist || kslist->cnt == 0) in lan966x_vcap_validate_keyset() 297 return kslist->keysets[0]; in lan966x_vcap_validate_keyset() 308 for (int i = 0; i < kslist->cnt; ++i) in lan966x_vcap_validate_keyset() 310 if (kslist->keysets[i] == keysets[j]) in lan966x_vcap_validate_keyset() 311 return kslist->keysets[i]; in lan966x_vcap_validate_keyset()
|
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_tc_flower.c | 1441 struct vcap_keyset_list kslist = {}; in sparx5_tc_flower_template_create() local 1489 kslist.keysets = keysets; in sparx5_tc_flower_template_create() 1490 kslist.max = ARRAY_SIZE(keysets); in sparx5_tc_flower_template_create() 1491 if (!vcap_rule_find_keysets(vrule, &kslist)) { in sparx5_tc_flower_template_create() 1498 ftp->keyset = vcap_select_min_rule_keyset(vctrl, admin->vtype, &kslist); in sparx5_tc_flower_template_create() 1499 kslist.cnt = 0; in sparx5_tc_flower_template_create() 1503 &kslist); in sparx5_tc_flower_template_create() 1505 if (kslist.cnt > 0) in sparx5_tc_flower_template_create() 1506 ftp->orig = kslist.keysets[0]; in sparx5_tc_flower_template_create()
|
D | sparx5_vcap_impl.c | 696 struct vcap_keyset_list *kslist) in sparx5_vcap_get_port_keyset() argument 704 err = sparx5_vcap_is0_get_port_keysets(ndev, lookup, kslist, in sparx5_vcap_get_port_keyset() 709 err = sparx5_vcap_is2_get_port_keysets(ndev, lookup, kslist, in sparx5_vcap_get_port_keyset() 713 err = sparx5_vcap_es0_get_port_keysets(ndev, kslist, l3_proto); in sparx5_vcap_get_port_keyset() 717 err = sparx5_vcap_es2_get_port_keysets(ndev, lookup, kslist, in sparx5_vcap_get_port_keyset() 763 struct vcap_keyset_list *kslist, in sparx5_vcap_validate_keyset() argument 771 if (!kslist || kslist->cnt == 0) in sparx5_vcap_validate_keyset() 804 for (idx = 0; idx < kslist->cnt; ++idx) in sparx5_vcap_validate_keyset() 806 if (kslist->keysets[idx] == keysets[jdx]) in sparx5_vcap_validate_keyset() 807 return kslist->keysets[idx]; in sparx5_vcap_validate_keyset() [all …]
|
D | sparx5_vcap_impl.h | 196 struct vcap_keyset_list *kslist);
|