* txq_avail - return the number of available slots in a Tx queue * @q: the Tx queue * * Returns the number of descriptors in a Tx queue available to write new * packets. */
| 82 | * packets. |
| 83 | */ |
| 84 | static inline unsigned int txq_avail(const struct sge_txq *q) |
| 85 | { |
| 86 | return q->size - 1 - q->in_use; |
| 87 | } |
| 88 | |
| 89 | static int map_mbuf(struct rte_mbuf *mbuf, dma_addr_t *addr) |
| 90 | { |
no outgoing calls
no test coverage detected