MCPcopy Create free account
hub / github.com/F-Stack/f-stack / drain_tx_buffers

Function drain_tx_buffers

dpdk/examples/ipsec-secgw/ipsec_worker.h:636–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634}
635
636static __rte_always_inline void
637drain_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_ */

Callers 3

ipsec_poll_mode_workerFunction · 0.85

Calls 1

send_burstFunction · 0.70

Tested by

no test coverage detected