net/bnxt: update log messages in TruFlow path
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_rte_parser.h
index 673172c..e4225d0 100644 (file)
 #define        BNXT_ULP_GET_IPV6_FLOWLABEL(vtcf)       \
                        ((vtcf) & BNXT_ULP_PARSER_IPV6_FLOW_LABEL)
 #define        BNXT_ULP_PARSER_IPV6_VER_MASK           0xf0000000
+#define BNXT_ULP_IPV6_DFLT_VER                 0x60000000
 #define        BNXT_ULP_PARSER_IPV6_TC                 0x0ff00000
 #define        BNXT_ULP_PARSER_IPV6_FLOW_LABEL         0x000fffff
+#define BNXT_ULP_DEFAULT_TTL                   64
 
 enum bnxt_ulp_prsr_action {
        ULP_PRSR_ACT_DEFAULT = 0,
@@ -88,10 +90,10 @@ int32_t
 ulp_rte_vf_hdr_handler(const struct rte_flow_item *item,
                       struct ulp_rte_parser_params *params);
 
-/* Function to handle the parsing of RTE Flow item port id Header. */
+/* Parse items PORT_ID, PORT_REPRESENTOR and REPRESENTED_PORT. */
 int32_t
-ulp_rte_port_id_hdr_handler(const struct rte_flow_item *item,
-                           struct ulp_rte_parser_params *params);
+ulp_rte_port_hdr_handler(const struct rte_flow_item *item,
+                        struct ulp_rte_parser_params *params);
 
 /* Function to handle the parsing of RTE Flow item port Header. */
 int32_t
@@ -202,10 +204,10 @@ int32_t
 ulp_rte_vf_act_handler(const struct rte_flow_action *action_item,
                       struct ulp_rte_parser_params *params);
 
-/* Function to handle the parsing of RTE Flow action port_id. */
+/* Parse actions PORT_ID, PORT_REPRESENTOR and REPRESENTED_PORT. */
 int32_t
-ulp_rte_port_id_act_handler(const struct rte_flow_action *act_item,
-                           struct ulp_rte_parser_params *params);
+ulp_rte_port_act_handler(const struct rte_flow_action *act_item,
+                        struct ulp_rte_parser_params *params);
 
 /* Function to handle the parsing of RTE Flow action phy_port. */
 int32_t