| 123 | } |
| 124 | |
| 125 | static uint64_t |
| 126 | graph_worker_count_get(void) |
| 127 | { |
| 128 | uint64_t nb_worker = 0; |
| 129 | uint64_t coremask; |
| 130 | |
| 131 | coremask = graph_config.params.coremask; |
| 132 | while (coremask) { |
| 133 | if (coremask & 0x1) |
| 134 | nb_worker++; |
| 135 | |
| 136 | coremask = (coremask >> 1); |
| 137 | } |
| 138 | |
| 139 | return nb_worker; |
| 140 | } |
| 141 | |
| 142 | static struct rte_node_ethdev_config * |
| 143 | graph_rxtx_node_config_get(uint32_t *num_conf, uint32_t *num_graphs) |
no outgoing calls
no test coverage detected