Lines Matching refs:cfg

102 #define LIO_GET_IQ_CFG(cfg)			((cfg)->iq)  argument
103 #define LIO_GET_IQ_MAX_Q_CFG(cfg) ((cfg)->iq.max_iqs) argument
104 #define LIO_GET_IQ_INSTR_TYPE_CFG(cfg) ((cfg)->iq.instr_type) argument
106 #define LIO_GET_IQ_INTR_PKT_CFG(cfg) ((cfg)->iq.iq_intr_pkt) argument
108 #define LIO_GET_OQ_MAX_Q_CFG(cfg) ((cfg)->oq.max_oqs) argument
109 #define LIO_GET_OQ_PKTS_PER_INTR_CFG(cfg) ((cfg)->oq.pkts_per_intr) argument
110 #define LIO_GET_OQ_REFILL_THRESHOLD_CFG(cfg) ((cfg)->oq.refill_threshold) argument
111 #define LIO_GET_OQ_INTR_PKT_CFG(cfg) ((cfg)->oq.oq_intr_pkt) argument
112 #define LIO_GET_OQ_INTR_TIME_CFG(cfg) ((cfg)->oq.oq_intr_time) argument
114 #define LIO_GET_NUM_NIC_PORTS_CFG(cfg) ((cfg)->num_nic_ports) argument
115 #define LIO_GET_NUM_DEF_TX_DESCS_CFG(cfg) ((cfg)->num_def_tx_descs) argument
116 #define LIO_GET_NUM_DEF_RX_DESCS_CFG(cfg) ((cfg)->num_def_rx_descs) argument
117 #define LIO_GET_DEF_RX_BUF_SIZE_CFG(cfg) ((cfg)->def_rx_buf_size) argument
119 #define LIO_GET_NUM_RX_DESCS_NIC_IF_CFG(cfg, idx) \ argument
120 ((cfg)->nic_if_cfg[idx].num_rx_descs)
121 #define LIO_GET_NUM_TX_DESCS_NIC_IF_CFG(cfg, idx) \ argument
122 ((cfg)->nic_if_cfg[idx].num_tx_descs)
123 #define LIO_GET_NUM_RX_BUF_SIZE_NIC_IF_CFG(cfg, idx) \ argument
124 ((cfg)->nic_if_cfg[idx].rx_buf_size)
126 #define LIO_GET_IS_SLI_BP_ON_CFG(cfg) ((cfg)->misc.enable_sli_oq_bp) argument
131 #define LIO_SET_NUM_RX_DESCS_NIC_IF(cfg, idx, value) \ argument
132 ((cfg)->nic_if_cfg[idx].num_rx_descs = value)
133 #define LIO_SET_NUM_TX_DESCS_NIC_IF(cfg, idx, value) \ argument
134 ((cfg)->nic_if_cfg[idx].num_tx_descs = value)