net/ice/base: init boost TCAM table for parser
[dpdk.git] / drivers / net / ice / base / ice_parser_util.h
index 5941a29..cf0222b 100644 (file)
@@ -6,12 +6,22 @@
 #define _ICE_PARSER_UTIL_H_
 
 #include "ice_imem.h"
+#include "ice_metainit.h"
+
+struct ice_lbl_item {
+       u16 idx;
+       char label[64];
+};
 
 struct ice_pkg_sect_hdr {
        __le16 count;
        __le16 offset;
 };
 
+void ice_lbl_dump(struct ice_hw *hw, struct ice_lbl_item *item);
+void ice_parse_item_dflt(struct ice_hw *hw, u16 idx, void *item,
+                        void *data, int size);
+
 void *ice_parser_sect_item_get(u32 sect_type, void *section,
                               u32 index, u32 *offset);
 
@@ -21,5 +31,6 @@ void *ice_parser_create_table(struct ice_hw *hw, u32 sect_type,
                                               u32 index, u32 *offset),
                              void (*parse_item)(struct ice_hw *hw, u16 idx,
                                                 void *item, void *data,
-                                                int size));
+                                                int size),
+                             bool no_offset);
 #endif /* _ICE_PARSER_UTIL_H_ */