IB/mlx5: Use TIR number based on selector
authorYishai Hadas <yishaih@mellanox.com>
Sun, 28 Aug 2016 07:58:37 +0000 (10:58 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 2 Sep 2016 18:11:40 +0000 (14:11 -0400)
commitd9f88e5ab9a73058ebdde589219c0d37da250f06
tree545be0eabbf9bb19be56ab2871b8d9bd1217ef28
parentb2a232d21f301d600b02c6f9ccbc9f977331bb39
IB/mlx5: Use TIR number based on selector

Use TIR number based on selector, it should be done to differentiate
between RSS QP to RAW one.

Reported-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Tested-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c