| 634 | } |
| 635 | |
| 636 | static __rte_always_inline void |
| 637 | drain_tx_buffers(struct lcore_conf *qconf) |
| 638 | { |
| 639 | struct buffer *buf; |
| 640 | uint32_t portid; |
| 641 | |
| 642 | for (portid = 0; portid < RTE_MAX_ETHPORTS; portid++) { |
| 643 | buf = &qconf->tx_mbufs[portid]; |
| 644 | if (buf->len == 0) |
| 645 | continue; |
| 646 | send_burst(qconf, buf->len, portid); |
| 647 | buf->len = 0; |
| 648 | } |
| 649 | } |
| 650 | |
| 651 | #endif /* _IPSEC_WORKER_H_ */ |
no test coverage detected