IB/mlx5: Pick the right GSI transmission QP for sending
authorHaggai Eran <haggaie@mellanox.com>
Mon, 29 Feb 2016 13:45:10 +0000 (15:45 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 1 Mar 2016 16:04:07 +0000 (11:04 -0500)
commit83cae2aff53960ab6cf5bb82654201ce43b77fb6
tree5100a68cdd6c7d0655c34509478d124ecf5e392e
parentea6dc2036224aaee887f391a1ee8833bea18c68b
IB/mlx5: Pick the right GSI transmission QP for sending

Pick the QP to use according to the wr.ud.pkey_index field in the work
request. If the QP doesn't exist, it means the P_Key is zero and the packet
would have been dropped, so just generate a completion and move on.

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/gsi.c
This page took 0.024185 seconds and 5 git commands to generate.