Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_client.h165 void vcap_free_rule(struct vcap_rule *rule);
169 int vcap_add_rule(struct vcap_rule *rule);
173 struct vcap_rule *vcap_copy_rule(struct vcap_rule *rule);
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,
199 int vcap_rule_add_action_bit(struct vcap_rule *rule,
201 int vcap_rule_add_action_u32(struct vcap_rule *rule,
230 bool vcap_rule_find_keysets(struct vcap_rule *rule,
249 int vcap_filter_rule_keys(struct vcap_rule *rule,
[all …]
H A Dvcap_api.c532 vcap_copy_from_client_keyfield(struct vcap_rule *rule, in vcap_copy_from_client_keyfield()
884 int vcap_set_rule_set_keyset(struct vcap_rule *rule, in vcap_set_rule_set_keyset()
1908 bool vcap_rule_find_keysets(struct vcap_rule *rule, in vcap_rule_find_keysets()
2258 int vcap_add_rule(struct vcap_rule *rule) in vcap_add_rule()
2373 return (struct vcap_rule *)ri; in vcap_alloc_rule()
2385 void vcap_free_rule(struct vcap_rule *rule) in vcap_free_rule()
2437 struct vcap_rule *rule; in vcap_get_rule()
2455 int vcap_mod_rule(struct vcap_rule *rule) in vcap_mod_rule()
3485 int vcap_filter_rule_keys(struct vcap_rule *rule, in vcap_filter_rule_keys()
3554 struct vcap_rule *vcap_copy_rule(struct vcap_rule *erule) in vcap_copy_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_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_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()
997 static void vcap_free_ckf(struct vcap_rule *rule) in vcap_free_ckf()
1019 struct vcap_rule *rule = (struct vcap_rule *)&ri; in vcap_api_rule_add_keyvalue_test()
1097 static void vcap_free_caf(struct vcap_rule *rule) in vcap_free_caf()
1119 struct vcap_rule *rule = (struct vcap_rule *)&ri; in vcap_api_rule_add_actionvalue_test()
1351 struct vcap_rule *rule; in vcap_api_encode_rule_test()
H A Dvcap_api_debugfs.c297 struct vcap_rule *vrule; in vcap_show_admin()
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c256 struct vcap_rule *vrule) in sparx5_tc_use_dissectors()
487 struct vcap_rule *erule, in sparx5_tc_add_rule_copy()
498 struct vcap_rule *vrule; in sparx5_tc_add_rule_copy()
550 struct vcap_rule *erule, in sparx5_tc_add_remaining_rules()
570 struct vcap_rule *vrule) in sparx5_tc_set_actionset()
600 struct vcap_rule *vrule, in sparx5_tc_add_rule_link_target()
832 struct vcap_rule *vrule, in sparx5_tc_action_trap()
907 struct vcap_rule *vrule, in sparx5_tc_action_vlan_modify()
1114 struct vcap_rule *vrule; in sparx5_tc_flower_replace()
1292 struct vcap_rule *vrule; in sparx5_tc_free_rule_resources()
[all …]
H A Dsparx5_vcap_impl.c282 static bool sparx5_vcap_is0_is_first_chain(struct vcap_rule *rule) in sparx5_vcap_is0_is_first_chain()
293 static bool sparx5_vcap_is2_is_first_chain(struct vcap_rule *rule) in sparx5_vcap_is2_is_first_chain()
301 static bool sparx5_vcap_es2_is_first_chain(struct vcap_rule *rule) in sparx5_vcap_es2_is_first_chain()
308 static void sparx5_vcap_add_ingress_range_port_mask(struct vcap_rule *rule, in sparx5_vcap_add_ingress_range_port_mask()
324 static void sparx5_vcap_add_wide_port_mask(struct vcap_rule *rule, in sparx5_vcap_add_wide_port_mask()
339 static void sparx5_vcap_add_egress_range_port_mask(struct vcap_rule *rule, in sparx5_vcap_add_egress_range_port_mask()
762 struct vcap_rule *rule, in sparx5_vcap_validate_keyset()
818 struct vcap_rule *rule) in sparx5_vcap_ingress_add_default_fields()
850 struct vcap_rule *rule) in sparx5_vcap_es0_add_default_fields()
862 struct vcap_rule *rule) in sparx5_vcap_es2_add_default_fields()
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c225 struct vcap_rule *vrule, in lan966x_tc_flower_use_dissectors()
313 struct vcap_rule *vrule) in lan966x_tc_set_actionset()
340 struct vcap_rule *vrule, in lan966x_tc_add_rule_link_target()
375 struct vcap_rule *vrule, in lan966x_tc_add_rule_link()
425 struct vcap_rule *vrule) in lan966x_tc_add_rule_counter()
449 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.c52 int (*add_ptp_key)(struct vcap_rule *vrule, in lan966x_ptp_add_trap()
58 struct vcap_rule *vrule; in lan966x_ptp_add_trap()
104 struct vcap_rule *vrule; in lan966x_ptp_del_trap()
129 static int lan966x_ptp_add_l2_key(struct vcap_rule *vrule, in lan966x_ptp_add_l2_key()
135 static int lan966x_ptp_add_ip_event_key(struct vcap_rule *vrule, in lan966x_ptp_add_ip_event_key()
142 static int lan966x_ptp_add_ip_general_key(struct vcap_rule *vrule, in lan966x_ptp_add_ip_general_key()