]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: Move core content from ib_uverbs to ib_core
authorMichal Kalderon <michal.kalderon@marvell.com>
Wed, 30 Oct 2019 09:44:10 +0000 (11:44 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 5 Nov 2019 13:59:26 +0000 (09:59 -0400)
commitee5140054a055c0947753b029fa116921bd9a008
treede39bd08e548f616b30f433ffeb6bcd820961df2
parent3728e0597931a672390d6fe04ab3d748b21531dc
RDMA/core: Move core content from ib_uverbs to ib_core

Move functionality that is called by the driver, which is
related to umap, to a new file that will be linked in ib_core.
This is a first step in later enabling ib_uverbs to be optional.
vm_ops is now initialized in ib_uverbs_mmap instead of
priv_init to avoid having to move all the rdma_umap functions
as well.

Link: https://lore.kernel.org/r/20191030094417.16866-2-michal.kalderon@marvell.com
Suggested-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/Makefile
drivers/infiniband/core/core_priv.h
drivers/infiniband/core/ib_core_uverbs.c [new file with mode: 0644]
drivers/infiniband/core/uverbs_main.c