OSDN Git Service

IB/mlx4: Add support for WQ indirection table related verbs
authorGuy Levi <guyle@mellanox.com>
Tue, 4 Jul 2017 13:24:25 +0000 (16:24 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 14:45:50 +0000 (10:45 -0400)
commitb8d46ca035060e70f5f0da849d86720752d5aa17
tree428898d9837ce61b4b09ac6834aed121d11dd43e
parent400b1ebcfe31279895f1baa8ecaa390d9a4a0eef
IB/mlx4: Add support for WQ indirection table related verbs

To enable RSS functionality the IB indirection table object (i.e.
ib_rwq_ind_table) should be used.
This patch implements the related verbs as of create and destroy an
indirection table.

In downstream patches the indirection table will be used as part of RSS
QP creation.

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/main.c
drivers/infiniband/hw/mlx4/mlx4_ib.h
drivers/infiniband/hw/mlx4/qp.c
include/uapi/rdma/mlx4-abi.h