net/bnxt: fix assignment instead of comparison
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_matcher.h
index 57a161d..a582188 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <rte_log.h>
 #include "bnxt.h"
-#include "ulp_template_db.h"
+#include "ulp_template_db_enum.h"
 #include "ulp_template_struct.h"
 #include "bnxt_tf_common.h"
 
  * the pattern masks against the flow templates.
  */
 int32_t
-ulp_matcher_pattern_match(enum ulp_direction_type          dir,
-                         struct ulp_rte_hdr_bitmap        *hdr_bitmap,
-                         struct ulp_rte_hdr_field         *hdr_field,
-                         struct ulp_rte_act_bitmap        *act_bitmap,
-                         uint32_t                         *class_id);
+ulp_matcher_pattern_match(struct ulp_rte_parser_params *params,
+                         uint32_t *class_id);
+
+/*
+ * Function to handle the matching of RTE Flows and validating
+ * the action against the flow templates.
+ */
+int32_t
+ulp_matcher_action_match(struct ulp_rte_parser_params *params,
+                        uint32_t *act_id);
 
 #endif /* ULP_MATCHER_H_ */