| 632 | } |
| 633 | |
| 634 | static void |
| 635 | parse_event_eth_rx_queues(const char *eth_rx_queues) |
| 636 | { |
| 637 | struct l3fwd_event_resources *evt_rsrc = l3fwd_get_eventdev_rsrc(); |
| 638 | char *end = NULL; |
| 639 | uint16_t num_eth_rx_queues; |
| 640 | |
| 641 | /* parse decimal string */ |
| 642 | num_eth_rx_queues = strtoul(eth_rx_queues, &end, 10); |
| 643 | if ((eth_rx_queues[0] == '\0') || (end == NULL) || (*end != '\0')) |
| 644 | return; |
| 645 | |
| 646 | if (num_eth_rx_queues == 0) |
| 647 | return; |
| 648 | |
| 649 | evt_rsrc->eth_rx_queues = num_eth_rx_queues; |
| 650 | } |
| 651 | #endif |
| 652 | |
| 653 | static int |
no test coverage detected