commit | 9cdeaab3b7e72fe60f582e7658511f30c19f1e29 | [log] [tgz] |
---|---|---|
author | Shay Agroskin <shayag@mellanox.com> | Sun Oct 28 16:13:46 2018 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Mon Nov 19 15:33:31 2018 -0800 |
tree | ec0f60cb3dda34ec628007962fb959974a4646a8 | |
parent | 228c4cd04dfd0667eda182c91504b83c17d97584 [diff] |
net/mlx5e: Fix a bug in turning off FEC policy in unsupported speeds Some speeds don't support turning FEC policy off. In case a requested FEC policy is not supported for a speed (including current speed), its new FEC policy would be: no FEC - if disabling FEC is supported for that speed unchanged - else Fixes: 2095b2641477 ("net/mlx5e: Add port FEC get/set functions") Signed-off-by: Shay Agroskin <shayag@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>