xref: /wlan-driver/fw-api/hw/qcn9000/rx_flow_search_entry.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2019, The Linux Foundation. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for any
5*5113495bSYour Name  * purpose with or without fee is hereby granted, provided that the above
6*5113495bSYour Name  * copyright notice and this permission notice appear in all copies.
7*5113495bSYour Name  *
8*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9*5113495bSYour Name  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10*5113495bSYour Name  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11*5113495bSYour Name  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12*5113495bSYour Name  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13*5113495bSYour Name  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14*5113495bSYour Name  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*5113495bSYour Name  */
16*5113495bSYour Name 
17*5113495bSYour Name #ifndef _RX_FLOW_SEARCH_ENTRY_H_
18*5113495bSYour Name #define _RX_FLOW_SEARCH_ENTRY_H_
19*5113495bSYour Name #if !defined(__ASSEMBLER__)
20*5113495bSYour Name #endif
21*5113495bSYour Name 
22*5113495bSYour Name 
23*5113495bSYour Name // ################ START SUMMARY #################
24*5113495bSYour Name //
25*5113495bSYour Name //	Dword	Fields
26*5113495bSYour Name //	0	src_ip_127_96[31:0]
27*5113495bSYour Name //	1	src_ip_95_64[31:0]
28*5113495bSYour Name //	2	src_ip_63_32[31:0]
29*5113495bSYour Name //	3	src_ip_31_0[31:0]
30*5113495bSYour Name //	4	dest_ip_127_96[31:0]
31*5113495bSYour Name //	5	dest_ip_95_64[31:0]
32*5113495bSYour Name //	6	dest_ip_63_32[31:0]
33*5113495bSYour Name //	7	dest_ip_31_0[31:0]
34*5113495bSYour Name //	8	src_port[15:0], dest_port[31:16]
35*5113495bSYour Name //	9	l4_protocol[7:0], valid[8], reserved_9[23:9], reo_destination_indication[28:24], msdu_drop[29], reo_destination_handler[31:30]
36*5113495bSYour Name //	10	metadata[31:0]
37*5113495bSYour Name //	11	aggregation_count[6:0], lro_eligible[7], msdu_count[31:8]
38*5113495bSYour Name //	12	msdu_byte_count[31:0]
39*5113495bSYour Name //	13	timestamp[31:0]
40*5113495bSYour Name //	14	cumulative_l4_checksum[15:0], cumulative_ip_length[31:16]
41*5113495bSYour Name //	15	tcp_sequence_number[31:0]
42*5113495bSYour Name //
43*5113495bSYour Name // ################ END SUMMARY #################
44*5113495bSYour Name 
45*5113495bSYour Name #define NUM_OF_DWORDS_RX_FLOW_SEARCH_ENTRY 16
46*5113495bSYour Name 
47*5113495bSYour Name struct rx_flow_search_entry {
48*5113495bSYour Name              uint32_t src_ip_127_96                   : 32; //[31:0]
49*5113495bSYour Name              uint32_t src_ip_95_64                    : 32; //[31:0]
50*5113495bSYour Name              uint32_t src_ip_63_32                    : 32; //[31:0]
51*5113495bSYour Name              uint32_t src_ip_31_0                     : 32; //[31:0]
52*5113495bSYour Name              uint32_t dest_ip_127_96                  : 32; //[31:0]
53*5113495bSYour Name              uint32_t dest_ip_95_64                   : 32; //[31:0]
54*5113495bSYour Name              uint32_t dest_ip_63_32                   : 32; //[31:0]
55*5113495bSYour Name              uint32_t dest_ip_31_0                    : 32; //[31:0]
56*5113495bSYour Name              uint32_t src_port                        : 16, //[15:0]
57*5113495bSYour Name                       dest_port                       : 16; //[31:16]
58*5113495bSYour Name              uint32_t l4_protocol                     :  8, //[7:0]
59*5113495bSYour Name                       valid                           :  1, //[8]
60*5113495bSYour Name                       reserved_9                      : 15, //[23:9]
61*5113495bSYour Name                       reo_destination_indication      :  5, //[28:24]
62*5113495bSYour Name                       msdu_drop                       :  1, //[29]
63*5113495bSYour Name                       reo_destination_handler         :  2; //[31:30]
64*5113495bSYour Name              uint32_t metadata                        : 32; //[31:0]
65*5113495bSYour Name              uint32_t aggregation_count               :  7, //[6:0]
66*5113495bSYour Name                       lro_eligible                    :  1, //[7]
67*5113495bSYour Name                       msdu_count                      : 24; //[31:8]
68*5113495bSYour Name              uint32_t msdu_byte_count                 : 32; //[31:0]
69*5113495bSYour Name              uint32_t timestamp                       : 32; //[31:0]
70*5113495bSYour Name              uint32_t cumulative_l4_checksum          : 16, //[15:0]
71*5113495bSYour Name                       cumulative_ip_length            : 16; //[31:16]
72*5113495bSYour Name              uint32_t tcp_sequence_number             : 32; //[31:0]
73*5113495bSYour Name };
74*5113495bSYour Name 
75*5113495bSYour Name /*
76*5113495bSYour Name 
77*5113495bSYour Name src_ip_127_96
78*5113495bSYour Name 
79*5113495bSYour Name 			Uppermost 32 bits of source IPv6 address or prefix as
80*5113495bSYour Name 			per Common Parser register field IP_DA_SA_PREFIX (with the
81*5113495bSYour Name 			first byte in the MSB and the last byte in the LSB, i.e.
82*5113495bSYour Name 			requiring a byte-swap for little-endian SW w.r.t. the byte
83*5113495bSYour Name 			order in an IPv6 packet)
84*5113495bSYour Name 
85*5113495bSYour Name 			<legal all>
86*5113495bSYour Name 
87*5113495bSYour Name src_ip_95_64
88*5113495bSYour Name 
89*5113495bSYour Name 			Next 32 bits of source IPv6 address or prefix (requiring
90*5113495bSYour Name 			a byte-swap for little-endian SW) <legal all>
91*5113495bSYour Name 
92*5113495bSYour Name src_ip_63_32
93*5113495bSYour Name 
94*5113495bSYour Name 			Next 32 bits of source IPv6 address or lowest 32 bits of
95*5113495bSYour Name 			prefix (requiring a byte-swap for little-endian SW)
96*5113495bSYour Name 
97*5113495bSYour Name 			<legal all>
98*5113495bSYour Name 
99*5113495bSYour Name src_ip_31_0
100*5113495bSYour Name 
101*5113495bSYour Name 			Lowest 32 bits of source IPv6 address, or source IPv4
102*5113495bSYour Name 			address (requiring a byte-swap for little-endian SW w.r.t.
103*5113495bSYour Name 			the byte order in an IPv6 or IPv4 packet)
104*5113495bSYour Name 
105*5113495bSYour Name 			<legal all>
106*5113495bSYour Name 
107*5113495bSYour Name dest_ip_127_96
108*5113495bSYour Name 
109*5113495bSYour Name 			Uppermost 32 bits of destination IPv6 address or prefix
110*5113495bSYour Name 			as per Common Parser register field IP_DA_SA_PREFIX (with
111*5113495bSYour Name 			the first byte in the MSB and the last byte in the LSB, i.e.
112*5113495bSYour Name 			requiring a byte-swap for little-endian SW w.r.t. the byte
113*5113495bSYour Name 			order as in an IPv6 packet)
114*5113495bSYour Name 
115*5113495bSYour Name 			<legal all>
116*5113495bSYour Name 
117*5113495bSYour Name dest_ip_95_64
118*5113495bSYour Name 
119*5113495bSYour Name 			Next 32 bits of destination IPv6 address or prefix
120*5113495bSYour Name 			(requiring a byte-swap for little-endian SW)
121*5113495bSYour Name 
122*5113495bSYour Name 			<legal all>
123*5113495bSYour Name 
124*5113495bSYour Name dest_ip_63_32
125*5113495bSYour Name 
126*5113495bSYour Name 			Next 32 bits of destination IPv6 address or lowest 32
127*5113495bSYour Name 			bits of prefix (requiring a byte-swap for little-endian SW)
128*5113495bSYour Name 
129*5113495bSYour Name 			<legal all>
130*5113495bSYour Name 
131*5113495bSYour Name dest_ip_31_0
132*5113495bSYour Name 
133*5113495bSYour Name 			Lowest 32 bits of destination IPv6 address, or
134*5113495bSYour Name 			destination IPv4 address (requiring a byte-swap for
135*5113495bSYour Name 			little-endian SW w.r.t. the byte order in an IPv6 or IPv4
136*5113495bSYour Name 			packet)
137*5113495bSYour Name 
138*5113495bSYour Name 			<legal all>
139*5113495bSYour Name 
140*5113495bSYour Name src_port
141*5113495bSYour Name 
142*5113495bSYour Name 			LSB of SPI in case of ESP/AH
143*5113495bSYour Name 
144*5113495bSYour Name 			else source port in case of TCP/UDP without IPsec,
145*5113495bSYour Name 
146*5113495bSYour Name 			else zeros in case of ICMP (with the first/third byte in
147*5113495bSYour Name 			the MSB and the second/fourth byte in the LSB, i.e.
148*5113495bSYour Name 			requiring a byte-swap for little-endian SW w.r.t. the byte
149*5113495bSYour Name 			order as in an IPv6 or IPv4 packet)  <legal all>
150*5113495bSYour Name 
151*5113495bSYour Name dest_port
152*5113495bSYour Name 
153*5113495bSYour Name 			MSB of SPI in case of ESP/AH
154*5113495bSYour Name 
155*5113495bSYour Name 			else destination port in case of TCP/UDP without IPsec,
156*5113495bSYour Name 
157*5113495bSYour Name 			else zeros in case of ICMP (with the first byte in the
158*5113495bSYour Name 			MSB and the second byte in the LSB, i.e. requiring a
159*5113495bSYour Name 			byte-swap for little-endian SW w.r.t. the byte order as in
160*5113495bSYour Name 			an IPv6 or IPv4 packet)
161*5113495bSYour Name 
162*5113495bSYour Name 			<legal all>
163*5113495bSYour Name 
164*5113495bSYour Name l4_protocol
165*5113495bSYour Name 
166*5113495bSYour Name 			IPsec or L4 protocol
167*5113495bSYour Name 
168*5113495bSYour Name 
169*5113495bSYour Name 
170*5113495bSYour Name 			<enum 1 ICMPV4>
171*5113495bSYour Name 
172*5113495bSYour Name 			<enum 6 TCP>
173*5113495bSYour Name 
174*5113495bSYour Name 			<enum 17 UDP>
175*5113495bSYour Name 
176*5113495bSYour Name 			<enum 50 ESP>
177*5113495bSYour Name 
178*5113495bSYour Name 			<enum 51 AH>
179*5113495bSYour Name 
180*5113495bSYour Name 			<enum 58 ICMPV6>
181*5113495bSYour Name 
182*5113495bSYour Name 			<legal 1, 6, 17, 50, 51, 58>
183*5113495bSYour Name 
184*5113495bSYour Name valid
185*5113495bSYour Name 
186*5113495bSYour Name 			Indicates validity of entry
187*5113495bSYour Name 
188*5113495bSYour Name 			<legal all>
189*5113495bSYour Name 
190*5113495bSYour Name reserved_9
191*5113495bSYour Name 
192*5113495bSYour Name 			<legal 0>
193*5113495bSYour Name 
194*5113495bSYour Name reo_destination_indication
195*5113495bSYour Name 
196*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
197*5113495bSYour Name 			push after (MPDU level) reordering has finished.
198*5113495bSYour Name 
199*5113495bSYour Name 
200*5113495bSYour Name 
201*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
202*5113495bSYour Name 			into the REO2TCL ring
203*5113495bSYour Name 
204*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
205*5113495bSYour Name 			into the REO2SW1 ring
206*5113495bSYour Name 
207*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
208*5113495bSYour Name 			into the REO2SW2 ring
209*5113495bSYour Name 
210*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
211*5113495bSYour Name 			into the REO2SW3 ring
212*5113495bSYour Name 
213*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
214*5113495bSYour Name 			into the REO2SW4 ring
215*5113495bSYour Name 
216*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
217*5113495bSYour Name 			into the REO_release ring
218*5113495bSYour Name 
219*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
220*5113495bSYour Name 			the REO2FW ring
221*5113495bSYour Name 
222*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
223*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
224*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
225*5113495bSYour Name 
226*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
227*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
228*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
229*5113495bSYour Name 
230*5113495bSYour Name 			<enum 9 reo_destination_9> REO remaps this <enum 10
231*5113495bSYour Name 			reo_destination_10> REO remaps this
232*5113495bSYour Name 
233*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
234*5113495bSYour Name 
235*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
236*5113495bSYour Name 			reo_destination_13> REO remaps this
237*5113495bSYour Name 
238*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
239*5113495bSYour Name 
240*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
241*5113495bSYour Name 
242*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
243*5113495bSYour Name 
244*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
245*5113495bSYour Name 
246*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
247*5113495bSYour Name 
248*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
249*5113495bSYour Name 
250*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
251*5113495bSYour Name 
252*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
253*5113495bSYour Name 
254*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
255*5113495bSYour Name 
256*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
257*5113495bSYour Name 
258*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
259*5113495bSYour Name 
260*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
261*5113495bSYour Name 
262*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
263*5113495bSYour Name 
264*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
265*5113495bSYour Name 
266*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
267*5113495bSYour Name 
268*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
269*5113495bSYour Name 
270*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
271*5113495bSYour Name 
272*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
273*5113495bSYour Name 
274*5113495bSYour Name 
275*5113495bSYour Name 
276*5113495bSYour Name 			<legal all>
277*5113495bSYour Name 
278*5113495bSYour Name msdu_drop
279*5113495bSYour Name 
280*5113495bSYour Name 			Overriding indication to REO to forward to REO release
281*5113495bSYour Name 			ring
282*5113495bSYour Name 
283*5113495bSYour Name 			<legal all>
284*5113495bSYour Name 
285*5113495bSYour Name reo_destination_handler
286*5113495bSYour Name 
287*5113495bSYour Name 			Indicates how to decide the REO destination indication
288*5113495bSYour Name 
289*5113495bSYour Name 			<enum 0 RXFT_USE_FT> Follow this entry
290*5113495bSYour Name 
291*5113495bSYour Name 			<enum 1 RXFT_USE_ASPT> Use address search+peer table
292*5113495bSYour Name 			entry
293*5113495bSYour Name 
294*5113495bSYour Name 			<enum 2 RXFT_USE_FT2> Follow this entry
295*5113495bSYour Name 
296*5113495bSYour Name 			<enum 3 RXFT_USE_CCE> Use CCE super-rule
297*5113495bSYour Name 
298*5113495bSYour Name 			<legal all>
299*5113495bSYour Name 
300*5113495bSYour Name metadata
301*5113495bSYour Name 
302*5113495bSYour Name 			Value to be passed to SW if this flow search entry
303*5113495bSYour Name 			matches
304*5113495bSYour Name 
305*5113495bSYour Name 			<legal all>
306*5113495bSYour Name 
307*5113495bSYour Name aggregation_count
308*5113495bSYour Name 
309*5113495bSYour Name 			FISA: Number'of MSDU's aggregated so far
310*5113495bSYour Name 
311*5113495bSYour Name 
312*5113495bSYour Name 
313*5113495bSYour Name 			Set to zero in chips not supporting FISA, e.g. Pine
314*5113495bSYour Name 
315*5113495bSYour Name 			<legal all>
316*5113495bSYour Name 
317*5113495bSYour Name lro_eligible
318*5113495bSYour Name 
319*5113495bSYour Name 			FISA: To indicate whether the previous MSDU for this
320*5113495bSYour Name 			flow is eligible for LRO/FISA
321*5113495bSYour Name 
322*5113495bSYour Name 
323*5113495bSYour Name 
324*5113495bSYour Name 			Set to zero in chips not supporting FISA, e.g. Pine
325*5113495bSYour Name 
326*5113495bSYour Name 			<legal all>
327*5113495bSYour Name 
328*5113495bSYour Name msdu_count
329*5113495bSYour Name 
330*5113495bSYour Name 			Number of Rx MSDUs matching this flow
331*5113495bSYour Name 
332*5113495bSYour Name 			<legal all>
333*5113495bSYour Name 
334*5113495bSYour Name msdu_byte_count
335*5113495bSYour Name 
336*5113495bSYour Name 			Number of bytes in Rx MSDUs matching this flow
337*5113495bSYour Name 
338*5113495bSYour Name 			<legal all>
339*5113495bSYour Name 
340*5113495bSYour Name timestamp
341*5113495bSYour Name 
342*5113495bSYour Name 			Time of last reception (as measured at Rx OLE) matching
343*5113495bSYour Name 			this flow
344*5113495bSYour Name 
345*5113495bSYour Name 			<legal all>
346*5113495bSYour Name 
347*5113495bSYour Name cumulative_l4_checksum
348*5113495bSYour Name 
349*5113495bSYour Name 			FISA: checksum 'or MSDU's that is part of this flow
350*5113495bSYour Name 			aggregated so far
351*5113495bSYour Name 
352*5113495bSYour Name 
353*5113495bSYour Name 
354*5113495bSYour Name 			Set to zero in chips not supporting FISA, e.g. Pine
355*5113495bSYour Name 
356*5113495bSYour Name 			<legal all>
357*5113495bSYour Name 
358*5113495bSYour Name cumulative_ip_length
359*5113495bSYour Name 
360*5113495bSYour Name 			FISA: Total MSDU length that is part of this flow
361*5113495bSYour Name 			aggregated so far
362*5113495bSYour Name 
363*5113495bSYour Name 
364*5113495bSYour Name 
365*5113495bSYour Name 			Set to zero in chips not supporting FISA, e.g. Pine
366*5113495bSYour Name 
367*5113495bSYour Name 			<legal all>
368*5113495bSYour Name 
369*5113495bSYour Name tcp_sequence_number
370*5113495bSYour Name 
371*5113495bSYour Name 			FISA: TCP Sequence number of the last packet in this
372*5113495bSYour Name 			flow to detect sequence number jump
373*5113495bSYour Name 
374*5113495bSYour Name 
375*5113495bSYour Name 
376*5113495bSYour Name 			Set to zero in chips not supporting FISA, e.g. Pine
377*5113495bSYour Name 
378*5113495bSYour Name 			<legal all>
379*5113495bSYour Name */
380*5113495bSYour Name 
381*5113495bSYour Name 
382*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_0_SRC_IP_127_96
383*5113495bSYour Name 
384*5113495bSYour Name 			Uppermost 32 bits of source IPv6 address or prefix as
385*5113495bSYour Name 			per Common Parser register field IP_DA_SA_PREFIX (with the
386*5113495bSYour Name 			first byte in the MSB and the last byte in the LSB, i.e.
387*5113495bSYour Name 			requiring a byte-swap for little-endian SW w.r.t. the byte
388*5113495bSYour Name 			order in an IPv6 packet)
389*5113495bSYour Name 
390*5113495bSYour Name 			<legal all>
391*5113495bSYour Name */
392*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_0_SRC_IP_127_96_OFFSET                  0x00000000
393*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_0_SRC_IP_127_96_LSB                     0
394*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_0_SRC_IP_127_96_MASK                    0xffffffff
395*5113495bSYour Name 
396*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_1_SRC_IP_95_64
397*5113495bSYour Name 
398*5113495bSYour Name 			Next 32 bits of source IPv6 address or prefix (requiring
399*5113495bSYour Name 			a byte-swap for little-endian SW) <legal all>
400*5113495bSYour Name */
401*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_1_SRC_IP_95_64_OFFSET                   0x00000004
402*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_1_SRC_IP_95_64_LSB                      0
403*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_1_SRC_IP_95_64_MASK                     0xffffffff
404*5113495bSYour Name 
405*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_2_SRC_IP_63_32
406*5113495bSYour Name 
407*5113495bSYour Name 			Next 32 bits of source IPv6 address or lowest 32 bits of
408*5113495bSYour Name 			prefix (requiring a byte-swap for little-endian SW)
409*5113495bSYour Name 
410*5113495bSYour Name 			<legal all>
411*5113495bSYour Name */
412*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_2_SRC_IP_63_32_OFFSET                   0x00000008
413*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_2_SRC_IP_63_32_LSB                      0
414*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_2_SRC_IP_63_32_MASK                     0xffffffff
415*5113495bSYour Name 
416*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_3_SRC_IP_31_0
417*5113495bSYour Name 
418*5113495bSYour Name 			Lowest 32 bits of source IPv6 address, or source IPv4
419*5113495bSYour Name 			address (requiring a byte-swap for little-endian SW w.r.t.
420*5113495bSYour Name 			the byte order in an IPv6 or IPv4 packet)
421*5113495bSYour Name 
422*5113495bSYour Name 			<legal all>
423*5113495bSYour Name */
424*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_3_SRC_IP_31_0_OFFSET                    0x0000000c
425*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_3_SRC_IP_31_0_LSB                       0
426*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_3_SRC_IP_31_0_MASK                      0xffffffff
427*5113495bSYour Name 
428*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_4_DEST_IP_127_96
429*5113495bSYour Name 
430*5113495bSYour Name 			Uppermost 32 bits of destination IPv6 address or prefix
431*5113495bSYour Name 			as per Common Parser register field IP_DA_SA_PREFIX (with
432*5113495bSYour Name 			the first byte in the MSB and the last byte in the LSB, i.e.
433*5113495bSYour Name 			requiring a byte-swap for little-endian SW w.r.t. the byte
434*5113495bSYour Name 			order as in an IPv6 packet)
435*5113495bSYour Name 
436*5113495bSYour Name 			<legal all>
437*5113495bSYour Name */
438*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_4_DEST_IP_127_96_OFFSET                 0x00000010
439*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_4_DEST_IP_127_96_LSB                    0
440*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_4_DEST_IP_127_96_MASK                   0xffffffff
441*5113495bSYour Name 
442*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_5_DEST_IP_95_64
443*5113495bSYour Name 
444*5113495bSYour Name 			Next 32 bits of destination IPv6 address or prefix
445*5113495bSYour Name 			(requiring a byte-swap for little-endian SW)
446*5113495bSYour Name 
447*5113495bSYour Name 			<legal all>
448*5113495bSYour Name */
449*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_5_DEST_IP_95_64_OFFSET                  0x00000014
450*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_5_DEST_IP_95_64_LSB                     0
451*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_5_DEST_IP_95_64_MASK                    0xffffffff
452*5113495bSYour Name 
453*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_6_DEST_IP_63_32
454*5113495bSYour Name 
455*5113495bSYour Name 			Next 32 bits of destination IPv6 address or lowest 32
456*5113495bSYour Name 			bits of prefix (requiring a byte-swap for little-endian SW)
457*5113495bSYour Name 
458*5113495bSYour Name 			<legal all>
459*5113495bSYour Name */
460*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_6_DEST_IP_63_32_OFFSET                  0x00000018
461*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_6_DEST_IP_63_32_LSB                     0
462*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_6_DEST_IP_63_32_MASK                    0xffffffff
463*5113495bSYour Name 
464*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_7_DEST_IP_31_0
465*5113495bSYour Name 
466*5113495bSYour Name 			Lowest 32 bits of destination IPv6 address, or
467*5113495bSYour Name 			destination IPv4 address (requiring a byte-swap for
468*5113495bSYour Name 			little-endian SW w.r.t. the byte order in an IPv6 or IPv4
469*5113495bSYour Name 			packet)
470*5113495bSYour Name 
471*5113495bSYour Name 			<legal all>
472*5113495bSYour Name */
473*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_7_DEST_IP_31_0_OFFSET                   0x0000001c
474*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_7_DEST_IP_31_0_LSB                      0
475*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_7_DEST_IP_31_0_MASK                     0xffffffff
476*5113495bSYour Name 
477*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_8_SRC_PORT
478*5113495bSYour Name 
479*5113495bSYour Name 			LSB of SPI in case of ESP/AH
480*5113495bSYour Name 
481*5113495bSYour Name 			else source port in case of TCP/UDP without IPsec,
482*5113495bSYour Name 
483*5113495bSYour Name 			else zeros in case of ICMP (with the first/third byte in
484*5113495bSYour Name 			the MSB and the second/fourth byte in the LSB, i.e.
485*5113495bSYour Name 			requiring a byte-swap for little-endian SW w.r.t. the byte
486*5113495bSYour Name 			order as in an IPv6 or IPv4 packet)  <legal all>
487*5113495bSYour Name */
488*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_8_SRC_PORT_OFFSET                       0x00000020
489*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_8_SRC_PORT_LSB                          0
490*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_8_SRC_PORT_MASK                         0x0000ffff
491*5113495bSYour Name 
492*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_8_DEST_PORT
493*5113495bSYour Name 
494*5113495bSYour Name 			MSB of SPI in case of ESP/AH
495*5113495bSYour Name 
496*5113495bSYour Name 			else destination port in case of TCP/UDP without IPsec,
497*5113495bSYour Name 
498*5113495bSYour Name 			else zeros in case of ICMP (with the first byte in the
499*5113495bSYour Name 			MSB and the second byte in the LSB, i.e. requiring a
500*5113495bSYour Name 			byte-swap for little-endian SW w.r.t. the byte order as in
501*5113495bSYour Name 			an IPv6 or IPv4 packet)
502*5113495bSYour Name 
503*5113495bSYour Name 			<legal all>
504*5113495bSYour Name */
505*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_8_DEST_PORT_OFFSET                      0x00000020
506*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_8_DEST_PORT_LSB                         16
507*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_8_DEST_PORT_MASK                        0xffff0000
508*5113495bSYour Name 
509*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_9_L4_PROTOCOL
510*5113495bSYour Name 
511*5113495bSYour Name 			IPsec or L4 protocol
512*5113495bSYour Name 
513*5113495bSYour Name 
514*5113495bSYour Name 
515*5113495bSYour Name 			<enum 1 ICMPV4>
516*5113495bSYour Name 
517*5113495bSYour Name 			<enum 6 TCP>
518*5113495bSYour Name 
519*5113495bSYour Name 			<enum 17 UDP>
520*5113495bSYour Name 
521*5113495bSYour Name 			<enum 50 ESP>
522*5113495bSYour Name 
523*5113495bSYour Name 			<enum 51 AH>
524*5113495bSYour Name 
525*5113495bSYour Name 			<enum 58 ICMPV6>
526*5113495bSYour Name 
527*5113495bSYour Name 			<legal 1, 6, 17, 50, 51, 58>
528*5113495bSYour Name */
529*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_L4_PROTOCOL_OFFSET                    0x00000024
530*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_L4_PROTOCOL_LSB                       0
531*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_L4_PROTOCOL_MASK                      0x000000ff
532*5113495bSYour Name 
533*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_9_VALID
534*5113495bSYour Name 
535*5113495bSYour Name 			Indicates validity of entry
536*5113495bSYour Name 
537*5113495bSYour Name 			<legal all>
538*5113495bSYour Name */
539*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_VALID_OFFSET                          0x00000024
540*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_VALID_LSB                             8
541*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_VALID_MASK                            0x00000100
542*5113495bSYour Name 
543*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_9_RESERVED_9
544*5113495bSYour Name 
545*5113495bSYour Name 			<legal 0>
546*5113495bSYour Name */
547*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_RESERVED_9_OFFSET                     0x00000024
548*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_RESERVED_9_LSB                        9
549*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_RESERVED_9_MASK                       0x00fffe00
550*5113495bSYour Name 
551*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_9_REO_DESTINATION_INDICATION
552*5113495bSYour Name 
553*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
554*5113495bSYour Name 			push after (MPDU level) reordering has finished.
555*5113495bSYour Name 
556*5113495bSYour Name 
557*5113495bSYour Name 
558*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
559*5113495bSYour Name 			into the REO2TCL ring
560*5113495bSYour Name 
561*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
562*5113495bSYour Name 			into the REO2SW1 ring
563*5113495bSYour Name 
564*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
565*5113495bSYour Name 			into the REO2SW2 ring
566*5113495bSYour Name 
567*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
568*5113495bSYour Name 			into the REO2SW3 ring
569*5113495bSYour Name 
570*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
571*5113495bSYour Name 			into the REO2SW4 ring
572*5113495bSYour Name 
573*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
574*5113495bSYour Name 			into the REO_release ring
575*5113495bSYour Name 
576*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
577*5113495bSYour Name 			the REO2FW ring
578*5113495bSYour Name 
579*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
580*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
581*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
582*5113495bSYour Name 
583*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
584*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
585*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
586*5113495bSYour Name 
587*5113495bSYour Name 			<enum 9 reo_destination_9> REO remaps this <enum 10
588*5113495bSYour Name 			reo_destination_10> REO remaps this
589*5113495bSYour Name 
590*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
591*5113495bSYour Name 
592*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
593*5113495bSYour Name 			reo_destination_13> REO remaps this
594*5113495bSYour Name 
595*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
596*5113495bSYour Name 
597*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
598*5113495bSYour Name 
599*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
600*5113495bSYour Name 
601*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
602*5113495bSYour Name 
603*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
604*5113495bSYour Name 
605*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
606*5113495bSYour Name 
607*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
608*5113495bSYour Name 
609*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
610*5113495bSYour Name 
611*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
612*5113495bSYour Name 
613*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
614*5113495bSYour Name 
615*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
616*5113495bSYour Name 
617*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
618*5113495bSYour Name 
619*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
620*5113495bSYour Name 
621*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
622*5113495bSYour Name 
623*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
624*5113495bSYour Name 
625*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
626*5113495bSYour Name 
627*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
628*5113495bSYour Name 
629*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
630*5113495bSYour Name 
631*5113495bSYour Name 
632*5113495bSYour Name 
633*5113495bSYour Name 			<legal all>
634*5113495bSYour Name */
635*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_REO_DESTINATION_INDICATION_OFFSET     0x00000024
636*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_REO_DESTINATION_INDICATION_LSB        24
637*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_REO_DESTINATION_INDICATION_MASK       0x1f000000
638*5113495bSYour Name 
639*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_9_MSDU_DROP
640*5113495bSYour Name 
641*5113495bSYour Name 			Overriding indication to REO to forward to REO release
642*5113495bSYour Name 			ring
643*5113495bSYour Name 
644*5113495bSYour Name 			<legal all>
645*5113495bSYour Name */
646*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_MSDU_DROP_OFFSET                      0x00000024
647*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_MSDU_DROP_LSB                         29
648*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_MSDU_DROP_MASK                        0x20000000
649*5113495bSYour Name 
650*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_9_REO_DESTINATION_HANDLER
651*5113495bSYour Name 
652*5113495bSYour Name 			Indicates how to decide the REO destination indication
653*5113495bSYour Name 
654*5113495bSYour Name 			<enum 0 RXFT_USE_FT> Follow this entry
655*5113495bSYour Name 
656*5113495bSYour Name 			<enum 1 RXFT_USE_ASPT> Use address search+peer table
657*5113495bSYour Name 			entry
658*5113495bSYour Name 
659*5113495bSYour Name 			<enum 2 RXFT_USE_FT2> Follow this entry
660*5113495bSYour Name 
661*5113495bSYour Name 			<enum 3 RXFT_USE_CCE> Use CCE super-rule
662*5113495bSYour Name 
663*5113495bSYour Name 			<legal all>
664*5113495bSYour Name */
665*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_REO_DESTINATION_HANDLER_OFFSET        0x00000024
666*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_REO_DESTINATION_HANDLER_LSB           30
667*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_9_REO_DESTINATION_HANDLER_MASK          0xc0000000
668*5113495bSYour Name 
669*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_10_METADATA
670*5113495bSYour Name 
671*5113495bSYour Name 			Value to be passed to SW if this flow search entry
672*5113495bSYour Name 			matches
673*5113495bSYour Name 
674*5113495bSYour Name 			<legal all>
675*5113495bSYour Name */
676*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_10_METADATA_OFFSET                      0x00000028
677*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_10_METADATA_LSB                         0
678*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_10_METADATA_MASK                        0xffffffff
679*5113495bSYour Name 
680*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_11_AGGREGATION_COUNT
681*5113495bSYour Name 
682*5113495bSYour Name 			FISA: Number'of MSDU's aggregated so far
683*5113495bSYour Name 
684*5113495bSYour Name 
685*5113495bSYour Name 
686*5113495bSYour Name 			Set to zero in chips not supporting FISA, e.g. Pine
687*5113495bSYour Name 
688*5113495bSYour Name 			<legal all>
689*5113495bSYour Name */
690*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_11_AGGREGATION_COUNT_OFFSET             0x0000002c
691*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_11_AGGREGATION_COUNT_LSB                0
692*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_11_AGGREGATION_COUNT_MASK               0x0000007f
693*5113495bSYour Name 
694*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_11_LRO_ELIGIBLE
695*5113495bSYour Name 
696*5113495bSYour Name 			FISA: To indicate whether the previous MSDU for this
697*5113495bSYour Name 			flow is eligible for LRO/FISA
698*5113495bSYour Name 
699*5113495bSYour Name 
700*5113495bSYour Name 
701*5113495bSYour Name 			Set to zero in chips not supporting FISA, e.g. Pine
702*5113495bSYour Name 
703*5113495bSYour Name 			<legal all>
704*5113495bSYour Name */
705*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_11_LRO_ELIGIBLE_OFFSET                  0x0000002c
706*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_11_LRO_ELIGIBLE_LSB                     7
707*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_11_LRO_ELIGIBLE_MASK                    0x00000080
708*5113495bSYour Name 
709*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_11_MSDU_COUNT
710*5113495bSYour Name 
711*5113495bSYour Name 			Number of Rx MSDUs matching this flow
712*5113495bSYour Name 
713*5113495bSYour Name 			<legal all>
714*5113495bSYour Name */
715*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_11_MSDU_COUNT_OFFSET                    0x0000002c
716*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_11_MSDU_COUNT_LSB                       8
717*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_11_MSDU_COUNT_MASK                      0xffffff00
718*5113495bSYour Name 
719*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_12_MSDU_BYTE_COUNT
720*5113495bSYour Name 
721*5113495bSYour Name 			Number of bytes in Rx MSDUs matching this flow
722*5113495bSYour Name 
723*5113495bSYour Name 			<legal all>
724*5113495bSYour Name */
725*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_12_MSDU_BYTE_COUNT_OFFSET               0x00000030
726*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_12_MSDU_BYTE_COUNT_LSB                  0
727*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_12_MSDU_BYTE_COUNT_MASK                 0xffffffff
728*5113495bSYour Name 
729*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_13_TIMESTAMP
730*5113495bSYour Name 
731*5113495bSYour Name 			Time of last reception (as measured at Rx OLE) matching
732*5113495bSYour Name 			this flow
733*5113495bSYour Name 
734*5113495bSYour Name 			<legal all>
735*5113495bSYour Name */
736*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_13_TIMESTAMP_OFFSET                     0x00000034
737*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_13_TIMESTAMP_LSB                        0
738*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_13_TIMESTAMP_MASK                       0xffffffff
739*5113495bSYour Name 
740*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_14_CUMULATIVE_L4_CHECKSUM
741*5113495bSYour Name 
742*5113495bSYour Name 			FISA: checksum 'or MSDU's that is part of this flow
743*5113495bSYour Name 			aggregated so far
744*5113495bSYour Name 
745*5113495bSYour Name 
746*5113495bSYour Name 
747*5113495bSYour Name 			Set to zero in chips not supporting FISA, e.g. Pine
748*5113495bSYour Name 
749*5113495bSYour Name 			<legal all>
750*5113495bSYour Name */
751*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_14_CUMULATIVE_L4_CHECKSUM_OFFSET        0x00000038
752*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_14_CUMULATIVE_L4_CHECKSUM_LSB           0
753*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_14_CUMULATIVE_L4_CHECKSUM_MASK          0x0000ffff
754*5113495bSYour Name 
755*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_14_CUMULATIVE_IP_LENGTH
756*5113495bSYour Name 
757*5113495bSYour Name 			FISA: Total MSDU length that is part of this flow
758*5113495bSYour Name 			aggregated so far
759*5113495bSYour Name 
760*5113495bSYour Name 
761*5113495bSYour Name 
762*5113495bSYour Name 			Set to zero in chips not supporting FISA, e.g. Pine
763*5113495bSYour Name 
764*5113495bSYour Name 			<legal all>
765*5113495bSYour Name */
766*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_14_CUMULATIVE_IP_LENGTH_OFFSET          0x00000038
767*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_14_CUMULATIVE_IP_LENGTH_LSB             16
768*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_14_CUMULATIVE_IP_LENGTH_MASK            0xffff0000
769*5113495bSYour Name 
770*5113495bSYour Name /* Description		RX_FLOW_SEARCH_ENTRY_15_TCP_SEQUENCE_NUMBER
771*5113495bSYour Name 
772*5113495bSYour Name 			FISA: TCP Sequence number of the last packet in this
773*5113495bSYour Name 			flow to detect sequence number jump
774*5113495bSYour Name 
775*5113495bSYour Name 
776*5113495bSYour Name 
777*5113495bSYour Name 			Set to zero in chips not supporting FISA, e.g. Pine
778*5113495bSYour Name 
779*5113495bSYour Name 			<legal all>
780*5113495bSYour Name */
781*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_15_TCP_SEQUENCE_NUMBER_OFFSET           0x0000003c
782*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_15_TCP_SEQUENCE_NUMBER_LSB              0
783*5113495bSYour Name #define RX_FLOW_SEARCH_ENTRY_15_TCP_SEQUENCE_NUMBER_MASK             0xffffffff
784*5113495bSYour Name 
785*5113495bSYour Name 
786*5113495bSYour Name #endif // _RX_FLOW_SEARCH_ENTRY_H_
787