]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Enable IPoIB acceleration
authorErez Shitrit <erezsh@mellanox.com>
Thu, 27 Apr 2017 14:01:34 +0000 (17:01 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 4 May 2017 20:22:08 +0000 (16:22 -0400)
commit8d1c880cdc36bb9397cb4abbe3a3aba0f58f8722
tree0e008558a92587f41e3a56ba26ef9ad85f2005e6
parent890f435daeb0031414cf61a3d11a4ba317e0cc32
IB/mlx5: Enable IPoIB acceleration

Enable mlx5 IPoIB acceleration by declaring
mlx5_ib_{alloc,free}_rdma_netdev and assigning the mlx5
IPoIB rdma_netdev callbacks.

In addition, this patch brings in sync mlx5's IPoIB parts for net and IB
trees. As a precaution, we disabled IPoIB acceleration by default (in
the mlx5_core Kconfig file).

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
drivers/net/ethernet/mellanox/mlx5/core/Kconfig
drivers/net/ethernet/mellanox/mlx5/core/ipoib.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib.h
include/linux/mlx5/driver.h