Main tx processing loop for hardware copy. */
| 529 | |
| 530 | /* Main tx processing loop for hardware copy. */ |
| 531 | static void |
| 532 | tx_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 */ |
| 546 | static void |
nothing calls this directly
no test coverage detected