Lines Matching refs:tx_queue

445 	struct ef4_tx_queue tx_queue[EF4_TXQ_TYPES];  member
1082 int (*tx_probe)(struct ef4_tx_queue *tx_queue);
1083 void (*tx_init)(struct ef4_tx_queue *tx_queue);
1084 void (*tx_remove)(struct ef4_tx_queue *tx_queue);
1085 void (*tx_write)(struct ef4_tx_queue *tx_queue);
1086 unsigned int (*tx_limit_len)(struct ef4_tx_queue *tx_queue,
1192 return &efx->channel[efx->tx_channel_offset + index]->tx_queue[type]; in ef4_get_tx_queue()
1206 return &channel->tx_queue[type]; in ef4_channel_get_tx_queue()
1209 static inline bool ef4_tx_queue_used(struct ef4_tx_queue *tx_queue) in ef4_tx_queue_used() argument
1211 return !(tx_queue->efx->net_dev->num_tc < 2 && in ef4_tx_queue_used()
1212 tx_queue->queue & EF4_TXQ_TYPE_HIGHPRI); in ef4_tx_queue_used()
1220 for (_tx_queue = (_channel)->tx_queue; \
1221 _tx_queue < (_channel)->tx_queue + EF4_TXQ_TYPES && \
1230 for (_tx_queue = (_channel)->tx_queue; \
1231 _tx_queue < (_channel)->tx_queue + EF4_TXQ_TYPES; \
1310 ef4_tx_queue_get_insert_index(const struct ef4_tx_queue *tx_queue) in ef4_tx_queue_get_insert_index() argument
1312 return tx_queue->insert_count & tx_queue->ptr_mask; in ef4_tx_queue_get_insert_index()
1317 __ef4_tx_queue_get_insert_buffer(const struct ef4_tx_queue *tx_queue) in __ef4_tx_queue_get_insert_buffer() argument
1319 return &tx_queue->buffer[ef4_tx_queue_get_insert_index(tx_queue)]; in __ef4_tx_queue_get_insert_buffer()
1324 ef4_tx_queue_get_insert_buffer(const struct ef4_tx_queue *tx_queue) in ef4_tx_queue_get_insert_buffer() argument
1327 __ef4_tx_queue_get_insert_buffer(tx_queue); in ef4_tx_queue_get_insert_buffer()