]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/uverbs: Replace ib_uverbs_file with uverbs_attr_bundle for write
authorJason Gunthorpe <jgg@mellanox.com>
Sun, 25 Nov 2018 18:51:13 +0000 (20:51 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 26 Nov 2018 23:48:07 +0000 (16:48 -0700)
commit8313c10fa8be032fccc1e757bccc21207f533127
tree83df5841953b27023aa65ab8a6b5ed790dba5765
parent1b09577bef3ac135ed02115943c9ab53f2129555
RDMA/uverbs: Replace ib_uverbs_file with uverbs_attr_bundle for write

Now that we can add meta-data to the description of write() methods we
need to pass the uverbs_attr_bundle into all write based handlers so
future patches can use it as a container for any new data transferred out
of the core.

This is the first step to bringing the write() and ioctl() methods to a
common interface signature.

This is a simple search/replace, and we push the attr down into the uobj
and other APIs to keep changes minimal.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/rdma_core.c
drivers/infiniband/core/rdma_core.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/core/uverbs_uapi.c
drivers/infiniband/hw/mlx5/devx.c
include/rdma/ib_verbs.h
include/rdma/uverbs_ioctl.h
include/rdma/uverbs_std_types.h