IB/core: Move query port to ioctl
authorMichael Guralnik <michaelgur@mellanox.com>
Sun, 9 Dec 2018 09:58:06 +0000 (11:58 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 20 Dec 2018 22:18:24 +0000 (15:18 -0700)
commit641d1207d2ed0ef21ff5ad61e067d630028e2f62
treee0d27f4ce97cf209964851c09762d4fe39cd0b50
parent4fa2813d26c82680216e535c18a690ca0c4e860a
IB/core: Move query port to ioctl

Add a method for query port under the uverbs global methods.  Current
ib_port_attr struct is passed as a single attribute and port_cap_flags2 is
added as a new attribute to the function.

Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_std_types_device.c
include/uapi/rdma/ib_user_ioctl_cmds.h
include/uapi/rdma/ib_user_ioctl_verbs.h