OSDN Git Service

RDMA/mlx5: Return ECE data after modify QP
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 26 May 2020 11:54:40 +0000 (14:54 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 27 May 2020 19:07:49 +0000 (16:07 -0300)
commit50aec2c3135efd985291adc2e4d1278d52b03de9
treec65b39f6a91ccac55a7540f5840d0e0d57cd5980
parent5f62a521ff20e0b47a8d33421334bd245d6714ff
RDMA/mlx5: Return ECE data after modify QP

After users sets the ECE option, FW will return the agreed/supported bits
through an output structures of modify QP stages for regular QPs or
through create QP for the DCT.

Link: https://lore.kernel.org/r/20200526115440.205922-9-leon@kernel.org
Reviewed-by: Mark Zhang <markz@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c
drivers/infiniband/hw/mlx5/qpc.c
include/uapi/rdma/mlx5-abi.h