diff options
author | Aya Levin <ayal@nvidia.com> | 2020-11-24 22:16:23 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-01-07 12:22:48 -0800 |
commit | 9c9be85f6b59d80efe4705109c0396df18d4e11d (patch) | |
tree | 5f066c5a33a8944c30688f8be2543b999a47b72e /drivers/net/ethernet/mellanox/mlx5/core/rdma.c | |
parent | abf8ef953a43e74aac3c54a94975f21bd483199b (diff) |
net/mlx5e: Add missing capability check for uplink follow
Expose firmware indication that it supports setting eswitch uplink state
to follow (follow the physical link). Condition setting the eswitch
uplink admin-state with this capability bit. Older FW may not support
the uplink state setting.
Fixes: 7d0314b11cdd ("net/mlx5e: Modify uplink state on interface up/down")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/rdma.c')
0 files changed, 0 insertions, 0 deletions