diff options
author | Moni Shoua <monis@mellanox.com> | 2018-01-02 16:19:33 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-08 11:38:51 -0700 |
commit | 776a3906b692963586ee9952e64ed87fb4b401c6 (patch) | |
tree | c927e152c633e6f253debbdaabbd2069ada70592 /drivers/watchdog/wdt.c | |
parent | c32a4f296e1dc20ffb8da7580b0a190c2b4f3dd3 (diff) | |
download | op-kernel-dev-776a3906b692963586ee9952e64ed87fb4b401c6.zip op-kernel-dev-776a3906b692963586ee9952e64ed87fb4b401c6.tar.gz |
IB/mlx5: Add support for DC target QP
A DC Target (DCT) QP is represented in the hardware as a unique object.
This object is created by CREATE_DCT command and destroyed by DESTROY_DCT
command. However, in the driver we describe it as a QP.
The hardware command that creates a DCT needs parameters that the verb
create_qp() does not provide. Those remaining parameters are provided
with the call to the verb modify_qp(). Therefore we delay the actual
creation of a DCT in the hardware until the stage of modify_qp() to RTR.
A support for query_qp() was added as well. It uses QUERY_DCT command to
retrieve the applicable fields.
Signed-off-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/watchdog/wdt.c')
0 files changed, 0 insertions, 0 deletions