IB/mlx5: Add support for setting source QP number
authorHaggai Eran <haggaie@mellanox.com>
Mon, 29 Feb 2016 13:45:03 +0000 (15:45 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 1 Mar 2016 16:02:05 +0000 (11:02 -0500)
commitb11a4f9cde1c06e0073662882b60c1fb95a1d597
tree37802697d71267d2ba769d1b89f36ba2633aaa5b
parentc7ce833b364bc19ef51b3c973c94a863e4af0e06
IB/mlx5: Add support for setting source QP number

In order to create multiple GSI QPs, we need to set the source QP number to
one on all these QPs. Add the necessary definitions and infrastructure to
do that.

Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c
include/linux/mlx5/mlx5_ifc.h
include/linux/mlx5/qp.h