OSDN Git Service

IB/uverbs: Pass IB_UVERBS_QPF_GRH_REQUIRED to user space
authorArtemy Kovalyov <artemyko@mellanox.com>
Wed, 4 Jul 2018 12:57:51 +0000 (15:57 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 10 Jul 2018 17:13:04 +0000 (11:13 -0600)
commit8942acea3723ff9424dc89350d2ab6e969fdd093
tree9b565d98c49f28111d2cc0b03e6f551eccc6d87e
parentb02289b3d60f79ba0831051a7743d8fdb4110355
IB/uverbs: Pass IB_UVERBS_QPF_GRH_REQUIRED to user space

Userspace also needs to know if the port requires GRHs to properly form
the AVs it creates.

Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/uverbs_cmd.c
include/uapi/rdma/ib_user_ioctl_verbs.h
include/uapi/rdma/ib_user_verbs.h