Lines Matching +full:tx +full:- +full:queues +full:- +full:config
41 /*--------------------------CONFIG VALUES------------------------*/
90 #define LIO_CN23XX_MAX_INPUT_JABBER (LIO_CN23XX_PKI_MAX_FRAME_SIZE - \
101 /* Macros to get octeon config params */
102 #define LIO_GET_IQ_CFG(cfg) ((cfg)->iq)
103 #define LIO_GET_IQ_MAX_Q_CFG(cfg) ((cfg)->iq.max_iqs)
104 #define LIO_GET_IQ_INSTR_TYPE_CFG(cfg) ((cfg)->iq.instr_type)
106 #define LIO_GET_IQ_INTR_PKT_CFG(cfg) ((cfg)->iq.iq_intr_pkt)
108 #define LIO_GET_OQ_MAX_Q_CFG(cfg) ((cfg)->oq.max_oqs)
109 #define LIO_GET_OQ_PKTS_PER_INTR_CFG(cfg) ((cfg)->oq.pkts_per_intr)
110 #define LIO_GET_OQ_REFILL_THRESHOLD_CFG(cfg) ((cfg)->oq.refill_threshold)
111 #define LIO_GET_OQ_INTR_PKT_CFG(cfg) ((cfg)->oq.oq_intr_pkt)
112 #define LIO_GET_OQ_INTR_TIME_CFG(cfg) ((cfg)->oq.oq_intr_time)
114 #define LIO_GET_NUM_NIC_PORTS_CFG(cfg) ((cfg)->num_nic_ports)
115 #define LIO_GET_NUM_DEF_TX_DESCS_CFG(cfg) ((cfg)->num_def_tx_descs)
116 #define LIO_GET_NUM_DEF_RX_DESCS_CFG(cfg) ((cfg)->num_def_rx_descs)
117 #define LIO_GET_DEF_RX_BUF_SIZE_CFG(cfg) ((cfg)->def_rx_buf_size)
120 ((cfg)->nic_if_cfg[idx].num_rx_descs)
122 ((cfg)->nic_if_cfg[idx].num_tx_descs)
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)
132 ((cfg)->nic_if_cfg[idx].num_rx_descs = value)
134 ((cfg)->nic_if_cfg[idx].num_tx_descs = value)
136 /* TX/RX process pkt budget */
154 /* Tx interrupt packets. Applicable to 23xx only */
166 /* Command size - 32 or 64 bytes */
171 * queues)
185 * queues)
189 /* Command size - 32 or 64 bytes */
201 /* Tx interrupt packets. Applicable to 23xx only */
300 /* Num of desc for tx rings */
335 /* Num of desc for tx rings */
411 /* The following config values are fixed and should not be modified. */
412 /* Maximum address space to be mapped for Octeon's BAR1 index-based access. */
416 * Response lists - 1 ordered, 1 unordered-blocking, 1 unordered-nonblocking
422 * Opcode hash bits. The opcode is hashed on the lower 6-bits to lookup the
427 /* Mask for the 6-bit lookup hash */
430 /* Size of the dispatch table. The 6-bit hash can index into 2^6 entries */