diff options
| author | 2015-12-20 12:16:11 +0200 | |
|---|---|---|
| committer | 2015-12-23 23:33:14 -0500 | |
| commit | 051f263098a90d208e2d20251bfd4834bc783214 (patch) | |
| tree | 0993c06cb278638d32adb2995812608fa4ca47e8 /include/linux/mlx5 | |
| parent | IB/core: Add cross-channel support (diff) | |
| download | linux-dev-051f263098a90d208e2d20251bfd4834bc783214.tar.xz linux-dev-051f263098a90d208e2d20251bfd4834bc783214.zip | |
IB/mlx5: Add driver cross-channel support
Add support of cross-channel functionality to mlx5
driver. This includes ability to ignore overrun for CQ
which intended for cross-channel, export device capability and
configure the QP to be sync master/slave queues.
The cross-channel enabled QP supports combination of
three possible properties:
* WQE processing on the receive queue of this QP
* WQE processing on the send queue of this QP
* WQE are supported on the send queue
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/mlx5')
| -rw-r--r-- | include/linux/mlx5/qp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mlx5/qp.h b/include/linux/mlx5/qp.h index a9ad40169191..fd1ff4110e80 100644 --- a/include/linux/mlx5/qp.h +++ b/include/linux/mlx5/qp.h @@ -130,6 +130,9 @@ enum { MLX5_QP_BIT_RWE = 1 << 14, MLX5_QP_BIT_RAE = 1 << 13, MLX5_QP_BIT_RIC = 1 << 4, + MLX5_QP_BIT_CC_SLAVE_RECV = 1 << 2, + MLX5_QP_BIT_CC_SLAVE_SEND = 1 << 1, + MLX5_QP_BIT_CC_MASTER = 1 << 0 }; enum { |
