net: qcom/emac: Allocate buffers from local node
authorHemanth Puranik <hpuranik@codeaurora.org>
Fri, 18 May 2018 03:29:29 +0000 (08:59 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 May 2018 22:22:35 +0000 (18:22 -0400)
commit1bc49fd18b02a4942d4bb6f46fd23a5fd61c9fd6
treec16f4abeedfc80ee25106c3e17f02cae67f705a3
parent571e7b85c5db4396af52eb2b36c9ccb4a384fbeb
net: qcom/emac: Allocate buffers from local node

Currently we use non-NUMA aware allocation for TPD and RRD buffers,
this patch modifies to use NUMA friendly allocation.

Signed-off-by: Hemanth Puranik <hpuranik@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-mac.c