Re: [PATCH net-next] hv_netvsc: Use the num_online_cpus() for channel limit

From: David Miller
Date: Mon Jan 22 2018 - 16:24:33 EST


From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Jan 2018 13:26:43 -0700

> From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Applied, thanks.