diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2018-01-19 23:26:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-23 00:24:08 +0300 |
commit | 25a39f7f975c3c26a0052fbf9b59201c06744332 (patch) | |
tree | 4e45592e16f7b1b59e437aa1ef4053c972a7bee2 /drivers/net/fjes | |
parent | e158624155f194da6fcaea67639f91c2a467bddf (diff) | |
download | linux-25a39f7f975c3c26a0052fbf9b59201c06744332.tar.xz |
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>
Diffstat (limited to 'drivers/net/fjes')
0 files changed, 0 insertions, 0 deletions