Lines Matching +full:tcm +full:- +full:mode
2 * Copyright (c) 2017-2018 Cavium, Inc.
62 … 16 /*mstorm_eth_queue_zone. Used only for RX producer of VFs in backward compatibility mode.*/
70 … queues that can be allocated to VF with doubled VF zone size. Up to 96 VF supported in this mode*/
71 … of RX queues that can be allocated to VF with 4 VF zone size. Up to 48 VF supported in this mode*/
88 * Usually LL2 queues are opened in pairs � TX-RX.
98 // Include firmware verison number only- do not add constants here to avoid redundunt compilations
133 /* possible PFs and VFs - we need a constant for this size */
148 #define MAX_NUM_L2_QUEUES_E5 (320) /* TODO_E5_VITALY - fix to 512 */
151 /* Traffic classes in network-facing blocks (PBF, BTB, NIG, BRB, PRS and QM) */
250 /* TCM agg val selection (HW) */
260 /* TCM agg val selection (FW) */
308 /* TCM agg counter flag selection (HW) */
318 /* TCM agg counter flag selection (FW) */
389 #define QM_LINE_CRD_REG_SIGN_BIT (1 << (QM_LINE_CRD_REG_WIDTH - 1))
391 #define QM_BYTE_CRD_REG_SIGN_BIT (1 << (QM_BYTE_CRD_REG_WIDTH - 1))
393 #define QM_WFQ_CRD_REG_SIGN_BIT (1 << (QM_WFQ_CRD_REG_WIDTH - 1))
395 #define QM_RL_CRD_REG_SIGN_BIT (1 << (QM_RL_CRD_REG_WIDTH - 1))
438 #define IGU_CMD_INT_ACK_UPPER (IGU_CMD_INT_ACK_BASE + MAX_TOT_SB_PER_PATH - 1)
451 #define IGU_CMD_PROD_UPD_UPPER (IGU_CMD_PROD_UPD_BASE + MAX_TOT_SB_PER_PATH - 1)
476 …_ADMIN_END (PXP_PF_WINDOW_ADMIN_START + PXP_PF_WINDOW_ADMIN_LENGTH - 1)
479 …END (PXP_PF_WINDOW_ADMIN_PER_PF_START + PXP_PF_WINDOW_ADMIN_PER_PF_LENGTH - 1)
482 …END (PXP_PF_WINDOW_ADMIN_GLOBAL_START + PXP_PF_WINDOW_ADMIN_GLOBAL_LENGTH - 1)
494 …END (PXP_EXTERNAL_BAR_PF_WINDOW_START + PXP_EXTERNAL_BAR_PF_WINDOW_LENGTH - 1)
500 … (PXP_EXTERNAL_BAR_GLOBAL_WINDOW_START + PXP_EXTERNAL_BAR_GLOBAL_WINDOW_LENGTH - 1)
505 #define PXP_BAR0_END_GRC (PXP_BAR0_START_GRC + PXP_BAR0_GRC_LENGTH - 1)
509 #define PXP_BAR0_END_IGU (PXP_BAR0_START_IGU + PXP_BAR0_IGU_LENGTH - 1)
514 #define PXP_BAR0_END_TSDM (PXP_BAR0_START_TSDM + PXP_BAR0_SDM_LENGTH - 1)
517 #define PXP_BAR0_END_MSDM (PXP_BAR0_START_MSDM + PXP_BAR0_SDM_LENGTH - 1)
520 #define PXP_BAR0_END_USDM (PXP_BAR0_START_USDM + PXP_BAR0_SDM_LENGTH - 1)
523 #define PXP_BAR0_END_XSDM (PXP_BAR0_START_XSDM + PXP_BAR0_SDM_LENGTH - 1)
526 #define PXP_BAR0_END_YSDM (PXP_BAR0_START_YSDM + PXP_BAR0_SDM_LENGTH - 1)
529 #define PXP_BAR0_END_PSDM (PXP_BAR0_START_PSDM + PXP_BAR0_SDM_LENGTH - 1)
538 #define PXP_VF_BAR0_END_IGU (PXP_VF_BAR0_START_IGU + PXP_VF_BAR0_IGU_LENGTH - 1)
545 #define PXP_VF_BAR0_END_DQ (PXP_VF_BAR0_START_DQ + PXP_VF_BAR0_DQ_LENGTH - 1)
549 …AR0_END_TSDM_ZONE_B (PXP_VF_BAR0_START_TSDM_ZONE_B + PXP_VF_BAR0_SDM_LENGTH_ZONE_B - 1)
552 …AR0_END_MSDM_ZONE_B (PXP_VF_BAR0_START_MSDM_ZONE_B + PXP_VF_BAR0_SDM_LENGTH_ZONE_B - 1)
555 …AR0_END_USDM_ZONE_B (PXP_VF_BAR0_START_USDM_ZONE_B + PXP_VF_BAR0_SDM_LENGTH_ZONE_B - 1)
558 …AR0_END_XSDM_ZONE_B (PXP_VF_BAR0_START_XSDM_ZONE_B + PXP_VF_BAR0_SDM_LENGTH_ZONE_B - 1)
561 …AR0_END_YSDM_ZONE_B (PXP_VF_BAR0_START_YSDM_ZONE_B + PXP_VF_BAR0_SDM_LENGTH_ZONE_B - 1)
564 …AR0_END_PSDM_ZONE_B (PXP_VF_BAR0_START_PSDM_ZONE_B + PXP_VF_BAR0_SDM_LENGTH_ZONE_B - 1)
568 #define PXP_VF_BAR0_END_GRC (PXP_VF_BAR0_START_GRC + PXP_VF_BAR0_GRC_LENGTH - 1)
575 …ine PXP_VF_BAR0_END_IGU2 (PXP_VF_BAR0_START_IGU2 + PXP_VF_BAR0_IGU2_LENGTH - 1)
690 u8 error_code /* error code - relevant only if the opcode indicates its an error */;
692 …E_MASK 0x3F /* The processed PDUs opcode on which happened the error - updated for specific…
701 * Multi function mode
705 ERROR_MODE /* Unsupported mode */,
712 * Per-protocol connection types
731 __le32 lo /* low word for reg-pair */;
732 __le32 hi /* high word for reg-pair */;
864 DB_DEST_TCM /* RX doorbell to TCM */,
874 DPM_LEGACY /* Legacy DPM- to Xstorm RAM */,
875 DPM_RDMA /* RDMA DPM (only RoCE in E4) - to NIG */,
876 DPM_L2_INLINE /* L2 DPM inline- to PBF, with packet data on doorbell */,
877 DPM_L2_BD /* L2 DPM with BD- to PBF, with TX BD data on doorbell */,
882 * Structure for doorbell data, in L2 DPM mode, for the first doorbell in a DPM burst
889 #define DB_L2_DPM_DATA_SIZE_MASK 0x3F /* Size in QWORD-s of the DPM burst */
893 #define DB_L2_DPM_DATA_NUM_BDS_MASK 0xFF /* number of BD-s */
899 #define DB_L2_DPM_DATA_SGE_NUM_MASK 0x7 /* In DPM_L2_BD mode: the number of SGE-s */
925 * Structure for doorbell address, in legacy mode
932 #define DB_LEGACY_ADDR_DEMS_MASK 0x7 /* doorbell extraction mode specifier- 0 if not used */
939 * Structure for doorbell address, in PWM mode
962 #define DB_RDMA_DPM_PARAMS_SIZE_MASK 0x3F /* Size in QWORD-s of the DPM burst */
983 * Structure for doorbell data, in RDMA DPM mode, for the first doorbell in a DPM burst
1038 …parsing_and_err_flags. L3Type: 0 - unknown (not ip) ,1 - Ipv4, 2 - Ipv6 (this field can be filled …
1049 …g_and_err_flags. L4-protocol 0 - none, 1 - TCP, 2- UDP. if the packet is IPv4 fragment, and its no…
1065 … 0x3 /* L3Type: 0 - unknown (not ip) ,1 - Ipv4, 2 - Ipv6 (this field can be filled …
1067 … 0x3 /* L4-protocol 0 - none, 1 - TCP, 2- UDP. if the packet is IPv4 fragment, and its no…
1071 … 0x1 /* corresponds to the same 8021q tag that is selected for 8021q-tag fiel. This flag s…
1079 …HDRERROR_MASK 0x1 /* Set if either version-mismatch or hdr-len-error or ipv4-cksm…
1087 …MASK 0x1 /* Set if either tunnel-ipv4-version-mismatch or tunnel-ipv4-hdr-len-error or …
1113 …-len is smaller than hdr-len 2. total-ip-len indicates number that is bigger than real packet leng…
1121 …_MASK 0x1 /* cksm calculated and value isnt 0xffff or L4-cksm-wasnt-calculated for a…
1203 #define PXP_PRETEND_CMD_PRETEND_PATH_MASK 0x1 /* is pretend mode? */
1205 #define PXP_PRETEND_CMD_PRETEND_PORT_MASK 0x1 /* is pretend mode? */
1207 #define PXP_PRETEND_CMD_PRETEND_FUNCTION_MASK 0x1 /* is pretend mode? */
1259 #define RDIF_TASK_CONTEXT_PROTECTION_TYPE_MASK 0x3 /* 1/2/3 - Protection Type */
1383 #define TDIF_TASK_CONTEXT_PROTECTION_TYPE_MASK 0x3 /* 1/2/3 - Protection Type */