]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Report that device has udata response in create_ah
authorMoni Shoua <monis@mellanox.com>
Wed, 23 Nov 2016 06:23:23 +0000 (08:23 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 13 Dec 2016 18:37:19 +0000 (13:37 -0500)
commit42b0a2de64f4c04aa1a818daa6957ed8bff61ce1
treedabc2b5a782ba821d3f2d41887a672580eac7bc1
parent266af6a88c0321ae12c77f092fe61f1017f4abc8
IB/mlx5: Report that device has udata response in create_ah

To make mlx5 user driver aware of whether kernel driver returns dmac
in user data response add a new flag that will be returned back to
user-space through alloc_ucontext.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
include/uapi/rdma/mlx5-abi.h