1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(c) 2014-2021 Broadcom 3 * All rights reserved. 4 */ 5 6 #ifndef ULP_MATCHER_H_ 7 #define ULP_MATCHER_H_ 8 9 #include <rte_log.h> 10 #include "bnxt.h" 11 #include "ulp_template_db_enum.h" 12 #include "ulp_template_struct.h" 13 #include "bnxt_tf_common.h" 14 15 /* 16 * Function to handle the matching of RTE Flows and validating 17 * the pattern masks against the flow templates. 18 */ 19 int32_t 20 ulp_matcher_pattern_match(struct ulp_rte_parser_params *params, 21 uint32_t *class_id); 22 23 /* 24 * Function to handle the matching of RTE Flows and validating 25 * the action against the flow templates. 26 */ 27 int32_t 28 ulp_matcher_action_match(struct ulp_rte_parser_params *params, 29 uint32_t *act_id); 30 31 #endif /* ULP_MATCHER_H_ */ 32