OSDN Git Service

net/mlx4_en: Add __GFP_COLD gfp flags in alloc_pages
authorIdo Shamay <idos@mellanox.com>
Sun, 2 Nov 2014 14:26:16 +0000 (16:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Nov 2014 17:28:13 +0000 (12:28 -0500)
commit1ab25f86c418b04189c25117090d2b4dc60df417
tree812cce5270264fb408b2e1d0d60db86ff3668eb7
parent5f6e9800804758de367132a0fe9b85865d24f89b
net/mlx4_en: Add __GFP_COLD gfp flags in alloc_pages

Needed in order to get cache cold pages (L3 flushed) for HW scatter.

Otherwise memory may flush those entries when the packet comes from
PCI, causing back pressure resulting in BW decrease.

Signed-off-by: Ido Shamay <idos@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_rx.c