]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Use kernel driver to help userspace create ah
authorMoni Shoua <monis@mellanox.com>
Wed, 23 Nov 2016 06:23:25 +0000 (08:23 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 13 Dec 2016 18:38:49 +0000 (13:38 -0500)
commitab125b81e197c6adc60087d92651df7c694f264a
tree15ade6d5d0b846fb11e797268f687cfb389eb4c8
parent64aca20d23ead81900b239f31f6c51cd2eda7d8e
IB/mlx5: Use kernel driver to help userspace create ah

Resolving a MAC address for a given IP address in userspace is inefficient.
This patch lets mlx5 user driver using the kernel driver to resolve the mac
and get the answer in the private section of the response.

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/ah.c
include/uapi/rdma/mlx5-abi.h