OSDN Git Service

IB/uverbs: Move ioctl path of create_cq and destroy_cq to a new file
authorMatan Barak <matanb@mellanox.com>
Mon, 19 Mar 2018 13:02:38 +0000 (15:02 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 19 Mar 2018 20:45:17 +0000 (14:45 -0600)
commit41b2a71fc848e200e023b7ccd502c3b96714248d
treecb5f57f7c837400b5941bbb78cb338fa57c8e97e
parentdfb1395573c8726353f8cca1c123b46292d18822
IB/uverbs: Move ioctl path of create_cq and destroy_cq to a new file

Currently, all objects are declared in uverbs_std_types. This could lead
to a huge file once we implement all objects, methods and handlers.
Moving each object to its own file to keep the files smaller and more
readable. uverbs_std_types.c will only contain the parsing tree
definition and objects without any methods.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/Makefile
drivers/infiniband/core/uverbs.h
drivers/infiniband/core/uverbs_std_types.c
drivers/infiniband/core/uverbs_std_types_cq.c [new file with mode: 0644]
include/rdma/uverbs_ioctl.h