net/ice/base: init IMEM table for parser
[dpdk.git] / drivers / net / ice / base / ice_parser.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2001-2021 Intel Corporation
3  */
4
5 #ifndef _ICE_PARSER_H_
6 #define _ICE_PARSER_H_
7
8 struct ice_parser {
9         struct ice_hw *hw; /* pointer to the hardware structure */
10
11         /* load data from section ICE_SID_RX_PARSER_IMEM */
12         struct ice_imem_item *imem_table;
13 };
14
15 enum ice_status ice_parser_create(struct ice_hw *hw, struct ice_parser **psr);
16 void ice_parser_destroy(struct ice_parser *psr);
17 #endif /* _ICE_PARSER_H_ */