Home
last modified time | relevance | path

Searched refs:vcap_admin (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/microchip/vcap/
Dvcap_api.h163 struct vcap_admin { struct
224 struct vcap_admin *admin,
231 struct vcap_admin *admin,
235 (struct vcap_admin *admin);
238 struct vcap_admin *admin,
243 struct vcap_admin *admin,
250 struct vcap_admin *admin,
255 struct vcap_admin *admin,
261 struct vcap_admin *admin,
268 struct vcap_admin *admin,
Dvcap_api_debugfs_kunit.c36 struct vcap_admin *admin, in test_val_keyset()
81 struct vcap_admin *admin, in test_add_def_fields()
93 static void test_cache_erase(struct vcap_admin *admin) in test_cache_erase()
104 static void test_cache_init(struct net_device *ndev, struct vcap_admin *admin, in test_cache_init()
112 static void test_cache_read(struct net_device *ndev, struct vcap_admin *admin, in test_cache_read()
154 static void test_cache_write(struct net_device *ndev, struct vcap_admin *admin, in test_cache_write()
196 static void test_cache_update(struct net_device *ndev, struct vcap_admin *admin, in test_cache_update()
208 static void test_cache_move(struct net_device *ndev, struct vcap_admin *admin, in test_cache_move()
218 struct vcap_admin *admin, in vcap_test_port_info()
242 static void vcap_test_api_init(struct vcap_admin *admin) in vcap_test_api_init()
[all …]
Dvcap_api_debugfs.c13 struct vcap_admin *admin;
161 struct vcap_admin *admin = ri->admin; in vcap_debugfs_show_keysets()
195 struct vcap_admin *admin = ri->admin; in vcap_debugfs_show_rule_keyset()
216 struct vcap_admin *admin = ri->admin; in vcap_debugfs_show_rule_actionset()
237 struct vcap_admin *admin, in vcap_show_admin_rule()
267 struct vcap_admin *admin, in vcap_show_admin_info()
293 struct vcap_admin *admin, in vcap_show_admin()
316 struct vcap_admin *admin, in vcap_show_admin_raw()
371 struct vcap_admin *admin; in vcap_port_debugfs_show()
441 struct vcap_admin *admin; in vcap_debugfs()
Dvcap_api_kunit.c32 struct vcap_admin *admin, in test_val_keyset()
74 struct vcap_admin *admin, in test_add_def_fields()
84 static void test_cache_erase(struct vcap_admin *admin) in test_cache_erase()
95 static void test_cache_init(struct net_device *ndev, struct vcap_admin *admin, in test_cache_init()
103 static void test_cache_read(struct net_device *ndev, struct vcap_admin *admin, in test_cache_read()
145 static void test_cache_write(struct net_device *ndev, struct vcap_admin *admin, in test_cache_write()
187 static void test_cache_update(struct net_device *ndev, struct vcap_admin *admin, in test_cache_update()
198 static void test_cache_move(struct net_device *ndev, struct vcap_admin *admin, in test_cache_move()
208 struct vcap_admin *admin, in vcap_test_port_info()
232 static void vcap_test_api_init(struct vcap_admin *admin) in vcap_test_api_init()
[all …]
Dvcap_api_client.h205 int vcap_admin_rule_count(struct vcap_admin *admin, int cid);
215 int vcap_chain_id_to_lookup(struct vcap_admin *admin, int cur_cid);
217 struct vcap_admin *vcap_find_admin(struct vcap_control *vctrl, int cid);
243 int vcap_del_rules(struct vcap_control *vctrl, struct vcap_admin *admin);
Dvcap_api_private.h26 struct vcap_admin *admin; /* vcap hw instance */
108 struct vcap_admin *admin, int addr,
Dvcap_api.c368 struct vcap_admin *admin, in vcap_addr_keysets()
927 struct vcap_admin *admin; in vcap_rule_exists()
942 struct vcap_admin *admin; in vcap_get_locked_rule()
959 struct vcap_admin *admin; in vcap_lookup_rule_by_cookie()
980 int vcap_admin_rule_count(struct vcap_admin *admin, int cid) in vcap_admin_rule_count()
1434 struct vcap_admin *admin = ri->admin; in vcap_decode_actionset()
1478 struct vcap_admin *admin = ri->admin; in vcap_decode_keyset()
1534 struct vcap_admin *admin = ri->admin; in vcap_read_rule()
1566 struct vcap_admin *admin = ri->admin; in vcap_write_rule()
1593 struct vcap_admin *admin = ri->admin; in vcap_write_counter()
[all …]
Dvcap_tc.h13 struct vcap_admin *admin;
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_vcap_impl.c79 struct vcap_admin *admin, in __lan966x_vcap_range_init()
269 struct vcap_admin *admin, in lan966x_vcap_validate_keyset()
323 struct vcap_admin *admin, in lan966x_vcap_is1_add_default_fields()
339 struct vcap_admin *admin, in lan966x_vcap_is2_add_default_fields()
358 struct vcap_admin *admin, in lan966x_vcap_es0_add_default_fields()
366 struct vcap_admin *admin, in lan966x_vcap_add_default_fields()
388 static void lan966x_vcap_cache_erase(struct vcap_admin *admin) in lan966x_vcap_cache_erase()
401 struct vcap_admin *admin, u32 id) in lan966x_es0_read_esdx_counter()
416 struct vcap_admin *admin, u32 id) in lan966x_es0_write_esdx_counter()
431 struct vcap_admin *admin, in lan966x_vcap_cache_write()
[all …]
Dlan966x_tc_flower.c224 struct vcap_admin *admin, in lan966x_tc_flower_use_dissectors()
312 static int lan966x_tc_set_actionset(struct vcap_admin *admin, in lan966x_tc_set_actionset()
339 static int lan966x_tc_add_rule_link_target(struct vcap_admin *admin, in lan966x_tc_add_rule_link_target()
374 struct vcap_admin *admin, in lan966x_tc_add_rule_link()
379 struct vcap_admin *to_admin = vcap_find_admin(vctrl, to_cid); in lan966x_tc_add_rule_link()
424 static int lan966x_tc_add_rule_counter(struct vcap_admin *admin, in lan966x_tc_add_rule_counter()
443 struct vcap_admin *admin, in lan966x_tc_flower_add()
555 struct vcap_admin *admin) in lan966x_tc_flower_del()
579 struct vcap_admin *admin) in lan966x_tc_flower_stats()
599 struct vcap_admin *admin; in lan966x_tc_flower()
Dlan966x_vcap_debugfs.c9 struct vcap_admin *admin, in lan966x_vcap_is1_port_keys()
124 struct vcap_admin *admin, in lan966x_vcap_is2_port_keys()
194 struct vcap_admin *admin, in lan966x_vcap_es0_port_keys()
214 struct vcap_admin *admin, in lan966x_vcap_port_info()
Dlan966x_main.h714 struct vcap_admin *admin,
718 struct vcap_admin *admin, in lan966x_vcap_port_info()
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_vcap_impl.c169 struct vcap_admin *admin, in sparx5_vcap_type_err()
208 struct vcap_admin *admin, in _sparx5_vcap_range_init()
265 struct vcap_admin *admin) in sparx5_vcap_block_init()
693 struct vcap_admin *admin, in sparx5_vcap_get_port_keyset()
729 bool sparx5_vcap_is_known_etype(struct vcap_admin *admin, u16 etype) in sparx5_vcap_is_known_etype()
761 struct vcap_admin *admin, in sparx5_vcap_validate_keyset()
817 struct vcap_admin *admin, in sparx5_vcap_ingress_add_default_fields()
849 struct vcap_admin *admin, in sparx5_vcap_es0_add_default_fields()
861 struct vcap_admin *admin, in sparx5_vcap_es2_add_default_fields()
885 struct vcap_admin *admin, in sparx5_vcap_add_default_fields()
[all …]
Dsparx5_tc_flower.c236 struct vcap_admin *admin, in sparx5_tc_use_dissectors()
340 static int sparx5_tc_add_rule_counter(struct vcap_admin *admin, in sparx5_tc_add_rule_counter()
374 struct vcap_admin *admin, in sparx5_tc_select_protocol_keyset()
469 struct vcap_admin *admin, in sparx5_tc_add_rule_copy()
532 struct vcap_admin *admin, in sparx5_tc_add_remaining_rules()
550 static int sparx5_tc_set_actionset(struct vcap_admin *admin, in sparx5_tc_set_actionset()
580 static int sparx5_tc_add_rule_link_target(struct vcap_admin *admin, in sparx5_tc_add_rule_link_target()
619 struct vcap_admin *admin, in sparx5_tc_add_rule_link()
623 struct vcap_admin *to_admin = vcap_find_admin(vctrl, to_cid); in sparx5_tc_add_rule_link()
812 static int sparx5_tc_action_trap(struct vcap_admin *admin, in sparx5_tc_action_trap()
[all …]
Dsparx5_vcap_debugfs.h19 struct vcap_admin *admin,
25 struct vcap_admin *admin, in sparx5_port_info()
Dsparx5_vcap_impl.h193 struct vcap_admin *admin,
200 struct vcap_admin *admin, int cid,
205 bool sparx5_vcap_is_known_etype(struct vcap_admin *admin, u16 etype);
Dsparx5_vcap_debugfs.c77 struct vcap_admin *admin, in sparx5_vcap_is0_port_keys()
120 struct vcap_admin *admin, in sparx5_vcap_is2_port_keys()
233 struct vcap_admin *admin, in sparx5_vcap_is2_port_stickies()
288 struct vcap_admin *admin, in sparx5_vcap_es0_port_keys()
326 struct vcap_admin *admin, in sparx5_vcap_es2_port_keys()
406 struct vcap_admin *admin, in sparx5_vcap_es2_port_stickies()
440 struct vcap_admin *admin, in sparx5_port_info()