IB/mlx5: Support scatter to CQE for DC transport type
authorYonatan Cohen <yonatanc@mellanox.com>
Tue, 9 Oct 2018 09:05:13 +0000 (12:05 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 17 Oct 2018 15:25:41 +0000 (11:25 -0400)
commit5d6ff1babe78034f0cf8e5f7bf312a257e5574cc
treee168c1f907b01fe01c5164fc3d1de2d4e229e762
parent5a8336d99a81ae7492d41b5a13dc2717b0d39565
IB/mlx5: Support scatter to CQE for DC transport type

Scatter to CQE is a HW offload that saves PCI writes by scattering the
payload to the CQE.
This patch extends already existing functionality to support DC
transport type.

Signed-off-by: Yonatan Cohen <yonatanc@mellanox.com>
Reviewed-by: Guy Levi <guyle@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/cq.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c