diff options
author | Eli Cohen <eli@dev.mellanox.co.il> | 2014-04-02 00:10:16 +0300 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-04-10 18:43:32 -0700 |
commit | f360d88a2efddf2d2a2d01a8ac76fded34d624b4 (patch) | |
tree | 9ca4486f3bbd72018b5876a60ce2a351e5045271 /include/linux/mlx5 | |
parent | 877f075aac900288ce2e6a64075cceff09210a7e (diff) | |
download | linux-f360d88a2efddf2d2a2d01a8ac76fded34d624b4.tar.gz linux-f360d88a2efddf2d2a2d01a8ac76fded34d624b4.tar.bz2 linux-f360d88a2efddf2d2a2d01a8ac76fded34d624b4.zip |
IB/mlx5: Add block multicast loopback support
Add support for the block multicast loopback QP creation flag along
the proper firmware API for that.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r-- | include/linux/mlx5/device.h | 1 | ||||
-rw-r--r-- | include/linux/mlx5/qp.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx5/device.h b/include/linux/mlx5/device.h index 407bdb67fd4f..3406cfb1267a 100644 --- a/include/linux/mlx5/device.h +++ b/include/linux/mlx5/device.h @@ -179,6 +179,7 @@ enum { MLX5_DEV_CAP_FLAG_BAD_QKEY_CNTR = 1LL << 9, MLX5_DEV_CAP_FLAG_APM = 1LL << 17, MLX5_DEV_CAP_FLAG_ATOMIC = 1LL << 18, + MLX5_DEV_CAP_FLAG_BLOCK_MCAST = 1LL << 23, MLX5_DEV_CAP_FLAG_ON_DMND_PG = 1LL << 24, MLX5_DEV_CAP_FLAG_CQ_MODER = 1LL << 29, MLX5_DEV_CAP_FLAG_RESIZE_CQ = 1LL << 30, diff --git a/include/linux/mlx5/qp.h b/include/linux/mlx5/qp.h index f829ad80ff28..9709b30e2d69 100644 --- a/include/linux/mlx5/qp.h +++ b/include/linux/mlx5/qp.h @@ -146,6 +146,7 @@ enum { enum { MLX5_QP_LAT_SENSITIVE = 1 << 28, + MLX5_QP_BLOCK_MCAST = 1 << 30, MLX5_QP_ENABLE_SIG = 1 << 31, }; |