rx_flow_search_entry.h 19 KB

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