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>
Showing
- drivers/infiniband/hw/mlx5/main.c 22 additions, 0 deletionsdrivers/infiniband/hw/mlx5/main.c
- drivers/net/ethernet/mellanox/mlx5/core/Kconfig 1 addition, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/Kconfig
- drivers/net/ethernet/mellanox/mlx5/core/ipoib.c 26 additions, 18 deletionsdrivers/net/ethernet/mellanox/mlx5/core/ipoib.c
- drivers/net/ethernet/mellanox/mlx5/core/ipoib.h 2 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/ipoib.h
- include/linux/mlx5/driver.h 19 additions, 0 deletionsinclude/linux/mlx5/driver.h
Loading
Please register or sign in to comment