| 1232 | } |
| 1233 | |
| 1234 | static __rte_always_inline void |
| 1235 | do_drain_mbuf_table(struct mbuf_table *tx_q) |
| 1236 | { |
| 1237 | uint16_t count; |
| 1238 | |
| 1239 | count = rte_eth_tx_burst(ports[0], tx_q->txq_id, |
| 1240 | tx_q->m_table, tx_q->len); |
| 1241 | if (unlikely(count < tx_q->len)) |
| 1242 | free_pkts(&tx_q->m_table[count], tx_q->len - count); |
| 1243 | |
| 1244 | tx_q->len = 0; |
| 1245 | } |
| 1246 | |
| 1247 | /* |
| 1248 | * This function routes the TX packet to the correct interface. This |
no test coverage detected