summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/rdma.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-03-09 16:44:25 +0200
committerLeon Romanovsky <leonro@mellanox.com>2020-05-27 14:08:28 +0300
commit6b646a7e4af69814dd1a3340fca0f02d4977420d (patch)
tree96d3a2ee91170a37541339f0fab89c5b0578429f /drivers/net/ethernet/mellanox/mlx5/core/rdma.h
parentecf814e0e19b5616048391eac359a50c1e9d5174 (diff)
downloadlinux-6b646a7e4af69814dd1a3340fca0f02d4977420d.tar.bz2
net/mlx5: Add ability to read and write ECE options
The end result of RDMA-CM ECE handshake is ECE options, which is needed to be used while configuring data QPs. Such options can come in any QP state, so add in/out fields to set and query ECE options. OUT fields: * create_qp() - default ECE options for that type of QP. * modify_qp() - enabled ECE options after QP state transition. IN fields: * create_qp() - create QP with this ECE option. * modify_qp() - requested options. For unconnected QPs, the FW will return an error if ECE is already configured with any options that not equal to previously set. Reviewed-by: Mark Zhang <markz@mellanox.com> Reviewed-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/rdma.h')
0 files changed, 0 insertions, 0 deletions