net/mlx5e: Set netdev name space on creation
authorMichael Guralnik <michaelgur@mellanox.com>
Tue, 29 Oct 2019 15:04:30 +0000 (17:04 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 13 Nov 2019 22:25:04 +0000 (14:25 -0800)
commit71c6eaebf06aa8353b0dcd57786b801b96fe2c08
tree18a9765b0b7844cd26af4451eb8702cf7585afbc
parent85bf490af1e2e4b6263898f0d47af13ee1bb4d28
net/mlx5e: Set netdev name space on creation

Use devlink instance name space to set the netdev net namespace.

Preparation patch for devlink reload implementation.

Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h