Home
last modified time | relevance | path

Searched refs:vcap_control (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/microchip/vcap/
Dvcap_api_private.h28 struct vcap_control *vctrl; /* the client control */
52 int vcap_api_check(struct vcap_control *ctrl);
68 int vcap_keyfield_count(struct vcap_control *vctrl,
72 vcap_keyfield_typegroup(struct vcap_control *vctrl,
75 const struct vcap_field *vcap_keyfields(struct vcap_control *vctrl,
83 vcap_actionfieldset(struct vcap_control *vctrl,
86 int vcap_actionfield_count(struct vcap_control *vctrl,
91 vcap_actionfield_typegroup(struct vcap_control *vctrl, enum vcap_type vt,
95 vcap_actionfields(struct vcap_control *vctrl,
98 const char *vcap_actionset_name(struct vcap_control *vctrl,
[all …]
Dvcap_api_client.h152 int vcap_enable_lookups(struct vcap_control *vctrl, struct net_device *ndev,
158 struct vcap_rule *vcap_alloc_rule(struct vcap_control *vctrl,
171 int vcap_del_rule(struct vcap_control *vctrl, struct net_device *ndev, u32 id);
175 struct vcap_rule *vcap_get_rule(struct vcap_control *vctrl, u32 id);
208 int vcap_get_rule_count_by_cookie(struct vcap_control *vctrl,
217 struct vcap_admin *vcap_find_admin(struct vcap_control *vctrl, int cid);
222 int vcap_lookup_rule_by_cookie(struct vcap_control *vctrl, u64 cookie);
224 int vcap_chain_offset(struct vcap_control *vctrl, int from_cid, int to_cid);
226 bool vcap_is_next_lookup(struct vcap_control *vctrl, int cur_cid, int next_cid);
228 bool vcap_is_last_chain(struct vcap_control *vctrl, int cid, bool ingress);
[all …]
Dvcap_api_debugfs.h18 struct vcap_control *vctrl,
23 struct vcap_control *vctrl);
28 struct vcap_control *vctrl, in vcap_port_debugfs()
35 struct vcap_control *vctrl) in vcap_debugfs()
Dvcap_api_debugfs.c12 struct vcap_control *vctrl;
17 struct vcap_control *vctrl;
22 static void vcap_debugfs_show_rule_keyfield(struct vcap_control *vctrl, in vcap_debugfs_show_rule_keyfield()
117 vcap_debugfs_show_rule_actionfield(struct vcap_control *vctrl, in vcap_debugfs_show_rule_actionfield()
194 struct vcap_control *vctrl = ri->vctrl; in vcap_debugfs_show_rule_keyset()
215 struct vcap_control *vctrl = ri->vctrl; in vcap_debugfs_show_rule_actionset()
236 static void vcap_show_admin_rule(struct vcap_control *vctrl, in vcap_show_admin_rule()
266 static void vcap_show_admin_info(struct vcap_control *vctrl, in vcap_show_admin_info()
292 static int vcap_show_admin(struct vcap_control *vctrl, in vcap_show_admin()
315 static int vcap_show_admin_raw(struct vcap_control *vctrl, in vcap_show_admin_raw()
[all …]
Dvcap_api.c218 static bool vcap_verify_keystream_keyset(struct vcap_control *vctrl, in vcap_verify_keystream_keyset()
308 static int vcap_find_keystream_typegroup_sw(struct vcap_control *vctrl, in vcap_find_keystream_typegroup_sw()
333 vcap_find_keystream_keysets(struct vcap_control *vctrl, in vcap_find_keystream_keysets()
366 int vcap_addr_keysets(struct vcap_control *vctrl, in vcap_addr_keysets()
396 const struct vcap_field *vcap_keyfields(struct vcap_control *vctrl, in vcap_keyfields()
407 const struct vcap_set *vcap_keyfieldset(struct vcap_control *vctrl, in vcap_keyfieldset()
425 vcap_keyfield_typegroup(struct vcap_control *vctrl, in vcap_keyfield_typegroup()
437 int vcap_keyfield_count(struct vcap_control *vctrl, in vcap_keyfield_count()
499 static void vcap_encode_keyfield_typegroups(struct vcap_control *vctrl, in vcap_encode_keyfield_typegroups()
691 vcap_actionfields(struct vcap_control *vctrl, in vcap_actionfields()
[all …]
Dvcap_api.h273 struct vcap_control { struct
Dvcap_api_debugfs_kunit.c236 static struct vcap_control test_vctrl = {
Dvcap_api_kunit.c226 static struct vcap_control test_vctrl = {
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_tc_flower.c260 static int sparx5_tc_flower_action_check(struct vcap_control *vctrl, in sparx5_tc_flower_action_check()
386 struct vcap_control *vctrl; in sparx5_tc_select_protocol_keyset()
466 static int sparx5_tc_add_rule_copy(struct vcap_control *vctrl, in sparx5_tc_add_rule_copy()
529 static int sparx5_tc_add_remaining_rules(struct vcap_control *vctrl, in sparx5_tc_add_remaining_rules()
618 static int sparx5_tc_add_rule_link(struct vcap_control *vctrl, in sparx5_tc_add_rule_link()
1093 struct vcap_control *vctrl; in sparx5_tc_flower_replace()
1268 struct vcap_control *vctrl, in sparx5_tc_free_rule_resources()
1292 struct vcap_control *vctrl; in sparx5_tc_flower_destroy()
1326 struct vcap_control *vctrl; in sparx5_tc_flower_stats()
1352 struct vcap_control *vctrl; in sparx5_tc_flower_template_create()
[all …]
Dsparx5_vcap_debugfs.c446 struct vcap_control *vctrl; in sparx5_port_info()
Dsparx5_vcap_impl.c1953 sparx5_vcap_admin_alloc(struct sparx5 *sparx5, struct vcap_control *ctrl, in sparx5_vcap_admin_alloc()
2046 struct vcap_control *ctrl; in sparx5_vcap_init()
2098 struct vcap_control *ctrl = sparx5->vcap_ctrl; in sparx5_vcap_destroy()
Dsparx5_main.h295 struct vcap_control *vcap_ctrl;
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_tc_flower.c253 static int lan966x_tc_flower_action_check(struct vcap_control *vctrl, in lan966x_tc_flower_action_check()
373 static int lan966x_tc_add_rule_link(struct vcap_control *vctrl, in lan966x_tc_add_rule_link()
557 struct vcap_control *vctrl; in lan966x_tc_flower_del()
Dlan966x_vcap_impl.c609 lan966x_vcap_admin_alloc(struct lan966x *lan966x, struct vcap_control *ctrl, in lan966x_vcap_admin_alloc()
711 struct vcap_control *ctrl; in lan966x_vcap_init()
770 struct vcap_control *ctrl; in lan966x_vcap_deinit()
Dlan966x_vcap_debugfs.c220 struct vcap_control *vctrl; in lan966x_vcap_port_info()
Dlan966x_main.h387 struct vcap_control *vcap_ctrl;