net/mlx4_core: ICM pages are allocated on device NUMA node
authorEugenia Emantayev <eugenia@mellanox.com>
Thu, 7 Nov 2013 10:19:53 +0000 (12:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Nov 2013 00:22:48 +0000 (19:22 -0500)
commit6e7136ed7793fa4948b0192dcd6862d12a50d67c
treefe23b4a06d76512b39a97010324f0a7bce489059
parent41d942d56cfd21058fba465804e14ba349541442
net/mlx4_core: ICM pages are allocated on device NUMA node

This is done to optimize FW/HW access to host memory.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.com>
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Reviewed-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/icm.c
drivers/net/ethernet/mellanox/mlx4/main.c
include/linux/mlx4/device.h