On Mon, Mar 28, 2022 at 11:45:11PM +0800, Xiao Yang wrote: > 1) Part of enum ib_device_cap_flags are used by ibv_query_device(3) > or ibv_query_device_ex(3), so we define them in > include/uapi/rdma/ib_user_verbs.h and only expose them to userspace. > > 2) Reformat enum ib_device_cap_flags by removing the indent before '='. > > Signed-off-by: Xiao Yang <yangx.jy@xxxxxxxxxxx> > --- > drivers/infiniband/core/uverbs_cmd.c | 6 +- > include/rdma/ib_verbs.h | 104 +++++++++++++++++---------- > include/uapi/rdma/ib_user_verbs.h | 31 ++++++++ > 3 files changed, 101 insertions(+), 40 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>