diff options
author | Eugenia Emantayev <eugenia@mellanox.com> | 2013-11-07 05:19:53 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-07 19:22:48 -0500 |
commit | 6e7136ed7793fa4948b0192dcd6862d12a50d67c (patch) | |
tree | fe23b4a06d76512b39a97010324f0a7bce489059 /include | |
parent | 41d942d56cfd21058fba465804e14ba349541442 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mlx4/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index f6f59271f857..4cf0b0153639 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
@@ -662,6 +662,7 @@ struct mlx4_dev { | |||
662 | u8 rev_id; | 662 | u8 rev_id; |
663 | char board_id[MLX4_BOARD_ID_LEN]; | 663 | char board_id[MLX4_BOARD_ID_LEN]; |
664 | int num_vfs; | 664 | int num_vfs; |
665 | int numa_node; | ||
665 | int oper_log_mgm_entry_size; | 666 | int oper_log_mgm_entry_size; |
666 | u64 regid_promisc_array[MLX4_MAX_PORTS + 1]; | 667 | u64 regid_promisc_array[MLX4_MAX_PORTS + 1]; |
667 | u64 regid_allmulti_array[MLX4_MAX_PORTS + 1]; | 668 | u64 regid_allmulti_array[MLX4_MAX_PORTS + 1]; |