1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2001-2021 Intel Corporation
8 #include "ice_metainit.h"
10 #include "ice_pg_cam.h"
11 #include "ice_bst_tcam.h"
12 #include "ice_ptype_mk.h"
13 #include "ice_mk_grp.h"
14 #include "ice_proto_grp.h"
15 #include "ice_flg_rd.h"
16 #include "ice_xlt_kb.h"
19 struct ice_hw *hw; /* pointer to the hardware structure */
21 /* load data from section ICE_SID_RX_PARSER_IMEM */
22 struct ice_imem_item *imem_table;
23 /* load data from section ICE_SID_RXPARSER_METADATA_INIT */
24 struct ice_metainit_item *mi_table;
25 /* load data from section ICE_SID_RXPARSER_CAM */
26 struct ice_pg_cam_item *pg_cam_table;
27 /* load data from section ICE_SID_RXPARSER_PG_SPILL */
28 struct ice_pg_cam_item *pg_sp_cam_table;
29 /* load data from section ICE_SID_RXPARSER_NOMATCH_CAM */
30 struct ice_pg_nm_cam_item *pg_nm_cam_table;
31 /* load data from section ICE_SID_RXPARSER_NOMATCH_SPILL */
32 struct ice_pg_nm_cam_item *pg_nm_sp_cam_table;
33 /* load data from section ICE_SID_RXPARSER_BOOST_TCAM */
34 struct ice_bst_tcam_item *bst_tcam_table;
35 /* load data from section ICE_SID_LBL_RXPARSER_TMEM */
36 struct ice_lbl_item *bst_lbl_table;
37 /* load data from section ICE_SID_RXPARSER_MARKER_PTYPE */
38 struct ice_ptype_mk_tcam_item *ptype_mk_tcam_table;
39 /* load data from section ICE_SID_RXPARSER_MARKER_GRP */
40 struct ice_mk_grp_item *mk_grp_table;
41 /* load data from section ICE_SID_RXPARSER_PROTO_GRP */
42 struct ice_proto_grp_item *proto_grp_table;
43 /* load data from section ICE_SID_RXPARSER_FLAG_REDIR */
44 struct ice_flg_rd_item *flg_rd_table;
45 /* load data from section ICE_SID_XLT_KEY_BUILDER_SW */
46 struct ice_xlt_kb *xlt_kb_sw;
47 /* load data from section ICE_SID_XLT_KEY_BUILDER_ACL */
48 struct ice_xlt_kb *xlt_kb_acl;
49 /* load data from section ICE_SID_XLT_KEY_BUILDER_FD */
50 struct ice_xlt_kb *xlt_kb_fd;
51 /* load data from section ICE_SID_XLT_KEY_BUILDER_RSS */
52 struct ice_xlt_kb *xlt_kb_rss;
55 enum ice_status ice_parser_create(struct ice_hw *hw, struct ice_parser **psr);
56 void ice_parser_destroy(struct ice_parser *psr);
57 #endif /* _ICE_PARSER_H_ */