net/mlx5: support more tunnel types
[dpdk.git] / drivers / net / ice / base / ice_metainit.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2001-2021 Intel Corporation
3  */
4
5 #ifndef _ICE_METAINIT_H_
6 #define _ICE_METAINIT_H_
7
8 struct ice_metainit_item {
9         u16 idx;
10
11         u8 tsr;
12         u16 ho;
13         u16 pc;
14         u16 pg_rn;
15         u8 cd;
16
17         bool gpr_a_ctrl;
18         u8 gpr_a_data_mdid;
19         u8 gpr_a_data_start;
20         u8 gpr_a_data_len;
21         u8 gpr_a_id;
22
23         bool gpr_b_ctrl;
24         u8 gpr_b_data_mdid;
25         u8 gpr_b_data_start;
26         u8 gpr_b_data_len;
27         u8 gpr_b_id;
28
29         bool gpr_c_ctrl;
30         u8 gpr_c_data_mdid;
31         u8 gpr_c_data_start;
32         u8 gpr_c_data_len;
33         u8 gpr_c_id;
34
35         bool gpr_d_ctrl;
36         u8 gpr_d_data_mdid;
37         u8 gpr_d_data_start;
38         u8 gpr_d_data_len;
39         u8 gpr_d_id;
40
41         u64 flags;
42 };
43
44 void ice_metainit_dump(struct ice_hw *hw, struct ice_metainit_item *item);
45 struct ice_metainit_item *ice_metainit_table_get(struct ice_hw *hw);
46 #endif /*_ICE_METAINIT_H_ */