]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8229727138a3f301f3101642a5203032777d3058
tree0ca7c41f8a14720431ff7dec18a096e5af2df35f
parenteadb61ef07fe4aee730773bcee28ddbfe5d2cede
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