Main rx processing loop for dmadev. */
| 514 | |
| 515 | /* Main rx processing loop for dmadev. */ |
| 516 | static void |
| 517 | rx_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. */ |
| 531 | static void |
nothing calls this directly
no test coverage detected