Lines Matching refs:tx_queue
448 struct ef4_tx_queue tx_queue[EF4_TXQ_TYPES]; member
1085 int (*tx_probe)(struct ef4_tx_queue *tx_queue);
1086 void (*tx_init)(struct ef4_tx_queue *tx_queue);
1087 void (*tx_remove)(struct ef4_tx_queue *tx_queue);
1088 void (*tx_write)(struct ef4_tx_queue *tx_queue);
1089 unsigned int (*tx_limit_len)(struct ef4_tx_queue *tx_queue,
1195 return &efx->channel[efx->tx_channel_offset + index]->tx_queue[type]; in ef4_get_tx_queue()
1209 return &channel->tx_queue[type]; in ef4_channel_get_tx_queue()
1212 static inline bool ef4_tx_queue_used(struct ef4_tx_queue *tx_queue) in ef4_tx_queue_used() argument
1214 return !(tx_queue->efx->net_dev->num_tc < 2 && in ef4_tx_queue_used()
1215 tx_queue->queue & EF4_TXQ_TYPE_HIGHPRI); in ef4_tx_queue_used()
1223 for (_tx_queue = (_channel)->tx_queue; \
1224 _tx_queue < (_channel)->tx_queue + EF4_TXQ_TYPES && \
1233 for (_tx_queue = (_channel)->tx_queue; \
1234 _tx_queue < (_channel)->tx_queue + EF4_TXQ_TYPES; \
1313 ef4_tx_queue_get_insert_index(const struct ef4_tx_queue *tx_queue) in ef4_tx_queue_get_insert_index() argument
1315 return tx_queue->insert_count & tx_queue->ptr_mask; in ef4_tx_queue_get_insert_index()
1320 __ef4_tx_queue_get_insert_buffer(const struct ef4_tx_queue *tx_queue) in __ef4_tx_queue_get_insert_buffer() argument
1322 return &tx_queue->buffer[ef4_tx_queue_get_insert_index(tx_queue)]; in __ef4_tx_queue_get_insert_buffer()
1327 ef4_tx_queue_get_insert_buffer(const struct ef4_tx_queue *tx_queue) in ef4_tx_queue_get_insert_buffer() argument
1330 __ef4_tx_queue_get_insert_buffer(tx_queue); in ef4_tx_queue_get_insert_buffer()