]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ib_core: Add udata argument to alloc_shpd()
authorMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 22 Sep 2015 08:31:31 +0000 (01:31 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 10 Dec 2015 02:07:25 +0000 (18:07 -0800)
commitb352aa33d478e53fb6fd5c81989e7ca156372758
tree89ea8c9efbf9c272ad8d164ec343f2b48546505e
parent825878a53b3f389003478cebee4b666e4593f2b2
ib_core: Add udata argument to alloc_shpd()

ib_core: Add udata argument to alloc_shpd()

Add udata argument to shared pd interface alloc_shpd()
consistent with evolution of other similar ib_core
interfaces so providers that wish to support it can use it.

For providers (like current Mellanox driver code) that
do not expect user user data, we assert a warning.

Orabug: 21884873

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/hw/mlx4/main.c
include/rdma/ib_verbs.h