net/bnxt: update copyright year
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_matcher.h
index c818bbe..dc24878 100644 (file)
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2020 Broadcom
+ * Copyright(c) 2014-2021 Broadcom
  * All rights reserved.
  */
 
@@ -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(enum ulp_direction_type       dir,
-                        struct ulp_rte_act_bitmap      *act_bitmap,
-                        uint32_t                       *act_id);
+ulp_matcher_action_match(struct ulp_rte_parser_params *params,
+                        uint32_t *act_id);
 
 #endif /* ULP_MATCHER_H_ */