i40e: Use numa_mem_id() to better support memoryless node
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 17 Aug 2015 03:19:02 +0000 (11:19 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 4 Oct 2015 01:49:27 +0000 (18:49 -0700)
commit8dc5562e4e2b8255d2ea5d472a7fa25d5aa20da4
tree4b93c16925898089eb430079b6ac46ffe75b8e28
parente96f78ab2703f3b0d512f6b469bc685d2ef20475
i40e: Use numa_mem_id() to better support memoryless node

Function i40e_clean_rx_irq() tries to reuse memory pages allocated
from the nearest node. To better support memoryless node, use
numa_mem_id() instead of numa_node_id() to get the nearest node with
memory.

This change should only affect performance.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c