1*5113495bSYour Name /* 2*5113495bSYour Name * Copyright (c) 2018 The Linux Foundation. All rights reserved. 3*5113495bSYour Name * 4*5113495bSYour Name * Permission to use, copy, modify, and/or distribute this software for 5*5113495bSYour Name * any purpose with or without fee is hereby granted, provided that the 6*5113495bSYour Name * above copyright notice and this permission notice appear in all 7*5113495bSYour Name * copies. 8*5113495bSYour Name * 9*5113495bSYour Name * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 10*5113495bSYour Name * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 11*5113495bSYour Name * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 12*5113495bSYour Name * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 13*5113495bSYour Name * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 14*5113495bSYour Name * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 15*5113495bSYour Name * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16*5113495bSYour Name * PERFORMANCE OF THIS SOFTWARE. 17*5113495bSYour Name */ 18*5113495bSYour Name 19*5113495bSYour Name #ifndef _RXPT_CLASSIFY_INFO_H_ 20*5113495bSYour Name #define _RXPT_CLASSIFY_INFO_H_ 21*5113495bSYour Name #if !defined(__ASSEMBLER__) 22*5113495bSYour Name #endif 23*5113495bSYour Name 24*5113495bSYour Name 25*5113495bSYour Name // ################ START SUMMARY ################# 26*5113495bSYour Name // 27*5113495bSYour Name // Dword Fields 28*5113495bSYour Name // 0 reo_destination_indication[4:0], reserved_0a[6:5], use_flow_id_toeplitz_clfy[7], pkt_selection_fp_ucast_data[8], pkt_selection_fp_mcast_data[9], pkt_selection_fp_1000[10], rxdma0_source_ring_selection[12:11], rxdma0_destination_ring_selection[14:13], reserved_0b[31:15] 29*5113495bSYour Name // 30*5113495bSYour Name // ################ END SUMMARY ################# 31*5113495bSYour Name 32*5113495bSYour Name #define NUM_OF_DWORDS_RXPT_CLASSIFY_INFO 1 33*5113495bSYour Name 34*5113495bSYour Name struct rxpt_classify_info { 35*5113495bSYour Name uint32_t reo_destination_indication : 5, //[4:0] 36*5113495bSYour Name reserved_0a : 2, //[6:5] 37*5113495bSYour Name use_flow_id_toeplitz_clfy : 1, //[7] 38*5113495bSYour Name pkt_selection_fp_ucast_data : 1, //[8] 39*5113495bSYour Name pkt_selection_fp_mcast_data : 1, //[9] 40*5113495bSYour Name pkt_selection_fp_1000 : 1, //[10] 41*5113495bSYour Name rxdma0_source_ring_selection : 2, //[12:11] 42*5113495bSYour Name rxdma0_destination_ring_selection: 2, //[14:13] 43*5113495bSYour Name reserved_0b : 17; //[31:15] 44*5113495bSYour Name }; 45*5113495bSYour Name 46*5113495bSYour Name /* 47*5113495bSYour Name 48*5113495bSYour Name reo_destination_indication 49*5113495bSYour Name 50*5113495bSYour Name The ID of the REO exit ring where the MSDU frame shall 51*5113495bSYour Name push after (MPDU level) reordering has finished. 52*5113495bSYour Name 53*5113495bSYour Name 54*5113495bSYour Name 55*5113495bSYour Name <enum 0 reo_destination_tcl> Reo will push the frame 56*5113495bSYour Name into the REO2TCL ring 57*5113495bSYour Name 58*5113495bSYour Name <enum 1 reo_destination_sw1> Reo will push the frame 59*5113495bSYour Name into the REO2SW1 ring 60*5113495bSYour Name 61*5113495bSYour Name <enum 2 reo_destination_sw2> Reo will push the frame 62*5113495bSYour Name into the REO2SW1 ring 63*5113495bSYour Name 64*5113495bSYour Name <enum 3 reo_destination_sw3> Reo will push the frame 65*5113495bSYour Name into the REO2SW1 ring 66*5113495bSYour Name 67*5113495bSYour Name <enum 4 reo_destination_sw4> Reo will push the frame 68*5113495bSYour Name into the REO2SW1 ring 69*5113495bSYour Name 70*5113495bSYour Name <enum 5 reo_destination_release> Reo will push the frame 71*5113495bSYour Name into the REO_release ring 72*5113495bSYour Name 73*5113495bSYour Name <enum 6 reo_destination_fw> Reo will push the frame into 74*5113495bSYour Name the REO2FW ring 75*5113495bSYour Name 76*5113495bSYour Name <enum 7 reo_destination_7> REO remaps this 77*5113495bSYour Name 78*5113495bSYour Name <enum 8 reo_destination_8> REO remaps this <enum 9 79*5113495bSYour Name reo_destination_9> REO remaps this <enum 10 80*5113495bSYour Name reo_destination_10> REO remaps this 81*5113495bSYour Name 82*5113495bSYour Name <enum 11 reo_destination_11> REO remaps this 83*5113495bSYour Name 84*5113495bSYour Name <enum 12 reo_destination_12> REO remaps this <enum 13 85*5113495bSYour Name reo_destination_13> REO remaps this 86*5113495bSYour Name 87*5113495bSYour Name <enum 14 reo_destination_14> REO remaps this 88*5113495bSYour Name 89*5113495bSYour Name <enum 15 reo_destination_15> REO remaps this 90*5113495bSYour Name 91*5113495bSYour Name <enum 16 reo_destination_16> REO remaps this 92*5113495bSYour Name 93*5113495bSYour Name <enum 17 reo_destination_17> REO remaps this 94*5113495bSYour Name 95*5113495bSYour Name <enum 18 reo_destination_18> REO remaps this 96*5113495bSYour Name 97*5113495bSYour Name <enum 19 reo_destination_19> REO remaps this 98*5113495bSYour Name 99*5113495bSYour Name <enum 20 reo_destination_20> REO remaps this 100*5113495bSYour Name 101*5113495bSYour Name <enum 21 reo_destination_21> REO remaps this 102*5113495bSYour Name 103*5113495bSYour Name <enum 22 reo_destination_22> REO remaps this 104*5113495bSYour Name 105*5113495bSYour Name <enum 23 reo_destination_23> REO remaps this 106*5113495bSYour Name 107*5113495bSYour Name <enum 24 reo_destination_24> REO remaps this 108*5113495bSYour Name 109*5113495bSYour Name <enum 25 reo_destination_25> REO remaps this 110*5113495bSYour Name 111*5113495bSYour Name <enum 26 reo_destination_26> REO remaps this 112*5113495bSYour Name 113*5113495bSYour Name <enum 27 reo_destination_27> REO remaps this 114*5113495bSYour Name 115*5113495bSYour Name <enum 28 reo_destination_28> REO remaps this 116*5113495bSYour Name 117*5113495bSYour Name <enum 29 reo_destination_29> REO remaps this 118*5113495bSYour Name 119*5113495bSYour Name <enum 30 reo_destination_30> REO remaps this 120*5113495bSYour Name 121*5113495bSYour Name <enum 31 reo_destination_31> REO remaps this 122*5113495bSYour Name 123*5113495bSYour Name 124*5113495bSYour Name 125*5113495bSYour Name <legal all> 126*5113495bSYour Name 127*5113495bSYour Name reserved_0a 128*5113495bSYour Name 129*5113495bSYour Name <legal 0> 130*5113495bSYour Name 131*5113495bSYour Name use_flow_id_toeplitz_clfy 132*5113495bSYour Name 133*5113495bSYour Name Indication to Rx OLE to enable classification based on 134*5113495bSYour Name the chosen Toeplitz hash from Common Parser, in case flow 135*5113495bSYour Name search fails 136*5113495bSYour Name 137*5113495bSYour Name <legal all> 138*5113495bSYour Name 139*5113495bSYour Name pkt_selection_fp_ucast_data 140*5113495bSYour Name 141*5113495bSYour Name Filter pass Unicast data frame (matching 142*5113495bSYour Name rxpcu_filter_pass and sw_frame_group_Unicast_data) routing 143*5113495bSYour Name selection 144*5113495bSYour Name 145*5113495bSYour Name 146*5113495bSYour Name 147*5113495bSYour Name 1'b0: source and destination rings are selected from the 148*5113495bSYour Name RxOLE register settings for the packet type 149*5113495bSYour Name 150*5113495bSYour Name 151*5113495bSYour Name 152*5113495bSYour Name 1'b1: source ring and destination ring is selected from 153*5113495bSYour Name the rxdma0_source_ring_selection and 154*5113495bSYour Name rxdma0_destination_ring_selection fields in this STRUCT 155*5113495bSYour Name 156*5113495bSYour Name <legal all> 157*5113495bSYour Name 158*5113495bSYour Name pkt_selection_fp_mcast_data 159*5113495bSYour Name 160*5113495bSYour Name Filter pass Multicast data frame (matching 161*5113495bSYour Name rxpcu_filter_pass and sw_frame_group_Multicast_data) routing 162*5113495bSYour Name selection 163*5113495bSYour Name 164*5113495bSYour Name 165*5113495bSYour Name 166*5113495bSYour Name 1'b0: source and destination rings are selected from the 167*5113495bSYour Name RxOLE register settings for the packet type 168*5113495bSYour Name 169*5113495bSYour Name 170*5113495bSYour Name 171*5113495bSYour Name 1'b1: source ring and destination ring is selected from 172*5113495bSYour Name the rxdma0_source_ring_selection and 173*5113495bSYour Name rxdma0_destination_ring_selection fields in this STRUCT 174*5113495bSYour Name 175*5113495bSYour Name <legal all> 176*5113495bSYour Name 177*5113495bSYour Name pkt_selection_fp_1000 178*5113495bSYour Name 179*5113495bSYour Name Filter pass BAR frame (matching rxpcu_filter_pass and 180*5113495bSYour Name sw_frame_group_ctrl_1000) routing selection 181*5113495bSYour Name 182*5113495bSYour Name 183*5113495bSYour Name 184*5113495bSYour Name 1'b0: source and destination rings are selected from the 185*5113495bSYour Name RxOLE register settings for the packet type 186*5113495bSYour Name 187*5113495bSYour Name 188*5113495bSYour Name 189*5113495bSYour Name 1'b1: source ring and destination ring is selected from 190*5113495bSYour Name the rxdma0_source_ring_selection and 191*5113495bSYour Name rxdma0_destination_ring_selection fields in this STRUCT 192*5113495bSYour Name 193*5113495bSYour Name <legal all> 194*5113495bSYour Name 195*5113495bSYour Name rxdma0_source_ring_selection 196*5113495bSYour Name 197*5113495bSYour Name Field only valid when for the received frame type the 198*5113495bSYour Name corresponding pkt_selection_fp_... bit is set 199*5113495bSYour Name 200*5113495bSYour Name 201*5113495bSYour Name 202*5113495bSYour Name <enum 0 wbm2rxdma_buf_source_ring> The data buffer for 203*5113495bSYour Name 204*5113495bSYour Name <enum 1 fw2rxdma_buf_source_ring> The data buffer for 205*5113495bSYour Name this frame shall be sourced by fw2rxdma buffer source ring. 206*5113495bSYour Name 207*5113495bSYour Name <enum 2 sw2rxdma_buf_source_ring> The data buffer for 208*5113495bSYour Name this frame shall be sourced by sw2rxdma buffer source ring. 209*5113495bSYour Name 210*5113495bSYour Name <enum 3 no_buffer_ring> The frame shall not be written 211*5113495bSYour Name to any data buffer. 212*5113495bSYour Name 213*5113495bSYour Name 214*5113495bSYour Name 215*5113495bSYour Name <legal all> 216*5113495bSYour Name 217*5113495bSYour Name rxdma0_destination_ring_selection 218*5113495bSYour Name 219*5113495bSYour Name Field only valid when for the received frame type the 220*5113495bSYour Name corresponding pkt_selection_fp_... bit is set 221*5113495bSYour Name 222*5113495bSYour Name 223*5113495bSYour Name 224*5113495bSYour Name <enum 0 rxdma_release_ring> RXDMA0 shall push the frame 225*5113495bSYour Name to the Release ring. Effectively this means the frame needs 226*5113495bSYour Name to be dropped. 227*5113495bSYour Name 228*5113495bSYour Name <enum 1 rxdma2fw_ring> RXDMA0 shall push the frame to 229*5113495bSYour Name the FW ring. 230*5113495bSYour Name 231*5113495bSYour Name <enum 2 rxdma2sw_ring> RXDMA0 shall push the frame to 232*5113495bSYour Name the SW ring. 233*5113495bSYour Name 234*5113495bSYour Name <enum 3 rxdma2reo_ring> RXDMA0 shall push the frame to 235*5113495bSYour Name the REO entrance ring. 236*5113495bSYour Name 237*5113495bSYour Name 238*5113495bSYour Name 239*5113495bSYour Name <legal all> 240*5113495bSYour Name 241*5113495bSYour Name reserved_0b 242*5113495bSYour Name 243*5113495bSYour Name <legal 0> 244*5113495bSYour Name */ 245*5113495bSYour Name 246*5113495bSYour Name 247*5113495bSYour Name /* Description RXPT_CLASSIFY_INFO_0_REO_DESTINATION_INDICATION 248*5113495bSYour Name 249*5113495bSYour Name The ID of the REO exit ring where the MSDU frame shall 250*5113495bSYour Name push after (MPDU level) reordering has finished. 251*5113495bSYour Name 252*5113495bSYour Name 253*5113495bSYour Name 254*5113495bSYour Name <enum 0 reo_destination_tcl> Reo will push the frame 255*5113495bSYour Name into the REO2TCL ring 256*5113495bSYour Name 257*5113495bSYour Name <enum 1 reo_destination_sw1> Reo will push the frame 258*5113495bSYour Name into the REO2SW1 ring 259*5113495bSYour Name 260*5113495bSYour Name <enum 2 reo_destination_sw2> Reo will push the frame 261*5113495bSYour Name into the REO2SW1 ring 262*5113495bSYour Name 263*5113495bSYour Name <enum 3 reo_destination_sw3> Reo will push the frame 264*5113495bSYour Name into the REO2SW1 ring 265*5113495bSYour Name 266*5113495bSYour Name <enum 4 reo_destination_sw4> Reo will push the frame 267*5113495bSYour Name into the REO2SW1 ring 268*5113495bSYour Name 269*5113495bSYour Name <enum 5 reo_destination_release> Reo will push the frame 270*5113495bSYour Name into the REO_release ring 271*5113495bSYour Name 272*5113495bSYour Name <enum 6 reo_destination_fw> Reo will push the frame into 273*5113495bSYour Name the REO2FW ring 274*5113495bSYour Name 275*5113495bSYour Name <enum 7 reo_destination_7> REO remaps this 276*5113495bSYour Name 277*5113495bSYour Name <enum 8 reo_destination_8> REO remaps this <enum 9 278*5113495bSYour Name reo_destination_9> REO remaps this <enum 10 279*5113495bSYour Name reo_destination_10> REO remaps this 280*5113495bSYour Name 281*5113495bSYour Name <enum 11 reo_destination_11> REO remaps this 282*5113495bSYour Name 283*5113495bSYour Name <enum 12 reo_destination_12> REO remaps this <enum 13 284*5113495bSYour Name reo_destination_13> REO remaps this 285*5113495bSYour Name 286*5113495bSYour Name <enum 14 reo_destination_14> REO remaps this 287*5113495bSYour Name 288*5113495bSYour Name <enum 15 reo_destination_15> REO remaps this 289*5113495bSYour Name 290*5113495bSYour Name <enum 16 reo_destination_16> REO remaps this 291*5113495bSYour Name 292*5113495bSYour Name <enum 17 reo_destination_17> REO remaps this 293*5113495bSYour Name 294*5113495bSYour Name <enum 18 reo_destination_18> REO remaps this 295*5113495bSYour Name 296*5113495bSYour Name <enum 19 reo_destination_19> REO remaps this 297*5113495bSYour Name 298*5113495bSYour Name <enum 20 reo_destination_20> REO remaps this 299*5113495bSYour Name 300*5113495bSYour Name <enum 21 reo_destination_21> REO remaps this 301*5113495bSYour Name 302*5113495bSYour Name <enum 22 reo_destination_22> REO remaps this 303*5113495bSYour Name 304*5113495bSYour Name <enum 23 reo_destination_23> REO remaps this 305*5113495bSYour Name 306*5113495bSYour Name <enum 24 reo_destination_24> REO remaps this 307*5113495bSYour Name 308*5113495bSYour Name <enum 25 reo_destination_25> REO remaps this 309*5113495bSYour Name 310*5113495bSYour Name <enum 26 reo_destination_26> REO remaps this 311*5113495bSYour Name 312*5113495bSYour Name <enum 27 reo_destination_27> REO remaps this 313*5113495bSYour Name 314*5113495bSYour Name <enum 28 reo_destination_28> REO remaps this 315*5113495bSYour Name 316*5113495bSYour Name <enum 29 reo_destination_29> REO remaps this 317*5113495bSYour Name 318*5113495bSYour Name <enum 30 reo_destination_30> REO remaps this 319*5113495bSYour Name 320*5113495bSYour Name <enum 31 reo_destination_31> REO remaps this 321*5113495bSYour Name 322*5113495bSYour Name 323*5113495bSYour Name 324*5113495bSYour Name <legal all> 325*5113495bSYour Name */ 326*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_REO_DESTINATION_INDICATION_OFFSET 0x00000000 327*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_REO_DESTINATION_INDICATION_LSB 0 328*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_REO_DESTINATION_INDICATION_MASK 0x0000001f 329*5113495bSYour Name 330*5113495bSYour Name /* Description RXPT_CLASSIFY_INFO_0_RESERVED_0A 331*5113495bSYour Name 332*5113495bSYour Name <legal 0> 333*5113495bSYour Name */ 334*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_RESERVED_0A_OFFSET 0x00000000 335*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_RESERVED_0A_LSB 5 336*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_RESERVED_0A_MASK 0x00000060 337*5113495bSYour Name 338*5113495bSYour Name /* Description RXPT_CLASSIFY_INFO_0_USE_FLOW_ID_TOEPLITZ_CLFY 339*5113495bSYour Name 340*5113495bSYour Name Indication to Rx OLE to enable classification based on 341*5113495bSYour Name the chosen Toeplitz hash from Common Parser, in case flow 342*5113495bSYour Name search fails 343*5113495bSYour Name 344*5113495bSYour Name <legal all> 345*5113495bSYour Name */ 346*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_USE_FLOW_ID_TOEPLITZ_CLFY_OFFSET 0x00000000 347*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_USE_FLOW_ID_TOEPLITZ_CLFY_LSB 7 348*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_USE_FLOW_ID_TOEPLITZ_CLFY_MASK 0x00000080 349*5113495bSYour Name 350*5113495bSYour Name /* Description RXPT_CLASSIFY_INFO_0_PKT_SELECTION_FP_UCAST_DATA 351*5113495bSYour Name 352*5113495bSYour Name Filter pass Unicast data frame (matching 353*5113495bSYour Name rxpcu_filter_pass and sw_frame_group_Unicast_data) routing 354*5113495bSYour Name selection 355*5113495bSYour Name 356*5113495bSYour Name 357*5113495bSYour Name 358*5113495bSYour Name 1'b0: source and destination rings are selected from the 359*5113495bSYour Name RxOLE register settings for the packet type 360*5113495bSYour Name 361*5113495bSYour Name 362*5113495bSYour Name 363*5113495bSYour Name 1'b1: source ring and destination ring is selected from 364*5113495bSYour Name the rxdma0_source_ring_selection and 365*5113495bSYour Name rxdma0_destination_ring_selection fields in this STRUCT 366*5113495bSYour Name 367*5113495bSYour Name <legal all> 368*5113495bSYour Name */ 369*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_PKT_SELECTION_FP_UCAST_DATA_OFFSET 0x00000000 370*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_PKT_SELECTION_FP_UCAST_DATA_LSB 8 371*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_PKT_SELECTION_FP_UCAST_DATA_MASK 0x00000100 372*5113495bSYour Name 373*5113495bSYour Name /* Description RXPT_CLASSIFY_INFO_0_PKT_SELECTION_FP_MCAST_DATA 374*5113495bSYour Name 375*5113495bSYour Name Filter pass Multicast data frame (matching 376*5113495bSYour Name rxpcu_filter_pass and sw_frame_group_Multicast_data) routing 377*5113495bSYour Name selection 378*5113495bSYour Name 379*5113495bSYour Name 380*5113495bSYour Name 381*5113495bSYour Name 1'b0: source and destination rings are selected from the 382*5113495bSYour Name RxOLE register settings for the packet type 383*5113495bSYour Name 384*5113495bSYour Name 385*5113495bSYour Name 386*5113495bSYour Name 1'b1: source ring and destination ring is selected from 387*5113495bSYour Name the rxdma0_source_ring_selection and 388*5113495bSYour Name rxdma0_destination_ring_selection fields in this STRUCT 389*5113495bSYour Name 390*5113495bSYour Name <legal all> 391*5113495bSYour Name */ 392*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_PKT_SELECTION_FP_MCAST_DATA_OFFSET 0x00000000 393*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_PKT_SELECTION_FP_MCAST_DATA_LSB 9 394*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_PKT_SELECTION_FP_MCAST_DATA_MASK 0x00000200 395*5113495bSYour Name 396*5113495bSYour Name /* Description RXPT_CLASSIFY_INFO_0_PKT_SELECTION_FP_1000 397*5113495bSYour Name 398*5113495bSYour Name Filter pass BAR frame (matching rxpcu_filter_pass and 399*5113495bSYour Name sw_frame_group_ctrl_1000) routing selection 400*5113495bSYour Name 401*5113495bSYour Name 402*5113495bSYour Name 403*5113495bSYour Name 1'b0: source and destination rings are selected from the 404*5113495bSYour Name RxOLE register settings for the packet type 405*5113495bSYour Name 406*5113495bSYour Name 407*5113495bSYour Name 408*5113495bSYour Name 1'b1: source ring and destination ring is selected from 409*5113495bSYour Name the rxdma0_source_ring_selection and 410*5113495bSYour Name rxdma0_destination_ring_selection fields in this STRUCT 411*5113495bSYour Name 412*5113495bSYour Name <legal all> 413*5113495bSYour Name */ 414*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_PKT_SELECTION_FP_1000_OFFSET 0x00000000 415*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_PKT_SELECTION_FP_1000_LSB 10 416*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_PKT_SELECTION_FP_1000_MASK 0x00000400 417*5113495bSYour Name 418*5113495bSYour Name /* Description RXPT_CLASSIFY_INFO_0_RXDMA0_SOURCE_RING_SELECTION 419*5113495bSYour Name 420*5113495bSYour Name Field only valid when for the received frame type the 421*5113495bSYour Name corresponding pkt_selection_fp_... bit is set 422*5113495bSYour Name 423*5113495bSYour Name 424*5113495bSYour Name 425*5113495bSYour Name <enum 0 wbm2rxdma_buf_source_ring> The data buffer for 426*5113495bSYour Name 427*5113495bSYour Name <enum 1 fw2rxdma_buf_source_ring> The data buffer for 428*5113495bSYour Name this frame shall be sourced by fw2rxdma buffer source ring. 429*5113495bSYour Name 430*5113495bSYour Name <enum 2 sw2rxdma_buf_source_ring> The data buffer for 431*5113495bSYour Name this frame shall be sourced by sw2rxdma buffer source ring. 432*5113495bSYour Name 433*5113495bSYour Name <enum 3 no_buffer_ring> The frame shall not be written 434*5113495bSYour Name to any data buffer. 435*5113495bSYour Name 436*5113495bSYour Name 437*5113495bSYour Name 438*5113495bSYour Name <legal all> 439*5113495bSYour Name */ 440*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_RXDMA0_SOURCE_RING_SELECTION_OFFSET 0x00000000 441*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_RXDMA0_SOURCE_RING_SELECTION_LSB 11 442*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_RXDMA0_SOURCE_RING_SELECTION_MASK 0x00001800 443*5113495bSYour Name 444*5113495bSYour Name /* Description RXPT_CLASSIFY_INFO_0_RXDMA0_DESTINATION_RING_SELECTION 445*5113495bSYour Name 446*5113495bSYour Name Field only valid when for the received frame type the 447*5113495bSYour Name corresponding pkt_selection_fp_... bit is set 448*5113495bSYour Name 449*5113495bSYour Name 450*5113495bSYour Name 451*5113495bSYour Name <enum 0 rxdma_release_ring> RXDMA0 shall push the frame 452*5113495bSYour Name to the Release ring. Effectively this means the frame needs 453*5113495bSYour Name to be dropped. 454*5113495bSYour Name 455*5113495bSYour Name <enum 1 rxdma2fw_ring> RXDMA0 shall push the frame to 456*5113495bSYour Name the FW ring. 457*5113495bSYour Name 458*5113495bSYour Name <enum 2 rxdma2sw_ring> RXDMA0 shall push the frame to 459*5113495bSYour Name the SW ring. 460*5113495bSYour Name 461*5113495bSYour Name <enum 3 rxdma2reo_ring> RXDMA0 shall push the frame to 462*5113495bSYour Name the REO entrance ring. 463*5113495bSYour Name 464*5113495bSYour Name 465*5113495bSYour Name 466*5113495bSYour Name <legal all> 467*5113495bSYour Name */ 468*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_RXDMA0_DESTINATION_RING_SELECTION_OFFSET 0x00000000 469*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_RXDMA0_DESTINATION_RING_SELECTION_LSB 13 470*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_RXDMA0_DESTINATION_RING_SELECTION_MASK 0x00006000 471*5113495bSYour Name 472*5113495bSYour Name /* Description RXPT_CLASSIFY_INFO_0_RESERVED_0B 473*5113495bSYour Name 474*5113495bSYour Name <legal 0> 475*5113495bSYour Name */ 476*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_RESERVED_0B_OFFSET 0x00000000 477*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_RESERVED_0B_LSB 15 478*5113495bSYour Name #define RXPT_CLASSIFY_INFO_0_RESERVED_0B_MASK 0xffff8000 479*5113495bSYour Name 480*5113495bSYour Name 481*5113495bSYour Name #endif // _RXPT_CLASSIFY_INFO_H_ 482