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

Function tx_main_loop

dpdk/examples/dma/dmafwd.c:531–543  ·  view source on GitHub ↗

Main tx processing loop for hardware copy. */

Source from the content-addressed store, hash-verified

529
530/* Main tx processing loop for hardware copy. */
531static void
532tx_main_loop(void)
533{
534 uint16_t i;
535 uint16_t nb_ports = cfg.nb_ports;
536
537 RTE_LOG(INFO, DMA, "Entering main tx loop for copy on lcore %u\n",
538 rte_lcore_id());
539
540 while (!force_quit)
541 for (i = 0; i < nb_ports; i++)
542 dma_tx_port(&cfg.ports[i]);
543}
544
545/* Main rx and tx loop if only one worker lcore available */
546static void

Callers

nothing calls this directly

Calls 2

rte_lcore_idFunction · 0.85
dma_tx_portFunction · 0.85

Tested by

no test coverage detected