]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/infiniband/hw/mlx5/main.c
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)
commit6ad279c5a2e55bf2bd100b4222090d4717de88d5
treedabc2b5a782ba821d3f2d41887a672580eac7bc1
parentc90ea9d8e51196d9c528e57d9ab09ee7d41f0ba0
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