]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx4: Add support for RSS QP
authorGuy Levi <guyle@mellanox.com>
Tue, 4 Jul 2017 13:24:26 +0000 (16:24 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 14:45:53 +0000 (10:45 -0400)
commit417a27ddfa1fc8be6928f0d006b3810a5f13f3bb
treed97ed3b34b7557b66597db74afd4dbe76675658e
parentea78c094b5bf117505b5d2670818119807c9710f
IB/mlx4: Add support for RSS QP

Add support to work with a RSS QP by using an indirection table object
upon QP creation. Other related QP verbs (e.g. modify/destroy/query) were
updated as well for that QP mode.

Notes:
- The RX hash properties are supplied as driver private data.
- The RSS QP port is used on the associated WQs in its indirection
  table. Applying different ports during WQ life time is not allowed.
- The expected RSS QP flow is: create, modify(RST->INIT),
  modify(RST->RTR), destroy.

Signed-off-by: Guy Levi <guyle@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/mlx4_ib.h
drivers/infiniband/hw/mlx4/qp.c
include/uapi/rdma/mlx4-abi.h