]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5e: Initialize all netdev common structures in one place
authorSaeed Mahameed <saeedm@mellanox.com>
Wed, 12 Sep 2018 22:02:05 +0000 (15:02 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 11 Oct 2018 00:58:14 +0000 (17:58 -0700)
commit519a0bf5b20c370fb05ee05ea6c00e1377c13229
treeb8116f3a9dd6e77c925489826e1d6cc93bac9545
parent303211b44ce3faa4456f78ed725d80e0212aa842
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: cd565b4b51e5 ("IB/IPoIB: Support acceleration options callbacks")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c