xref: /freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/fm_prs.h (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1 /*
2  * Copyright 2008-2012 Freescale Semiconductor Inc.
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions are met:
6  *     * Redistributions of source code must retain the above copyright
7  *       notice, this list of conditions and the following disclaimer.
8  *     * Redistributions in binary form must reproduce the above copyright
9  *       notice, this list of conditions and the following disclaimer in the
10  *       documentation and/or other materials provided with the distribution.
11  *     * Neither the name of Freescale Semiconductor nor the
12  *       names of its contributors may be used to endorse or promote products
13  *       derived from this software without specific prior written permission.
14  *
15  *
16  * ALTERNATIVELY, this software may be distributed under the terms of the
17  * GNU General Public License ("GPL") as published by the Free Software
18  * Foundation, either version 2 of that License or (at your option) any
19  * later version.
20  *
21  * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
22  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24  * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
25  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 
33 
34 /******************************************************************************
35  @File          fm_prs.h
36 
37  @Description   FM Parser private header
38  *//***************************************************************************/
39 #ifndef __FM_PRS_H
40 #define __FM_PRS_H
41 
42 #include "std_ext.h"
43 
44 /***********************************************************************/
45 /*          SW parser IP_FRAG patch                                    */
46 /***********************************************************************/
47 
48 #if ((DPAA_VERSION == 10) && defined(FM_CAPWAP_SUPPORT))
49 #define SW_PRS_UDP_LITE_PATCH   \
50 {\
51         0x31,0x52,0x00,0xDA,0xFC,0x00,0x00,0x00,0x00,0x00, \
52         0x00,0x00,0x50,0x2C,0x40,0x00,0x31,0x92,0x50,0x2C, \
53         0x00,0x88,0x18,0x2F,0x00,0x01,0x1B,0xFE,0x18,0x71, \
54         0x02,0x1F,0x00,0x08,0x00,0x83,0x02,0x1F,0x00,0x20, \
55         0x28,0x1B,0x00,0x05,0x29,0x1F,0x30,0xD0,0x60,0x4F, \
56         0x00,0x07,0x00,0x05,0x00,0x00,0xC3,0x8F,0x00,0x52, \
57         0x00,0x01,0x07,0x01,0x60,0x3B,0x00,0x00,0x30,0xD0, \
58         0x00,0xDA,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00, \
59         0x40,0x4C,0x00,0x00,0x02,0x8F,0x00,0x00,0x30,0xF2, \
60         0x00,0x06,0x18,0x5D,0x00,0x00,0x9F,0xFF,0x30,0xF2, \
61         0x00,0x06,0x29,0x1E,0x07,0x08,0x30,0xD0,0x00,0x52, \
62         0x00,0x08,0x28,0x1A,0x60,0x37,0x00,0x00,0x30,0xF2, \
63         0x18,0x5D,0x06,0x00,0x29,0x1E,0x30,0xF2,0x2F,0x0E, \
64         0x30,0x72,0x00,0x00,0x9B,0x8F,0x00,0x06,0x2F,0x0E, \
65         0x32,0xF1,0x32,0xB0,0x00,0x4F,0x00,0x57,0x00,0x28, \
66         0x00,0x00,0x97,0x9E,0x00,0x4E,0x30,0x72,0x00,0x06, \
67         0x2F,0x0E,0x32,0xC1,0x32,0xF0,0x00,0x4A,0x00,0x80, \
68         0x00,0x02,0x00,0x00,0x97,0x9E,0x40,0x7E,0x00,0x08, \
69         0x08,0x16,0x00,0x54,0x00,0x01,0x1B,0xFE,0x00,0x00, \
70         0x9F,0x9E,0x40,0xB3,0x00,0x00,0x02,0x1F,0x00,0x08, \
71         0x28,0x1B,0x30,0x73,0x29,0x1F,0x30,0xD0,0x60,0x9F, \
72         0x00,0x07,0x00,0x05,0x00,0x00,0xC3,0x8F,0x00,0x52, \
73         0x00,0x01,0x07,0x01,0x60,0x8B,0x00,0x00,0x30,0xD0, \
74         0x00,0xDA,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00, \
75         0x40,0x9C,0x00,0x00,0x02,0x8F,0x00,0x00,0x30,0xF2, \
76         0x00,0x06,0x18,0xAD,0x00,0x00,0x9F,0xFF,0x30,0xF2, \
77         0x00,0x06,0x29,0x1E,0x07,0x08,0x30,0xD0,0x00,0x52, \
78         0x00,0x08,0x28,0x1A,0x60,0x87,0x00,0x00,0x30,0xF2, \
79         0x18,0xAD,0x06,0x00,0x29,0x1E,0x30,0xF2,0x50,0xB3, \
80         0xFF,0xFF,0x18,0xB8,0x08,0x16,0x00,0x54,0x00,0x01, \
81         0x1B,0xFE,0x18,0xC5,0x32,0xF1,0x28,0x5D,0x32,0xF1, \
82         0x00,0x55,0x00,0x08,0x28,0x5F,0x00,0x00,0x8F,0x9F, \
83         0x29,0x33,0x08,0x16,0x00,0x49,0x00,0x01,0x1B,0xFF, \
84         0x00,0x01,0x1B,0xFF    \
85 }
86 #endif /* ((DPAA_VERSION == 10) && defined(FM_CAPWAP_SUPPORT)) */
87 
88 #if (DPAA_VERSION == 10)
89 /* Version: 106.1.9 */
90 #define SW_PRS_OFFLOAD_PATCH                           \
91 {                                                      \
92     0x31,0x52,0x00,0xDA,0x0A,0x00,0x00,0x00,0x00,0x00, \
93     0x00,0x00,0x43,0x0A,0x00,0x00,0x00,0x01,0x1B,0xFE, \
94     0x00,0x00,0x99,0x00,0x53,0x13,0x00,0x00,0x00,0x00, \
95     0x9F,0x98,0x53,0x13,0x00,0x00,0x1B,0x23,0x33,0xF1, \
96     0x00,0xF9,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00, \
97     0x28,0x7F,0x00,0x03,0x00,0x02,0x00,0x00,0x00,0x01, \
98     0x32,0xC1,0x32,0xF0,0x00,0x4A,0x00,0x80,0x1F,0xFF, \
99     0x00,0x01,0x1B,0xFE,0x31,0x52,0x00,0xDA,0x06,0x00, \
100     0x00,0x00,0x00,0x00,0x00,0x00,0x43,0x2F,0x00,0x00, \
101     0x00,0x01,0x1B,0xFE,0x31,0x52,0x00,0xDA,0x00,0x40, \
102     0x00,0x00,0x00,0x00,0x00,0x00,0x53,0x95,0x00,0x00, \
103     0x00,0x00,0x9B,0x8F,0x2F,0x0F,0x32,0xC1,0x00,0x55, \
104     0x00,0x28,0x28,0x43,0x30,0x7E,0x43,0x45,0x00,0x00, \
105     0x30,0x7E,0x43,0x45,0x00,0x3C,0x1B,0x5D,0x32,0x11, \
106     0x32,0xC0,0x00,0x4F,0x00,0x81,0x00,0x00,0x83,0x8F, \
107     0x2F,0x0F,0x06,0x00,0x32,0x11,0x32,0xC0,0x00,0x4F, \
108     0x00,0x55,0x00,0x01,0x00,0x81,0x32,0x11,0x00,0x00, \
109     0x83,0x8E,0x00,0x50,0x00,0x01,0x01,0x04,0x00,0x4D, \
110     0x28,0x43,0x06,0x00,0x1B,0x3E,0x30,0x7E,0x53,0x79, \
111     0x00,0x2B,0x32,0x11,0x32,0xC0,0x00,0x4F,0x00,0x81, \
112     0x00,0x00,0x87,0x8F,0x28,0x23,0x06,0x00,0x32,0x11, \
113     0x32,0xC0,0x00,0x4F,0x00,0x55,0x00,0x01,0x00,0x81, \
114     0x32,0x11,0x00,0x00,0x83,0x8E,0x00,0x50,0x00,0x01, \
115     0x01,0x04,0x00,0x4D,0x28,0x43,0x06,0x00,0x00,0x01, \
116     0x1B,0xFE,0x00,0x00,0x9B,0x8E,0x53,0x90,0x00,0x00, \
117     0x06,0x29,0x00,0x00,0x83,0x8F,0x28,0x23,0x06,0x00, \
118     0x06,0x29,0x32,0xC1,0x00,0x55,0x00,0x28,0x00,0x00, \
119     0x83,0x8E,0x00,0x50,0x00,0x01,0x01,0x04,0x00,0x4D, \
120     0x28,0x43,0x06,0x00,0x00,0x01,0x1B,0xFE,0x32,0xC1, \
121     0x00,0x55,0x00,0x28,0x28,0x43,0x1B,0xCF,0x00,0x00, \
122     0x9B,0x8F,0x2F,0x0F,0x32,0xC1,0x00,0x55,0x00,0x28, \
123     0x28,0x43,0x30,0x7E,0x43,0xBF,0x00,0x2C,0x32,0x11, \
124     0x32,0xC0,0x00,0x4F,0x00,0x81,0x00,0x00,0x87,0x8F, \
125     0x28,0x23,0x06,0x00,0x32,0x11,0x32,0xC0,0x00,0x4F, \
126     0x00,0x81,0x00,0x00,0x83,0x8F,0x2F,0x0F,0x06,0x00, \
127     0x32,0x11,0x32,0xC0,0x00,0x4F,0x00,0x55,0x00,0x01, \
128     0x00,0x81,0x32,0x11,0x00,0x00,0x83,0x8E,0x00,0x50, \
129     0x00,0x01,0x01,0x04,0x00,0x4D,0x28,0x43,0x06,0x00, \
130     0x1B,0x9C,0x33,0xF1,0x00,0xF9,0x00,0x01,0x00,0x00, \
131     0x00,0x00,0x00,0x00,0x28,0x7F,0x00,0x03,0x00,0x02, \
132     0x00,0x00,0x00,0x01,0x32,0xC1,0x32,0xF0,0x00,0x4A, \
133     0x00,0x80,0x1F,0xFF,0x00,0x01,0x1B,0xFE,           \
134 }
135 
136 #else
137 #define SW_PRS_OFFLOAD_PATCH                           \
138 {                                                      \
139     0x31,0x52,0x00,0xDA,0x0E,0x4F,0x00,0x00,0x00,0x00, \
140     0x00,0x00,0x51,0x16,0x08,0x4B,0x31,0x53,0x00,0xFB, \
141     0xFF,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x29,0x2B, \
142     0x33,0xF1,0x00,0xFB,0x00,0xDF,0x00,0x00,0x00,0x00, \
143     0x00,0x00,0x28,0x7F,0x31,0x52,0x00,0xDA,0x0A,0x00, \
144     0x00,0x00,0x00,0x00,0x00,0x00,0x41,0x20,0x00,0x00, \
145     0x00,0x01,0x1B,0xFE,0x00,0x00,0x99,0x00,0x51,0x29, \
146     0x00,0x00,0x00,0x00,0x9F,0x98,0x51,0x29,0x00,0x00, \
147     0x19,0x44,0x09,0x5F,0x00,0x20,0x00,0x00,0x09,0x4F, \
148     0x00,0x20,0x00,0x00,0x34,0xB7,0x00,0xF9,0x00,0x00, \
149     0x01,0x00,0x00,0x00,0x00,0x00,0x2B,0x97,0x31,0xB3, \
150     0x29,0x8F,0x33,0xF1,0x00,0xF9,0x00,0x01,0x00,0x00, \
151     0x00,0x00,0x00,0x00,0x28,0x7F,0x00,0x03,0x00,0x02, \
152     0x00,0x00,0x00,0x01,0x1B,0xFE,0x00,0x01,0x1B,0xFE, \
153     0x31,0x52,0x00,0xDA,0xFC,0x00,0x00,0x00,0x00,0x00, \
154     0x00,0x00,0x51,0x52,0x40,0x00,0x31,0x92,0x51,0x52, \
155     0x00,0x88,0x19,0x55,0x08,0x05,0x00,0x00,0x19,0x99, \
156     0x02,0x1F,0x00,0x08,0x00,0x83,0x02,0x1F,0x00,0x20, \
157     0x28,0x1B,0x00,0x05,0x29,0x1F,0x30,0xD0,0x61,0x75, \
158     0x00,0x07,0x00,0x05,0x00,0x00,0xC3,0x8F,0x00,0x52, \
159     0x00,0x01,0x07,0x01,0x61,0x61,0x00,0x00,0x30,0xD0, \
160     0x00,0xDA,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00, \
161     0x41,0x72,0x00,0x00,0x02,0x8F,0x00,0x00,0x30,0xF2, \
162     0x00,0x06,0x19,0x83,0x00,0x00,0x9F,0xFF,0x30,0xF2, \
163     0x00,0x06,0x29,0x1E,0x07,0x08,0x30,0xD0,0x00,0x52, \
164     0x00,0x08,0x28,0x1A,0x61,0x5D,0x00,0x00,0x30,0xF2, \
165     0x19,0x83,0x06,0x00,0x29,0x1E,0x30,0xF2,0x29,0x0E, \
166     0x30,0x72,0x00,0x00,0x9B,0x8F,0x00,0x06,0x29,0x0E, \
167     0x32,0xF1,0x32,0xB0,0x00,0x4F,0x00,0x57,0x00,0x28, \
168     0x00,0x00,0x97,0x9E,0x00,0x4E,0x30,0x72,0x00,0x06, \
169     0x29,0x0E,0x08,0x05,0x00,0x01,0x31,0x52,0x00,0xDA, \
170     0x0E,0x4F,0x00,0x00,0x00,0x00,0x00,0x00,0x51,0xAF, \
171     0x04,0x4B,0x31,0x53,0x00,0xFB,0xFF,0xF0,0x00,0x00, \
172     0x00,0x00,0x00,0x00,0x29,0x2B,0x33,0xF1,0x00,0xFB, \
173     0x00,0xDF,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x7F, \
174     0x31,0x52,0x00,0xDA,0x06,0x00,0x00,0x00,0x00,0x00, \
175     0x00,0x00,0x41,0xB9,0x00,0x00,0x00,0x01,0x1B,0xFE, \
176     0x31,0x52,0x00,0xDA,0x00,0x40,0x00,0x00,0x00,0x00, \
177     0x00,0x00,0x42,0x06,0x00,0x00,0x00,0x00,0x9B,0x8F, \
178     0x28,0x01,0x32,0xC1,0x00,0x55,0x00,0x28,0x28,0x43, \
179     0x30,0x00,0x41,0xEB,0x00,0x2C,0x32,0x11,0x32,0xC0, \
180     0x00,0x4F,0x00,0x81,0x00,0x00,0x87,0x8F,0x28,0x23, \
181     0x06,0x00,0x32,0x11,0x32,0xC0,0x00,0x4F,0x00,0x81, \
182     0x00,0x00,0x83,0x8F,0x28,0x01,0x06,0x00,0x32,0x11, \
183     0x32,0xC0,0x00,0x4F,0x00,0x55,0x00,0x01,0x00,0x81, \
184     0x32,0x11,0x00,0x00,0x83,0x8E,0x00,0x50,0x00,0x01, \
185     0x01,0x04,0x00,0x4D,0x28,0x43,0x06,0x00,0x19,0xC8, \
186     0x09,0x5F,0x00,0x20,0x00,0x00,0x09,0x4F,0x00,0x20, \
187     0x00,0x00,0x34,0xB7,0x00,0xF9,0x00,0x00,0x01,0x00, \
188     0x00,0x00,0x00,0x00,0x2B,0x97,0x31,0xB3,0x29,0x8F, \
189     0x33,0xF1,0x00,0xF9,0x00,0x01,0x00,0x00,0x00,0x00, \
190     0x00,0x00,0x28,0x7F,0x00,0x03,0x00,0x02,0x00,0x00, \
191     0x00,0x01,0x1B,0xFE,0x30,0x50,0x52,0x0B,0x00,0x00, \
192     0x00,0x01,0x1B,0xFE,0x32,0xF1,0x32,0xC0,0x00,0x4F, \
193     0x00,0x81,0x00,0x02,0x00,0x00,0x97,0x9E,0x42,0x18, \
194     0x00,0x08,0x08,0x16,0x00,0x54,0x00,0x01,0x1B,0xFE, \
195     0x00,0x00,0x9F,0x9E,0x42,0x4D,0x00,0x00,0x02,0x1F, \
196     0x00,0x08,0x28,0x1B,0x30,0x73,0x29,0x1F,0x30,0xD0, \
197     0x62,0x39,0x00,0x07,0x00,0x05,0x00,0x00,0xC3,0x8F, \
198     0x00,0x52,0x00,0x01,0x07,0x01,0x62,0x25,0x00,0x00, \
199     0x30,0xD0,0x00,0xDA,0x00,0x01,0x00,0x00,0x00,0x00, \
200     0x00,0x00,0x42,0x36,0x00,0x00,0x02,0x8F,0x00,0x00, \
201     0x30,0xF2,0x00,0x06,0x1A,0x47,0x00,0x00,0x9F,0xFF, \
202     0x30,0xF2,0x00,0x06,0x29,0x1E,0x07,0x08,0x30,0xD0, \
203     0x00,0x52,0x00,0x08,0x28,0x1A,0x62,0x21,0x00,0x00, \
204     0x30,0xF2,0x1A,0x47,0x06,0x00,0x29,0x1E,0x30,0xF2, \
205     0x52,0x4D,0xFF,0xFF,0x1A,0x52,0x08,0x16,0x00,0x54, \
206     0x00,0x01,0x1B,0xFE,0x1A,0x5F,0x32,0xF1,0x28,0x5D, \
207     0x32,0xF1,0x00,0x55,0x00,0x08,0x28,0x5F,0x00,0x00, \
208     0x8F,0x9F,0x29,0x33,0x08,0x16,0x00,0x49,0x00,0x01, \
209     0x1B,0xFF,0x00,0x01,0x1B,0xFF,0x31,0x52,0x00,0xDA, \
210     0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x52,0x6D, \
211     0x40,0x00,0x31,0x92,0x52,0x6D,0x00,0x88,0x1A,0x70, \
212     0x08,0x05,0x00,0x00,0x1A,0xB4,0x02,0x1F,0x00,0x08, \
213     0x00,0x83,0x02,0x1F,0x00,0x20,0x28,0x1B,0x00,0x05, \
214     0x29,0x1F,0x30,0xD0,0x62,0x90,0x00,0x07,0x00,0x05, \
215     0x00,0x00,0xC3,0x8F,0x00,0x52,0x00,0x01,0x07,0x01, \
216     0x62,0x7C,0x00,0x00,0x30,0xD0,0x00,0xDA,0x00,0x01, \
217     0x00,0x00,0x00,0x00,0x00,0x00,0x42,0x8D,0x00,0x00, \
218     0x02,0x8F,0x00,0x00,0x30,0xF2,0x00,0x06,0x1A,0x9E, \
219     0x00,0x00,0x9F,0xFF,0x30,0xF2,0x00,0x06,0x29,0x1E, \
220     0x07,0x08,0x30,0xD0,0x00,0x52,0x00,0x08,0x28,0x1A, \
221     0x62,0x78,0x00,0x00,0x30,0xF2,0x1A,0x9E,0x06,0x00, \
222     0x29,0x1E,0x30,0xF2,0x29,0x0E,0x30,0x72,0x00,0x00, \
223     0x9B,0x8F,0x00,0x06,0x29,0x0E,0x32,0xF1,0x32,0xB0, \
224     0x00,0x4F,0x00,0x57,0x00,0x28,0x00,0x00,0x97,0x9E, \
225     0x00,0x4E,0x30,0x72,0x00,0x06,0x29,0x0E,0x08,0x05, \
226     0x00,0x01,0x31,0x52,0x00,0xDA,0x0E,0x4F,0x00,0x00, \
227     0x00,0x00,0x00,0x00,0x52,0xCA,0x04,0x4B,0x31,0x53, \
228     0x00,0xFB,0xFF,0xF0,0x00,0x00,0x00,0x00,0x00,0x00, \
229     0x29,0x2B,0x33,0xF1,0x00,0xFB,0x00,0xDF,0x00,0x00, \
230     0x00,0x00,0x00,0x00,0x28,0x7F,0x31,0x52,0x00,0xDA, \
231     0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x42,0xD4, \
232     0x00,0x00,0x00,0x01,0x1B,0xFE,0x31,0x52,0x00,0xDA, \
233     0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x53,0x37, \
234     0x00,0x00,0x00,0x00,0x9B,0x8F,0x28,0x01,0x32,0xC1, \
235     0x00,0x55,0x00,0x28,0x28,0x43,0x30,0x00,0x42,0xEA, \
236     0x00,0x00,0x30,0x00,0x42,0xEA,0x00,0x3C,0x1B,0x02, \
237     0x32,0x11,0x32,0xC0,0x00,0x4F,0x00,0x81,0x00,0x00, \
238     0x83,0x8F,0x28,0x01,0x06,0x00,0x32,0x11,0x32,0xC0, \
239     0x00,0x4F,0x00,0x55,0x00,0x01,0x00,0x81,0x32,0x11, \
240     0x00,0x00,0x83,0x8E,0x00,0x50,0x00,0x01,0x01,0x04, \
241     0x00,0x4D,0x28,0x43,0x06,0x00,0x1A,0xE3,0x30,0x00, \
242     0x43,0x20,0x00,0x2B,0x00,0x00,0x9B,0x8E,0x43,0x0E, \
243     0x00,0x00,0x32,0xC1,0x00,0x55,0x00,0x28,0x28,0x43, \
244     0x1B,0x1F,0x06,0x29,0x00,0x00,0x83,0x8F,0x28,0x23, \
245     0x06,0x00,0x06,0x29,0x32,0xC1,0x00,0x55,0x00,0x28, \
246     0x00,0x00,0x83,0x8E,0x00,0x50,0x00,0x01,0x01,0x04, \
247     0x00,0x4D,0x28,0x43,0x06,0x00,0x1B,0x37,0x32,0x11, \
248     0x32,0xC0,0x00,0x4F,0x00,0x81,0x00,0x00,0x87,0x8F, \
249     0x28,0x23,0x06,0x00,0x32,0x11,0x32,0xC0,0x00,0x4F, \
250     0x00,0x55,0x00,0x01,0x00,0x81,0x32,0x11,0x00,0x00, \
251     0x83,0x8E,0x00,0x50,0x00,0x01,0x01,0x04,0x00,0x4D, \
252     0x28,0x43,0x06,0x00,0x30,0x50,0x53,0x3C,0x00,0x00, \
253     0x00,0x01,0x1B,0xFE,0x32,0xF1,0x32,0xC0,0x00,0x4F, \
254     0x00,0x81,0x00,0x02,0x00,0x00,0x97,0x9E,0x43,0x49, \
255     0x00,0x08,0x08,0x16,0x00,0x54,0x00,0x01,0x1B,0xFE, \
256     0x00,0x00,0x9F,0x9E,0x43,0x7E,0x00,0x00,0x02,0x1F, \
257     0x00,0x08,0x28,0x1B,0x30,0x73,0x29,0x1F,0x30,0xD0, \
258     0x63,0x6A,0x00,0x07,0x00,0x05,0x00,0x00,0xC3,0x8F, \
259     0x00,0x52,0x00,0x01,0x07,0x01,0x63,0x56,0x00,0x00, \
260     0x30,0xD0,0x00,0xDA,0x00,0x01,0x00,0x00,0x00,0x00, \
261     0x00,0x00,0x43,0x67,0x00,0x00,0x02,0x8F,0x00,0x00, \
262     0x30,0xF2,0x00,0x06,0x1B,0x78,0x00,0x00,0x9F,0xFF, \
263     0x30,0xF2,0x00,0x06,0x29,0x1E,0x07,0x08,0x30,0xD0, \
264     0x00,0x52,0x00,0x08,0x28,0x1A,0x63,0x52,0x00,0x00, \
265     0x30,0xF2,0x1B,0x78,0x06,0x00,0x29,0x1E,0x30,0xF2, \
266     0x53,0x7E,0xFF,0xFF,0x1B,0x83,0x08,0x16,0x00,0x54, \
267     0x00,0x01,0x1B,0xFE,0x1B,0x90,0x32,0xF1,0x28,0x5D, \
268     0x32,0xF1,0x00,0x55,0x00,0x08,0x28,0x5F,0x00,0x00, \
269     0x8F,0x9F,0x29,0x33,0x08,0x16,0x00,0x49,0x00,0x01, \
270     0x1B,0xFF,0x00,0x01,0x1B,0xFF,0x08,0x07,0x00,0x02, \
271     0x00,0x00,0x8D,0x80,0x53,0x9C,0x00,0x01,0x30,0x71, \
272     0x00,0x55,0x00,0x01,0x28,0x0F,0x00,0x00,0x8D,0x00, \
273     0x53,0xA4,0x00,0x01,0x30,0x71,0x00,0x55,0x00,0x01, \
274     0x28,0x0F,0x00,0x00,0x83,0x8E,0x53,0xB9,0x00,0x00, \
275     0x00,0x00,0x86,0x08,0x30,0x71,0x00,0x7B,0x03,0xB9, \
276     0x33,0xB4,0x00,0xDA,0xFF,0xFF,0x00,0x0F,0x00,0x00, \
277     0x00,0x00,0x00,0x00,0x86,0x09,0x01,0x03,0x00,0x7D, \
278     0x03,0xB9,0x1B,0xC8,0x33,0xD1,0x00,0xF9,0x00,0x10, \
279     0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x7B,0x09,0x5F, \
280     0x00,0x1A,0x00,0x00,0x09,0x4F,0x00,0x1A,0x00,0x00, \
281     0x00,0x01,0x1B,0xFF,0x00,0x00,0x8C,0x00,0x53,0xF0, \
282     0x00,0x01,0x34,0xF5,0x00,0xFB,0xFF,0xFF,0x00,0x7F, \
283     0x00,0x00,0x00,0x00,0x2A,0x9F,0x00,0x00,0x93,0x8F, \
284     0x28,0x49,0x00,0x00,0x97,0x8F,0x28,0x4B,0x34,0x61, \
285     0x28,0x4D,0x34,0x71,0x28,0x4F,0x34,0xB7,0x00,0xF9, \
286     0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x2B,0x97, \
287     0x33,0xF1,0x00,0xF9,0x00,0x01,0x00,0x00,0x00,0x00, \
288     0x00,0x00,0x28,0x7F,0x00,0x03,0x00,0x02,0x00,0x00, \
289     0x00,0x01,0x1B,0xFF,0x00,0x01,0x1B,0xFF, \
290 }
291 #endif /* (DPAA_VERSION == 10) */
292 
293 /****************************/
294 /* Parser defines           */
295 /****************************/
296 #define FM_PCD_PRS_SW_TAIL_SIZE             4                   /**< Number of bytes that must be cleared at
297                                                                              the end of the SW parser area */
298 
299 /* masks */
300 #define PRS_ERR_CAP                         0x80000000
301 #define PRS_ERR_TYPE_DOUBLE                 0x40000000
302 #define PRS_ERR_SINGLE_ECC_CNT_MASK         0x00FF0000
303 #define PRS_ERR_ADDR_MASK                   0x000001FF
304 
305 /* others */
306 #define PRS_MAX_CYCLE_LIMIT                 8191
307 #define PRS_SW_DATA                         0x00000800
308 #define PRS_REGS_OFFSET                     0x00000840
309 
310 #define GET_FM_PCD_PRS_PORT_ID(prsPortId,hardwarePortId) \
311     prsPortId = (uint8_t)(hardwarePortId & 0x0f)
312 
313 #define GET_FM_PCD_INDEX_FLAG(bitMask, prsPortId)    \
314     bitMask = 0x80000000>>prsPortId
315 
316 #endif /* __FM_PRS_H */
317