Lines Matching +full:num +full:- +full:rx +full:- +full:queues

7  * Copyright (c) 2003-2016 Cavium, Inc.
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
25 /*--------------------------CONFIG VALUES------------------------*/
121 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq)
122 #define CFG_GET_IQ_MAX_Q(cfg) ((cfg)->iq.max_iqs)
123 #define CFG_GET_IQ_PENDING_LIST_SIZE(cfg) ((cfg)->iq.pending_list_size)
124 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type)
125 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min)
126 #define CFG_GET_IQ_DB_TIMEOUT(cfg) ((cfg)->iq.db_timeout)
128 #define CFG_GET_IQ_INTR_PKT(cfg) ((cfg)->iq.iq_intr_pkt)
129 #define CFG_SET_IQ_INTR_PKT(cfg, val) (cfg)->iq.iq_intr_pkt = val
131 #define CFG_GET_OQ_MAX_Q(cfg) ((cfg)->oq.max_oqs)
132 #define CFG_GET_OQ_PKTS_PER_INTR(cfg) ((cfg)->oq.pkts_per_intr)
133 #define CFG_GET_OQ_REFILL_THRESHOLD(cfg) ((cfg)->oq.refill_threshold)
134 #define CFG_GET_OQ_INTR_PKT(cfg) ((cfg)->oq.oq_intr_pkt)
135 #define CFG_GET_OQ_INTR_TIME(cfg) ((cfg)->oq.oq_intr_time)
136 #define CFG_SET_OQ_INTR_PKT(cfg, val) (cfg)->oq.oq_intr_pkt = val
137 #define CFG_SET_OQ_INTR_TIME(cfg, val) (cfg)->oq.oq_intr_time = val
139 #define CFG_GET_DMA_INTR_PKT(cfg) ((cfg)->dma.dma_intr_pkt)
140 #define CFG_GET_DMA_INTR_TIME(cfg) ((cfg)->dma.dma_intr_time)
141 #define CFG_GET_NUM_NIC_PORTS(cfg) ((cfg)->num_nic_ports)
142 #define CFG_GET_NUM_DEF_TX_DESCS(cfg) ((cfg)->num_def_tx_descs)
143 #define CFG_GET_NUM_DEF_RX_DESCS(cfg) ((cfg)->num_def_rx_descs)
144 #define CFG_GET_DEF_RX_BUF_SIZE(cfg) ((cfg)->def_rx_buf_size)
147 ((cfg)->nic_if_cfg[idx].max_txqs)
149 ((cfg)->nic_if_cfg[idx].num_txqs)
151 ((cfg)->nic_if_cfg[idx].max_rxqs)
153 ((cfg)->nic_if_cfg[idx].num_rxqs)
155 ((cfg)->nic_if_cfg[idx].num_rx_descs)
157 ((cfg)->nic_if_cfg[idx].num_tx_descs)
159 ((cfg)->nic_if_cfg[idx].rx_buf_size)
161 ((cfg)->nic_if_cfg[idx].base_queue)
163 ((cfg)->nic_if_cfg[idx].gmx_port_id)
165 #define CFG_GET_CTRL_Q_GRP(cfg) ((cfg)->misc.ctrlq_grp)
167 ((cfg)->misc.host_link_query_interval)
169 ((cfg)->misc.oct_link_query_interval)
170 #define CFG_GET_IS_SLI_BP_ON(cfg) ((cfg)->misc.enable_sli_oq_bp)
173 ((cfg)->nic_if_cfg[idx].num_rx_descs = value)
175 ((cfg)->nic_if_cfg[idx].num_tx_descs = value)
210 /** Command size - 32 or 64 bytes */
214 * queues)
225 * queues)
229 /** Command size - 32 or 64 bytes */
328 /* Num of desc for tx rings */
331 /* Num of desc for rx rings */
358 /* Num of desc for rx rings */
361 /* Num of desc for tx rings */
425 /* Num of desc for rx rings */
440 /* Response lists - 1 ordered, 1 unordered-blocking, 1 unordered-nonblocking
446 /* Opcode hash bits. The opcode is hashed on the lower 6-bits to lookup the
451 /* Mask for the 6-bit lookup hash */
454 /* Size of the dispatch table. The 6-bit hash can index into 2^6 entries */
457 /* Maximum number of Octeon Instruction (command) queues */
462 /* Maximum number of Octeon Instruction (command) queues */