diff options
author | Shani Michaeli <shanim@mellanox.com> | 2013-02-06 20:19:11 +0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-02-25 22:44:31 +0400 |
commit | e448834e3545e02789897ab68905220aea39cd40 (patch) | |
tree | 89d85fdf1d816e6cd575cae2325ae6f65c632244 /drivers/net/ethernet/mellanox/mlx4/mlx4.h | |
parent | cc1ade94eeaa235b28fb139d4ba20b697be36768 (diff) | |
download | linux-e448834e3545e02789897ab68905220aea39cd40.tar.xz |
mlx4_core: Enable memory windows in {INIT, QUERY}_HCA
Add memory windows-related code to INIT_HCA and QUERY_HCA.
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Shani Michaeli <shanim@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/mlx4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4.h b/drivers/net/ethernet/mellanox/mlx4/mlx4.h index 539212b1c8dc..8b75d5ef0940 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mlx4.h +++ b/drivers/net/ethernet/mellanox/mlx4/mlx4.h @@ -60,6 +60,8 @@ #define MLX4_FS_MGM_LOG_ENTRY_SIZE 7 #define MLX4_FS_NUM_MCG (1 << 17) +#define INIT_HCA_TPT_MW_ENABLE (1 << 7) + enum { MLX4_FS_L2_HASH = 0, MLX4_FS_L2_L3_L4_HASH, |