Lines Matching refs:cfg
121 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) argument
122 #define CFG_GET_IQ_MAX_Q(cfg) ((cfg)->iq.max_iqs) argument
123 #define CFG_GET_IQ_PENDING_LIST_SIZE(cfg) ((cfg)->iq.pending_list_size) argument
124 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) argument
125 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) argument
126 #define CFG_GET_IQ_DB_TIMEOUT(cfg) ((cfg)->iq.db_timeout) argument
128 #define CFG_GET_IQ_INTR_PKT(cfg) ((cfg)->iq.iq_intr_pkt) argument
129 #define CFG_SET_IQ_INTR_PKT(cfg, val) (cfg)->iq.iq_intr_pkt = val argument
131 #define CFG_GET_OQ_MAX_Q(cfg) ((cfg)->oq.max_oqs) argument
132 #define CFG_GET_OQ_PKTS_PER_INTR(cfg) ((cfg)->oq.pkts_per_intr) argument
133 #define CFG_GET_OQ_REFILL_THRESHOLD(cfg) ((cfg)->oq.refill_threshold) argument
134 #define CFG_GET_OQ_INTR_PKT(cfg) ((cfg)->oq.oq_intr_pkt) argument
135 #define CFG_GET_OQ_INTR_TIME(cfg) ((cfg)->oq.oq_intr_time) argument
136 #define CFG_SET_OQ_INTR_PKT(cfg, val) (cfg)->oq.oq_intr_pkt = val argument
137 #define CFG_SET_OQ_INTR_TIME(cfg, val) (cfg)->oq.oq_intr_time = val argument
139 #define CFG_GET_DMA_INTR_PKT(cfg) ((cfg)->dma.dma_intr_pkt) argument
140 #define CFG_GET_DMA_INTR_TIME(cfg) ((cfg)->dma.dma_intr_time) argument
141 #define CFG_GET_NUM_NIC_PORTS(cfg) ((cfg)->num_nic_ports) argument
142 #define CFG_GET_NUM_DEF_TX_DESCS(cfg) ((cfg)->num_def_tx_descs) argument
143 #define CFG_GET_NUM_DEF_RX_DESCS(cfg) ((cfg)->num_def_rx_descs) argument
144 #define CFG_GET_DEF_RX_BUF_SIZE(cfg) ((cfg)->def_rx_buf_size) argument
146 #define CFG_GET_MAX_TXQS_NIC_IF(cfg, idx) \ argument
147 ((cfg)->nic_if_cfg[idx].max_txqs)
148 #define CFG_GET_NUM_TXQS_NIC_IF(cfg, idx) \ argument
149 ((cfg)->nic_if_cfg[idx].num_txqs)
150 #define CFG_GET_MAX_RXQS_NIC_IF(cfg, idx) \ argument
151 ((cfg)->nic_if_cfg[idx].max_rxqs)
152 #define CFG_GET_NUM_RXQS_NIC_IF(cfg, idx) \ argument
153 ((cfg)->nic_if_cfg[idx].num_rxqs)
154 #define CFG_GET_NUM_RX_DESCS_NIC_IF(cfg, idx) \ argument
155 ((cfg)->nic_if_cfg[idx].num_rx_descs)
156 #define CFG_GET_NUM_TX_DESCS_NIC_IF(cfg, idx) \ argument
157 ((cfg)->nic_if_cfg[idx].num_tx_descs)
158 #define CFG_GET_NUM_RX_BUF_SIZE_NIC_IF(cfg, idx) \ argument
159 ((cfg)->nic_if_cfg[idx].rx_buf_size)
160 #define CFG_GET_BASE_QUE_NIC_IF(cfg, idx) \ argument
161 ((cfg)->nic_if_cfg[idx].base_queue)
162 #define CFG_GET_GMXID_NIC_IF(cfg, idx) \ argument
163 ((cfg)->nic_if_cfg[idx].gmx_port_id)
165 #define CFG_GET_CTRL_Q_GRP(cfg) ((cfg)->misc.ctrlq_grp) argument
166 #define CFG_GET_HOST_LINK_QUERY_INTERVAL(cfg) \ argument
167 ((cfg)->misc.host_link_query_interval)
168 #define CFG_GET_OCT_LINK_QUERY_INTERVAL(cfg) \ argument
169 ((cfg)->misc.oct_link_query_interval)
170 #define CFG_GET_IS_SLI_BP_ON(cfg) ((cfg)->misc.enable_sli_oq_bp) argument
172 #define CFG_SET_NUM_RX_DESCS_NIC_IF(cfg, idx, value) \ argument
173 ((cfg)->nic_if_cfg[idx].num_rx_descs = value)
174 #define CFG_SET_NUM_TX_DESCS_NIC_IF(cfg, idx, value) \ argument
175 ((cfg)->nic_if_cfg[idx].num_tx_descs = value)