* The default implementation of flow -> CPU ID mapping. * * Non-static so that protocols can use it to map their own work to specific * CPUs in a manner consistent to netisr for affinity purposes. */
| 286 | * CPUs in a manner consistent to netisr for affinity purposes. |
| 287 | */ |
| 288 | u_int |
| 289 | netisr_default_flow2cpu(u_int flowid) |
| 290 | { |
| 291 | |
| 292 | return (nws_array[flowid % nws_count]); |
| 293 | } |
| 294 | |
| 295 | /* |
| 296 | * Dispatch tunable and sysctl configuration. |
no outgoing calls
no test coverage detected