net/mlx5e: Consider aggregated port speed during rate configuration
[ Upstream commit 8d88e198 ] When LAG is configured, functions (PF,VF,SF) can utilize the maximum aggregated link speed for transmission. Currently the aggregated link speed is not considered. Hence, improve it to use the aggregated link speed by referring to the physical port's upper bonding device when LAG is configured. Signed-off-by:Jianbo Liu <jianbol@nvidia.com> Reviewed-by:
Parav Pandit <parav@nvidia.com> Reviewed-by:
Dragos Tatulea <dtatulea@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com> Stable-dep-of: 6b4be64f ("net/mlx5e: Harden uplink netdev access against device unbind") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading