OSDN Git Service

IB: Support ib_flow creation in drivers
authorYishai Hadas <yishaih@mellanox.com>
Mon, 23 Jul 2018 12:25:08 +0000 (15:25 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 24 Jul 2018 19:34:55 +0000 (13:34 -0600)
commit6cd080a674a7adce97c0189c4579cf40782c2770
treee6c74c8907fe3e551b4c20cc33e30159ee0c16d3
parentfd44e3853c0155fa82314f341f476d4793415cd2
IB: Support ib_flow creation in drivers

This patch considers the case that ib_flow is created by some device
driver with its specific parameters using the KABI infrastructure.

In that case both QP and ib_uflow_resources might not be applicable.
Downstream patches from this series use the above functionality.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_std_types.c
include/rdma/ib_verbs.h