]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ib_{uverbs/core}: add new ib_create_qp_ex with udata arg
authorKnut Omang <knut.omang@oracle.com>
Tue, 21 Apr 2015 10:20:07 +0000 (12:20 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 8 Jul 2015 01:11:00 +0000 (18:11 -0700)
commit5378de748cc98cb99df88407bb10ce252e13a438
tree0f9c6f555bb015d124d98ccf92a9c55309929d23
parent8e73cdb06fa4b8d1fdef3153084aee7b5cdb7fdf
ib_{uverbs/core}: add new ib_create_qp_ex with udata arg

Necessary to get device specific arguments through to XRC QPs.
Added new local header file to serve as support interface
between ib_core and ib_uverbs.

Right now there is a lot of duplicate setup code in uverbs_cmd.c
on the ib_uverbs side and verbs.c on the ib_core side. This commit
is a quick fix to have XRC support working, but similar calls
can be added to consolidate the code for other parts of the API.

Orabug: 20930262

Signed-off-by: Knut Omang <knut.omang@oracle.com>
Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/infiniband/core/core_priv.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/verbs.c