commit | 25a39f7f975c3c26a0052fbf9b59201c06744332 | [log] [tgz] |
---|---|---|
author | Haiyang Zhang <haiyangz@microsoft.com> | Fri Jan 19 13:26:43 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 22 16:24:08 2018 -0500 |
tree | 4e45592e16f7b1b59e437aa1ef4053c972a7bee2 | |
parent | e158624155f194da6fcaea67639f91c2a467bddf [diff] |
hv_netvsc: Use the num_online_cpus() for channel limit Since we no longer localize channel/CPU affiliation within one NUMA node, num_online_cpus() is used as the number of channel cap, instead of the number of processors in a NUMA node. This patch allows a bigger range for tuning the number of channels. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>