]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66288d2d5778b9682fe8f9d45766fd2ee6b15206
treee0d27f4ce97cf209964851c09762d4fe39cd0b50
parent91bae5f4603791acb795f60fa363a0b5fd753e7f
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