OSDN Git Service

netvsc: no need to allocate send/receive on numa node
authorstephen hemminger <stephen@networkplumber.org>
Thu, 10 Aug 2017 00:46:07 +0000 (17:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 20:59:43 +0000 (13:59 -0700)
commit958333708f2877d3855e3bc31dad428e2f2c8096
tree83b7a76bfbbeab7a94c570823f6298db77e827db
parent68d715f68541d58033199eea80991394a6886eb7
netvsc: no need to allocate send/receive on numa node

The send and receive buffers are both per-device (not per-channel).
The associated NUMA node is a property of the CPU which is per-channel
therefore it makes no sense to force the receive/send buffer to be
allocated on a particular node (since it is a shared resource).

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c