rx_flow_search_entry.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
  1. /*
  2. * Copyright (c) 2020 The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  11. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  13. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  14. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. // $ATH_LICENSE_HW_HDR_C$
  17. //
  18. // DO NOT EDIT! This file is automatically generated
  19. // These definitions are tied to a particular hardware layout
  20. #ifndef _RX_FLOW_SEARCH_ENTRY_H_
  21. #define _RX_FLOW_SEARCH_ENTRY_H_
  22. #if !defined(__ASSEMBLER__)
  23. #endif
  24. // ################ START SUMMARY #################
  25. //
  26. // Dword Fields
  27. // 0 src_ip_127_96[31:0]
  28. // 1 src_ip_95_64[31:0]
  29. // 2 src_ip_63_32[31:0]
  30. // 3 src_ip_31_0[31:0]
  31. // 4 dest_ip_127_96[31:0]
  32. // 5 dest_ip_95_64[31:0]
  33. // 6 dest_ip_63_32[31:0]
  34. // 7 dest_ip_31_0[31:0]
  35. // 8 src_port[15:0], dest_port[31:16]
  36. // 9 l4_protocol[7:0], valid[8], reserved_9[29:9], reo_destination_handler[31:30]
  37. // 10 metadata[31:0]
  38. // 11 reo_destination_indication[4:0], msdu_drop[5], reserved_11[7:6], msdu_count[31:8]
  39. // 12 msdu_byte_count[31:0]
  40. // 13 timestamp[31:0]
  41. //
  42. // ################ END SUMMARY #################
  43. #define NUM_OF_DWORDS_RX_FLOW_SEARCH_ENTRY 14
  44. struct rx_flow_search_entry {
  45. uint32_t src_ip_127_96 : 32; //[31:0]
  46. uint32_t src_ip_95_64 : 32; //[31:0]
  47. uint32_t src_ip_63_32 : 32; //[31:0]
  48. uint32_t src_ip_31_0 : 32; //[31:0]
  49. uint32_t dest_ip_127_96 : 32; //[31:0]
  50. uint32_t dest_ip_95_64 : 32; //[31:0]
  51. uint32_t dest_ip_63_32 : 32; //[31:0]
  52. uint32_t dest_ip_31_0 : 32; //[31:0]
  53. uint32_t src_port : 16, //[15:0]
  54. dest_port : 16; //[31:16]
  55. uint32_t l4_protocol : 8, //[7:0]
  56. valid : 1, //[8]
  57. reserved_9 : 21, //[29:9]
  58. reo_destination_handler : 2; //[31:30]
  59. uint32_t metadata : 32; //[31:0]
  60. uint32_t reo_destination_indication : 5, //[4:0]
  61. msdu_drop : 1, //[5]
  62. reserved_11 : 2, //[7:6]
  63. msdu_count : 24; //[31:8]
  64. uint32_t msdu_byte_count : 32; //[31:0]
  65. uint32_t timestamp : 32; //[31:0]
  66. };
  67. /*
  68. src_ip_127_96
  69. Uppermost 32 bits of source IPv6 address or prefix as
  70. per Common Parser register field IP_DA_SA_PREFIX (with the
  71. first byte in the MSB and the last byte in the LSB, i.e.
  72. requiring a byte-swap for little-endian SW w.r.t. the byte
  73. order in an IPv6 packet)
  74. <legal all>
  75. src_ip_95_64
  76. Next 32 bits of source IPv6 address or prefix (requiring
  77. a byte-swap for little-endian SW) <legal all>
  78. src_ip_63_32
  79. Next 32 bits of source IPv6 address or lowest 32 bits of
  80. prefix (requiring a byte-swap for little-endian SW)
  81. <legal all>
  82. src_ip_31_0
  83. Lowest 32 bits of source IPv6 address, or source IPv4
  84. address (requiring a byte-swap for little-endian SW w.r.t.
  85. the byte order in an IPv6 or IPv4 packet)
  86. <legal all>
  87. dest_ip_127_96
  88. Uppermost 32 bits of destination IPv6 address or prefix
  89. as per Common Parser register field IP_DA_SA_PREFIX (with
  90. the first byte in the MSB and the last byte in the LSB, i.e.
  91. requiring a byte-swap for little-endian SW w.r.t. the byte
  92. order as in an IPv6 packet)
  93. <legal all>
  94. dest_ip_95_64
  95. Next 32 bits of destination IPv6 address or prefix
  96. (requiring a byte-swap for little-endian SW)
  97. <legal all>
  98. dest_ip_63_32
  99. Next 32 bits of destination IPv6 address or lowest 32
  100. bits of prefix (requiring a byte-swap for little-endian SW)
  101. <legal all>
  102. dest_ip_31_0
  103. Lowest 32 bits of destination IPv6 address, or
  104. destination IPv4 address (requiring a byte-swap for
  105. little-endian SW w.r.t. the byte order in an IPv6 or IPv4
  106. packet)
  107. <legal all>
  108. src_port
  109. LSB of SPI in case of ESP/AH
  110. else source port in case of TCP/UDP without IPsec,
  111. else zeros in case of ICMP (with the first/third byte in
  112. the MSB and the second/fourth byte in the LSB, i.e.
  113. requiring a byte-swap for little-endian SW w.r.t. the byte
  114. order as in an IPv6 or IPv4 packet) <legal all>
  115. dest_port
  116. MSB of SPI in case of ESP/AH
  117. else destination port in case of TCP/UDP without IPsec,
  118. else zeros in case of ICMP (with the first byte in the
  119. MSB and the second byte in the LSB, i.e. requiring a
  120. byte-swap for little-endian SW w.r.t. the byte order as in
  121. an IPv6 or IPv4 packet)
  122. <legal all>
  123. l4_protocol
  124. IPsec or L4 protocol
  125. <enum 1 ICMPV4>
  126. <enum 6 TCP>
  127. <enum 17 UDP>
  128. <enum 50 ESP>
  129. <enum 51 AH>
  130. <enum 58 ICMPV6>
  131. <legal 1, 6, 17, 50, 51, 58>
  132. valid
  133. Indicates validity of entry
  134. <legal all>
  135. reserved_9
  136. <legal 0>
  137. reo_destination_handler
  138. Indicates how to decide the REO destination indication
  139. <enum 0 RXFT_USE_FT> Follow this entry
  140. <enum 1 RXFT_USE_ASPT> Use address search+peer table
  141. entry
  142. <enum 2 RXFT_USE_FT2> Follow this entry
  143. <enum 3 RXFT_USE_CCE> Use CCE super-rule
  144. <legal all>
  145. metadata
  146. Value to be passed to SW if this flow search entry
  147. matches
  148. <legal all>
  149. reo_destination_indication
  150. The ID of the REO exit ring where the MSDU frame shall
  151. push after (MPDU level) reordering has finished.
  152. <enum 0 reo_destination_tcl> Reo will push the frame
  153. into the REO2TCL ring
  154. <enum 1 reo_destination_sw1> Reo will push the frame
  155. into the REO2SW1 ring
  156. <enum 2 reo_destination_sw2> Reo will push the frame
  157. into the REO2SW1 ring
  158. <enum 3 reo_destination_sw3> Reo will push the frame
  159. into the REO2SW1 ring
  160. <enum 4 reo_destination_sw4> Reo will push the frame
  161. into the REO2SW1 ring
  162. <enum 5 reo_destination_release> Reo will push the frame
  163. into the REO_release ring
  164. <enum 6 reo_destination_fw> Reo will push the frame into
  165. the REO2FW ring
  166. <enum 7 reo_destination_7> REO remaps this
  167. <enum 8 reo_destination_8> REO remaps this <enum 9
  168. reo_destination_9> REO remaps this <enum 10
  169. reo_destination_10> REO remaps this
  170. <enum 11 reo_destination_11> REO remaps this
  171. <enum 12 reo_destination_12> REO remaps this <enum 13
  172. reo_destination_13> REO remaps this
  173. <enum 14 reo_destination_14> REO remaps this
  174. <enum 15 reo_destination_15> REO remaps this
  175. <enum 16 reo_destination_16> REO remaps this
  176. <enum 17 reo_destination_17> REO remaps this
  177. <enum 18 reo_destination_18> REO remaps this
  178. <enum 19 reo_destination_19> REO remaps this
  179. <enum 20 reo_destination_20> REO remaps this
  180. <enum 21 reo_destination_21> REO remaps this
  181. <enum 22 reo_destination_22> REO remaps this
  182. <enum 23 reo_destination_23> REO remaps this
  183. <enum 24 reo_destination_24> REO remaps this
  184. <enum 25 reo_destination_25> REO remaps this
  185. <enum 26 reo_destination_26> REO remaps this
  186. <enum 27 reo_destination_27> REO remaps this
  187. <enum 28 reo_destination_28> REO remaps this
  188. <enum 29 reo_destination_29> REO remaps this
  189. <enum 30 reo_destination_30> REO remaps this
  190. <enum 31 reo_destination_31> REO remaps this
  191. <legal all>
  192. msdu_drop
  193. Overriding indication to REO to forward to REO release
  194. ring
  195. <legal all>
  196. reserved_11
  197. <legal 0>
  198. msdu_count
  199. Number of Rx MSDUs matching this flow
  200. <legal all>
  201. msdu_byte_count
  202. Number of bytes in Rx MSDUs matching this flow
  203. <legal all>
  204. timestamp
  205. Time of last reception (as measured at Rx OLE) matching
  206. this flow
  207. <legal all>
  208. */
  209. /* Description RX_FLOW_SEARCH_ENTRY_0_SRC_IP_127_96
  210. Uppermost 32 bits of source IPv6 address or prefix as
  211. per Common Parser register field IP_DA_SA_PREFIX (with the
  212. first byte in the MSB and the last byte in the LSB, i.e.
  213. requiring a byte-swap for little-endian SW w.r.t. the byte
  214. order in an IPv6 packet)
  215. <legal all>
  216. */
  217. #define RX_FLOW_SEARCH_ENTRY_0_SRC_IP_127_96_OFFSET 0x00000000
  218. #define RX_FLOW_SEARCH_ENTRY_0_SRC_IP_127_96_LSB 0
  219. #define RX_FLOW_SEARCH_ENTRY_0_SRC_IP_127_96_MASK 0xffffffff
  220. /* Description RX_FLOW_SEARCH_ENTRY_1_SRC_IP_95_64
  221. Next 32 bits of source IPv6 address or prefix (requiring
  222. a byte-swap for little-endian SW) <legal all>
  223. */
  224. #define RX_FLOW_SEARCH_ENTRY_1_SRC_IP_95_64_OFFSET 0x00000004
  225. #define RX_FLOW_SEARCH_ENTRY_1_SRC_IP_95_64_LSB 0
  226. #define RX_FLOW_SEARCH_ENTRY_1_SRC_IP_95_64_MASK 0xffffffff
  227. /* Description RX_FLOW_SEARCH_ENTRY_2_SRC_IP_63_32
  228. Next 32 bits of source IPv6 address or lowest 32 bits of
  229. prefix (requiring a byte-swap for little-endian SW)
  230. <legal all>
  231. */
  232. #define RX_FLOW_SEARCH_ENTRY_2_SRC_IP_63_32_OFFSET 0x00000008
  233. #define RX_FLOW_SEARCH_ENTRY_2_SRC_IP_63_32_LSB 0
  234. #define RX_FLOW_SEARCH_ENTRY_2_SRC_IP_63_32_MASK 0xffffffff
  235. /* Description RX_FLOW_SEARCH_ENTRY_3_SRC_IP_31_0
  236. Lowest 32 bits of source IPv6 address, or source IPv4
  237. address (requiring a byte-swap for little-endian SW w.r.t.
  238. the byte order in an IPv6 or IPv4 packet)
  239. <legal all>
  240. */
  241. #define RX_FLOW_SEARCH_ENTRY_3_SRC_IP_31_0_OFFSET 0x0000000c
  242. #define RX_FLOW_SEARCH_ENTRY_3_SRC_IP_31_0_LSB 0
  243. #define RX_FLOW_SEARCH_ENTRY_3_SRC_IP_31_0_MASK 0xffffffff
  244. /* Description RX_FLOW_SEARCH_ENTRY_4_DEST_IP_127_96
  245. Uppermost 32 bits of destination IPv6 address or prefix
  246. as per Common Parser register field IP_DA_SA_PREFIX (with
  247. the first byte in the MSB and the last byte in the LSB, i.e.
  248. requiring a byte-swap for little-endian SW w.r.t. the byte
  249. order as in an IPv6 packet)
  250. <legal all>
  251. */
  252. #define RX_FLOW_SEARCH_ENTRY_4_DEST_IP_127_96_OFFSET 0x00000010
  253. #define RX_FLOW_SEARCH_ENTRY_4_DEST_IP_127_96_LSB 0
  254. #define RX_FLOW_SEARCH_ENTRY_4_DEST_IP_127_96_MASK 0xffffffff
  255. /* Description RX_FLOW_SEARCH_ENTRY_5_DEST_IP_95_64
  256. Next 32 bits of destination IPv6 address or prefix
  257. (requiring a byte-swap for little-endian SW)
  258. <legal all>
  259. */
  260. #define RX_FLOW_SEARCH_ENTRY_5_DEST_IP_95_64_OFFSET 0x00000014
  261. #define RX_FLOW_SEARCH_ENTRY_5_DEST_IP_95_64_LSB 0
  262. #define RX_FLOW_SEARCH_ENTRY_5_DEST_IP_95_64_MASK 0xffffffff
  263. /* Description RX_FLOW_SEARCH_ENTRY_6_DEST_IP_63_32
  264. Next 32 bits of destination IPv6 address or lowest 32
  265. bits of prefix (requiring a byte-swap for little-endian SW)
  266. <legal all>
  267. */
  268. #define RX_FLOW_SEARCH_ENTRY_6_DEST_IP_63_32_OFFSET 0x00000018
  269. #define RX_FLOW_SEARCH_ENTRY_6_DEST_IP_63_32_LSB 0
  270. #define RX_FLOW_SEARCH_ENTRY_6_DEST_IP_63_32_MASK 0xffffffff
  271. /* Description RX_FLOW_SEARCH_ENTRY_7_DEST_IP_31_0
  272. Lowest 32 bits of destination IPv6 address, or
  273. destination IPv4 address (requiring a byte-swap for
  274. little-endian SW w.r.t. the byte order in an IPv6 or IPv4
  275. packet)
  276. <legal all>
  277. */
  278. #define RX_FLOW_SEARCH_ENTRY_7_DEST_IP_31_0_OFFSET 0x0000001c
  279. #define RX_FLOW_SEARCH_ENTRY_7_DEST_IP_31_0_LSB 0
  280. #define RX_FLOW_SEARCH_ENTRY_7_DEST_IP_31_0_MASK 0xffffffff
  281. /* Description RX_FLOW_SEARCH_ENTRY_8_SRC_PORT
  282. LSB of SPI in case of ESP/AH
  283. else source port in case of TCP/UDP without IPsec,
  284. else zeros in case of ICMP (with the first/third byte in
  285. the MSB and the second/fourth byte in the LSB, i.e.
  286. requiring a byte-swap for little-endian SW w.r.t. the byte
  287. order as in an IPv6 or IPv4 packet) <legal all>
  288. */
  289. #define RX_FLOW_SEARCH_ENTRY_8_SRC_PORT_OFFSET 0x00000020
  290. #define RX_FLOW_SEARCH_ENTRY_8_SRC_PORT_LSB 0
  291. #define RX_FLOW_SEARCH_ENTRY_8_SRC_PORT_MASK 0x0000ffff
  292. /* Description RX_FLOW_SEARCH_ENTRY_8_DEST_PORT
  293. MSB of SPI in case of ESP/AH
  294. else destination port in case of TCP/UDP without IPsec,
  295. else zeros in case of ICMP (with the first byte in the
  296. MSB and the second byte in the LSB, i.e. requiring a
  297. byte-swap for little-endian SW w.r.t. the byte order as in
  298. an IPv6 or IPv4 packet)
  299. <legal all>
  300. */
  301. #define RX_FLOW_SEARCH_ENTRY_8_DEST_PORT_OFFSET 0x00000020
  302. #define RX_FLOW_SEARCH_ENTRY_8_DEST_PORT_LSB 16
  303. #define RX_FLOW_SEARCH_ENTRY_8_DEST_PORT_MASK 0xffff0000
  304. /* Description RX_FLOW_SEARCH_ENTRY_9_L4_PROTOCOL
  305. IPsec or L4 protocol
  306. <enum 1 ICMPV4>
  307. <enum 6 TCP>
  308. <enum 17 UDP>
  309. <enum 50 ESP>
  310. <enum 51 AH>
  311. <enum 58 ICMPV6>
  312. <legal 1, 6, 17, 50, 51, 58>
  313. */
  314. #define RX_FLOW_SEARCH_ENTRY_9_L4_PROTOCOL_OFFSET 0x00000024
  315. #define RX_FLOW_SEARCH_ENTRY_9_L4_PROTOCOL_LSB 0
  316. #define RX_FLOW_SEARCH_ENTRY_9_L4_PROTOCOL_MASK 0x000000ff
  317. /* Description RX_FLOW_SEARCH_ENTRY_9_VALID
  318. Indicates validity of entry
  319. <legal all>
  320. */
  321. #define RX_FLOW_SEARCH_ENTRY_9_VALID_OFFSET 0x00000024
  322. #define RX_FLOW_SEARCH_ENTRY_9_VALID_LSB 8
  323. #define RX_FLOW_SEARCH_ENTRY_9_VALID_MASK 0x00000100
  324. /* Description RX_FLOW_SEARCH_ENTRY_9_RESERVED_9
  325. <legal 0>
  326. */
  327. #define RX_FLOW_SEARCH_ENTRY_9_RESERVED_9_OFFSET 0x00000024
  328. #define RX_FLOW_SEARCH_ENTRY_9_RESERVED_9_LSB 9
  329. #define RX_FLOW_SEARCH_ENTRY_9_RESERVED_9_MASK 0x3ffffe00
  330. /* Description RX_FLOW_SEARCH_ENTRY_9_REO_DESTINATION_HANDLER
  331. Indicates how to decide the REO destination indication
  332. <enum 0 RXFT_USE_FT> Follow this entry
  333. <enum 1 RXFT_USE_ASPT> Use address search+peer table
  334. entry
  335. <enum 2 RXFT_USE_FT2> Follow this entry
  336. <enum 3 RXFT_USE_CCE> Use CCE super-rule
  337. <legal all>
  338. */
  339. #define RX_FLOW_SEARCH_ENTRY_9_REO_DESTINATION_HANDLER_OFFSET 0x00000024
  340. #define RX_FLOW_SEARCH_ENTRY_9_REO_DESTINATION_HANDLER_LSB 30
  341. #define RX_FLOW_SEARCH_ENTRY_9_REO_DESTINATION_HANDLER_MASK 0xc0000000
  342. /* Description RX_FLOW_SEARCH_ENTRY_10_METADATA
  343. Value to be passed to SW if this flow search entry
  344. matches
  345. <legal all>
  346. */
  347. #define RX_FLOW_SEARCH_ENTRY_10_METADATA_OFFSET 0x00000028
  348. #define RX_FLOW_SEARCH_ENTRY_10_METADATA_LSB 0
  349. #define RX_FLOW_SEARCH_ENTRY_10_METADATA_MASK 0xffffffff
  350. /* Description RX_FLOW_SEARCH_ENTRY_11_REO_DESTINATION_INDICATION
  351. The ID of the REO exit ring where the MSDU frame shall
  352. push after (MPDU level) reordering has finished.
  353. <enum 0 reo_destination_tcl> Reo will push the frame
  354. into the REO2TCL ring
  355. <enum 1 reo_destination_sw1> Reo will push the frame
  356. into the REO2SW1 ring
  357. <enum 2 reo_destination_sw2> Reo will push the frame
  358. into the REO2SW1 ring
  359. <enum 3 reo_destination_sw3> Reo will push the frame
  360. into the REO2SW1 ring
  361. <enum 4 reo_destination_sw4> Reo will push the frame
  362. into the REO2SW1 ring
  363. <enum 5 reo_destination_release> Reo will push the frame
  364. into the REO_release ring
  365. <enum 6 reo_destination_fw> Reo will push the frame into
  366. the REO2FW ring
  367. <enum 7 reo_destination_7> REO remaps this
  368. <enum 8 reo_destination_8> REO remaps this <enum 9
  369. reo_destination_9> REO remaps this <enum 10
  370. reo_destination_10> REO remaps this
  371. <enum 11 reo_destination_11> REO remaps this
  372. <enum 12 reo_destination_12> REO remaps this <enum 13
  373. reo_destination_13> REO remaps this
  374. <enum 14 reo_destination_14> REO remaps this
  375. <enum 15 reo_destination_15> REO remaps this
  376. <enum 16 reo_destination_16> REO remaps this
  377. <enum 17 reo_destination_17> REO remaps this
  378. <enum 18 reo_destination_18> REO remaps this
  379. <enum 19 reo_destination_19> REO remaps this
  380. <enum 20 reo_destination_20> REO remaps this
  381. <enum 21 reo_destination_21> REO remaps this
  382. <enum 22 reo_destination_22> REO remaps this
  383. <enum 23 reo_destination_23> REO remaps this
  384. <enum 24 reo_destination_24> REO remaps this
  385. <enum 25 reo_destination_25> REO remaps this
  386. <enum 26 reo_destination_26> REO remaps this
  387. <enum 27 reo_destination_27> REO remaps this
  388. <enum 28 reo_destination_28> REO remaps this
  389. <enum 29 reo_destination_29> REO remaps this
  390. <enum 30 reo_destination_30> REO remaps this
  391. <enum 31 reo_destination_31> REO remaps this
  392. <legal all>
  393. */
  394. #define RX_FLOW_SEARCH_ENTRY_11_REO_DESTINATION_INDICATION_OFFSET 0x0000002c
  395. #define RX_FLOW_SEARCH_ENTRY_11_REO_DESTINATION_INDICATION_LSB 0
  396. #define RX_FLOW_SEARCH_ENTRY_11_REO_DESTINATION_INDICATION_MASK 0x0000001f
  397. /* Description RX_FLOW_SEARCH_ENTRY_11_MSDU_DROP
  398. Overriding indication to REO to forward to REO release
  399. ring
  400. <legal all>
  401. */
  402. #define RX_FLOW_SEARCH_ENTRY_11_MSDU_DROP_OFFSET 0x0000002c
  403. #define RX_FLOW_SEARCH_ENTRY_11_MSDU_DROP_LSB 5
  404. #define RX_FLOW_SEARCH_ENTRY_11_MSDU_DROP_MASK 0x00000020
  405. /* Description RX_FLOW_SEARCH_ENTRY_11_RESERVED_11
  406. <legal 0>
  407. */
  408. #define RX_FLOW_SEARCH_ENTRY_11_RESERVED_11_OFFSET 0x0000002c
  409. #define RX_FLOW_SEARCH_ENTRY_11_RESERVED_11_LSB 6
  410. #define RX_FLOW_SEARCH_ENTRY_11_RESERVED_11_MASK 0x000000c0
  411. /* Description RX_FLOW_SEARCH_ENTRY_11_MSDU_COUNT
  412. Number of Rx MSDUs matching this flow
  413. <legal all>
  414. */
  415. #define RX_FLOW_SEARCH_ENTRY_11_MSDU_COUNT_OFFSET 0x0000002c
  416. #define RX_FLOW_SEARCH_ENTRY_11_MSDU_COUNT_LSB 8
  417. #define RX_FLOW_SEARCH_ENTRY_11_MSDU_COUNT_MASK 0xffffff00
  418. /* Description RX_FLOW_SEARCH_ENTRY_12_MSDU_BYTE_COUNT
  419. Number of bytes in Rx MSDUs matching this flow
  420. <legal all>
  421. */
  422. #define RX_FLOW_SEARCH_ENTRY_12_MSDU_BYTE_COUNT_OFFSET 0x00000030
  423. #define RX_FLOW_SEARCH_ENTRY_12_MSDU_BYTE_COUNT_LSB 0
  424. #define RX_FLOW_SEARCH_ENTRY_12_MSDU_BYTE_COUNT_MASK 0xffffffff
  425. /* Description RX_FLOW_SEARCH_ENTRY_13_TIMESTAMP
  426. Time of last reception (as measured at Rx OLE) matching
  427. this flow
  428. <legal all>
  429. */
  430. #define RX_FLOW_SEARCH_ENTRY_13_TIMESTAMP_OFFSET 0x00000034
  431. #define RX_FLOW_SEARCH_ENTRY_13_TIMESTAMP_LSB 0
  432. #define RX_FLOW_SEARCH_ENTRY_13_TIMESTAMP_MASK 0xffffffff
  433. #endif // _RX_FLOW_SEARCH_ENTRY_H_