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