Searched refs:vcap_rule (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/microchip/vcap/ |
D | vcap_api_client.h | 158 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 …]
|
D | vcap_api.c | 532 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 …]
|
D | vcap_api.h | 184 struct vcap_rule { struct 225 struct vcap_rule *rule, 232 struct vcap_rule *rule);
|
D | vcap_api_private.h | 24 struct vcap_rule data; /* provided by the client */ 122 struct vcap_rule *vcap_decode_rule(struct vcap_rule_internal *elem);
|
D | vcap_tc.h | 12 struct vcap_rule *vrule;
|
D | vcap_api_debugfs_kunit.c | 37 struct vcap_rule *rule, in test_val_keyset() 82 struct vcap_rule *rule) in test_add_def_fields()
|
D | vcap_api_kunit.c | 33 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()
|
D | vcap_api_debugfs.c | 297 struct vcap_rule *vrule; in vcap_show_admin()
|
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_tc_flower.c | 260 struct vcap_rule *vrule) in sparx5_tc_use_dissectors() 364 struct vcap_rule *vrule) in sparx5_tc_add_rule_counter() 396 struct vcap_rule *vrule, in sparx5_tc_select_protocol_keyset() 491 struct vcap_rule *erule, in sparx5_tc_add_rule_copy() 502 struct vcap_rule *vrule; in sparx5_tc_add_rule_copy() 554 struct vcap_rule *erule, in sparx5_tc_add_remaining_rules() 574 struct vcap_rule *vrule) in sparx5_tc_set_actionset() 604 struct vcap_rule *vrule, in sparx5_tc_add_rule_link_target() 643 struct vcap_rule *vrule, in sparx5_tc_add_rule_link() 775 struct vcap_rule *vrule, int sg_idx, in sparx5_tc_flower_psfp_setup() [all …]
|
D | sparx5_vcap_impl.c | 282 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 …]
|
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_tc_flower.c | 231 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()
|
D | lan966x_vcap_impl.c | 270 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()
|
D | lan966x_ptp.c | 52 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()
|