linux-stable/include/uapi/rdma
Guy Levi 400b1ebcfe IB/mlx4: Add support for WQ related verbs
Support create/modify/destroy WQ related verbs.

The base IB object to enable RSS functionality is a WQ (i.e. ib_wq).
This patch implements the related WQ verbs as of create, modify and
destroy.

In downstream patches the WQ will be used as part of an indirection
table (i.e. ib_rwq_ind_table) to enable RSS QP creation.

Notes:
ConnectX-3 hardware requires consecutive WQNs list as receive descriptor
queues for the RSS QP. Hence, the driver manages consecutive ranges lists
per context which the user must respect.
Destroying the WQ does not return its WQN back to its range for
reusing. However, destroying all WQs from the same range releases the
range and in turn releases its WQNs for reusing.

Since the WQ object is not a natural object in the hardware, the driver
implements the WQ by the hardware QP.

As such, the WQ inherits its port from its RSS QP parent upon its
RST->INIT transition and by that time its state is applied to the
hardware.

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>
2017-07-24 10:45:01 -04:00
..
hfi uapi: export all headers under uapi directories 2017-05-11 00:21:54 +09:00
bnxt_re-abi.h uapi: includes linux/types.h before exporting files 2017-05-11 00:18:38 +09:00
cxgb3-abi.h IB/cxgb3: fix misspelling in header guard 2017-01-24 12:20:23 -05:00
cxgb4-abi.h IB/cxgb4: Move user vendor structures 2016-10-07 16:54:35 -04:00
hns-abi.h IB/hns: Move HNS RoCE user vendor structures 2016-12-03 14:23:14 -05:00
ib_user_cm.h
ib_user_mad.h RDMA/core: Move legacy MAD IOCTL declarations to common file 2017-01-10 12:41:40 -05:00
ib_user_sa.h
ib_user_verbs.h IB/uverbs: Enable QP creation with a given source QP number 2017-07-24 10:40:46 -04:00
mlx4-abi.h IB/mlx4: Add support for WQ related verbs 2017-07-24 10:45:01 -04:00
mlx5-abi.h uapi: fix rdma/mlx5-abi.h userspace compilation errors 2017-03-24 22:01:35 -04:00
mthca-abi.h IB/mthca: Move user vendor structures 2016-10-07 16:54:37 -04:00
nes-abi.h IB/nes: Move user vendor structures 2016-10-07 16:54:37 -04:00
ocrdma-abi.h IB/ocrdma: Move user vendor structures 2016-10-07 16:54:36 -04:00
qedr-abi.h qedr: Add support for QP verbs 2016-10-14 15:00:10 -04:00
rdma_netlink.h IB/netlink: Add a new local service operation 2016-05-24 14:42:48 -04:00
rdma_user_cm.h rdma UAPI: Use __kernel_sockaddr_storage 2016-12-14 11:42:39 -05:00
rdma_user_ioctl.h RDMA/core: Unify style of IOCTL commands 2017-01-10 12:43:53 -05:00
rdma_user_rxe.h Soft RoCE driver 2016-08-04 11:13:12 -04:00
vmw_pvrdma-abi.h IB/vmw_pvrdma: Spare annotate imm_data 2017-04-25 15:42:36 -04:00