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

Function rx_main_loop

dpdk/examples/dma/dmafwd.c:516–528  ·  view source on GitHub ↗

Main rx processing loop for dmadev. */

Source from the content-addressed store, hash-verified

514
515/* Main rx processing loop for dmadev. */
516static void
517rx_main_loop(void)
518{
519 uint16_t i;
520 uint16_t nb_ports = cfg.nb_ports;
521
522 RTE_LOG(INFO, DMA, "Entering main rx loop for copy on lcore %u\n",
523 rte_lcore_id());
524
525 while (!force_quit)
526 for (i = 0; i < nb_ports; i++)
527 dma_rx_port(&cfg.ports[i]);
528}
529
530/* Main tx processing loop for hardware copy. */
531static void

Callers

nothing calls this directly

Calls 2

rte_lcore_idFunction · 0.85
dma_rx_portFunction · 0.85

Tested by

no test coverage detected