Home
last modified time | relevance | path

Searched refs:vcap_rule (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_client.h158 struct vcap_rule *vcap_alloc_rule(struct vcap_control *vctrl,
165 void vcap_free_rule(struct vcap_rule *rule);
167 int vcap_val_rule(struct vcap_rule *rule, u16 l3_proto);
169 int vcap_add_rule(struct vcap_rule *rule);
173 struct vcap_rule *vcap_copy_rule(struct vcap_rule *rule);
175 struct vcap_rule *vcap_get_rule(struct vcap_control *vctrl, u32 id);
177 int vcap_mod_rule(struct vcap_rule *rule);
180 int vcap_set_rule_set_keyset(struct vcap_rule *rule,
183 int vcap_set_rule_set_actionset(struct vcap_rule *rule,
186 void vcap_rule_set_counter_id(struct vcap_rule *rule, u32 counter_id);
[all …]
H A Dvcap_api.c532 vcap_copy_from_client_keyfield(struct vcap_rule *rule, in vcap_copy_from_client_keyfield()
587 vcap_copy_from_client_actionfield(struct vcap_rule *rule, in vcap_copy_from_client_actionfield()
884 int vcap_set_rule_set_keyset(struct vcap_rule *rule, in vcap_set_rule_set_keyset()
904 int vcap_set_rule_set_actionset(struct vcap_rule *rule, in vcap_set_rule_set_actionset()
1471 return vcap_set_rule_set_actionset((struct vcap_rule *)ri, actionset); in vcap_decode_actionset()
1528 return vcap_set_rule_set_keyset((struct vcap_rule *)ri, keyset); in vcap_decode_keyset()
1711 static int vcap_add_type_keyfield(struct vcap_rule *rule) in vcap_add_type_keyfield()
1744 static int vcap_add_type_actionfield(struct vcap_rule *rule) in vcap_add_type_actionfield()
1908 bool vcap_rule_find_keysets(struct vcap_rule *rule, in vcap_rule_find_keysets()
1987 int vcap_val_rule(struct vcap_rule *rule, u16 l3_proto) in vcap_val_rule()
[all …]
H A Dvcap_api.h184 struct vcap_rule { struct
225 struct vcap_rule *rule,
232 struct vcap_rule *rule);
H A Dvcap_api_private.h24 struct vcap_rule data; /* provided by the client */
122 struct vcap_rule *vcap_decode_rule(struct vcap_rule_internal *elem);
H A Dvcap_tc.h12 struct vcap_rule *vrule;
H A Dvcap_api_kunit.c33 struct vcap_rule *rule, in test_val_keyset()
75 struct vcap_rule *rule) in test_add_def_fields()
250 struct vcap_rule *rule; in test_vcap_xn_rule_creator()
1000 static void vcap_free_ckf(struct vcap_rule *rule) in vcap_free_ckf()
1022 struct vcap_rule *rule = (struct vcap_rule *)&ri; in vcap_api_rule_add_keyvalue_test()
1100 static void vcap_free_caf(struct vcap_rule *rule) in vcap_free_caf()
1122 struct vcap_rule *rule = (struct vcap_rule *)&ri; in vcap_api_rule_add_actionvalue_test()
1354 struct vcap_rule *rule; in vcap_api_encode_rule_test()
H A Dvcap_api_debugfs_kunit.c37 struct vcap_rule *rule, in test_val_keyset()
82 struct vcap_rule *rule) in test_add_def_fields()
H A Dvcap_api_debugfs.c297 struct vcap_rule *vrule; in vcap_show_admin()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c231 struct vcap_rule *vrule, in lan966x_tc_flower_use_dissectors()
319 struct vcap_rule *vrule) in lan966x_tc_set_actionset()
346 struct vcap_rule *vrule, in lan966x_tc_add_rule_link_target()
381 struct vcap_rule *vrule, in lan966x_tc_add_rule_link()
431 struct vcap_rule *vrule) in lan966x_tc_add_rule_counter()
455 struct vcap_rule *vrule; in lan966x_tc_flower_add()
H A Dlan966x_vcap_impl.c270 struct vcap_rule *rule, in lan966x_vcap_validate_keyset()
316 static bool lan966x_vcap_is2_is_first_chain(struct vcap_rule *rule) in lan966x_vcap_is2_is_first_chain()
324 struct vcap_rule *rule) in lan966x_vcap_is1_add_default_fields()
340 struct vcap_rule *rule) in lan966x_vcap_is2_add_default_fields()
359 struct vcap_rule *rule) in lan966x_vcap_es0_add_default_fields()
367 struct vcap_rule *rule) in lan966x_vcap_add_default_fields()
H A Dlan966x_ptp.c55 int (*add_ptp_key)(struct vcap_rule *vrule, in lan966x_ptp_add_trap()
61 struct vcap_rule *vrule; in lan966x_ptp_add_trap()
107 struct vcap_rule *vrule; in lan966x_ptp_del_trap()
132 static int lan966x_ptp_add_l2_key(struct vcap_rule *vrule, in lan966x_ptp_add_l2_key()
138 static int lan966x_ptp_add_ip_event_key(struct vcap_rule *vrule, in lan966x_ptp_add_ip_event_key()
145 static int lan966x_ptp_add_ip_general_key(struct vcap_rule *vrule, in lan966x_ptp_add_ip_general_key()