IB/mlx5: Create multiple transmission GSI QPs
authorHaggai Eran <haggaie@mellanox.com>
Mon, 29 Feb 2016 13:45:06 +0000 (15:45 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 1 Mar 2016 16:04:07 +0000 (11:04 -0500)
commitebab41cff4db96c42dfc9939d1c1715496bcf961
tree0ca7c41f8a14720431ff7dec18a096e5af2df35f
parentd16e91daf446c605a92112889552f9df757186bc
IB/mlx5: Create multiple transmission GSI QPs

In order to send GSI MADs on different P_Keys, mlx5 needs different QPs to
be created, each with a different P_Key set when the QP is modified to the
INIT state.

Create QPs for each non-zero P_Key in the P_Key table.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/gsi.c