net/mxl5e: Add change profile method
authorSaeed Mahameed <saeedm@nvidia.com>
Mon, 23 Mar 2020 06:17:14 +0000 (23:17 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 2 Feb 2021 06:52:32 +0000 (22:52 -0800)
commitc4d7eb57687f358cd498ea3624519236af8db97e
tree351bc72a91975280a13e9644fe9e5f115e76823e
parent3ef14e463f6ed0218710f56b97e1a7d0448784d2
net/mxl5e: Add change profile method

Port nic netdevice will be used as uplink representor in downstream
patches. Add change profile method to allow changing a mlx5e netdevice
profile dynamically.

Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.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