diff options
author | Roi Dayan <roid@nvidia.com> | 2020-10-21 10:28:50 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-03-16 16:48:40 -0700 |
commit | 5a65d85dc7f4532755750aab645c46a47219fd1a (patch) | |
tree | a6e96b6c0d3c3368a1b6866e58e6b72854c4533b /drivers/net/ethernet/mellanox/mlx5/core/ipoib | |
parent | 865d6d1c2df8e60260499efba2cd0537fdb8ca72 (diff) | |
download | linux-stable-5a65d85dc7f4532755750aab645c46a47219fd1a.tar.gz linux-stable-5a65d85dc7f4532755750aab645c46a47219fd1a.tar.bz2 linux-stable-5a65d85dc7f4532755750aab645c46a47219fd1a.zip |
net/mlx5e: Register nic devlink port with switch id
We will re-use the native NIC port net device instance for the Uplink
representor. Since the netdev will be kept registered while we engage
switchdev mode also the devlink will be kept registered.
Register the nic devlink port with switch id so it will be available
when changing profiles.
Signed-off-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/ipoib')
0 files changed, 0 insertions, 0 deletions