net/mlx5e: Initialize all netdev common structures in one place
Move all mlx5e generic structures initializations to mlx5e_netdev_init. The common structure new initializer function will be used to initialize mlx5 context for netlink created netdevs such as IPoIB mlx5 accelerated child netdevs. Fixes: cd565b4b ("IB/IPoIB: Support acceleration options callbacks") Signed-off-by:Saeed Mahameed <saeedm@mellanox.com> Signed-off-by:
Feras Daoud <ferasda@mellanox.com>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/en.h 5 additions, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/en.h
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c 29 additions, 34 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_main.c
- drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 1 addition, 7 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_rep.c
- drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c 1 addition, 9 deletionsdrivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
Loading
Please register or sign in to comment