diff options
| author | Amit Cohen <[email protected]> | 2019-05-29 07:59:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-30 19:30:47 +0000 |
| commit | 275e928f19117d22f6d26dee94548baf4041b773 (patch) | |
| tree | 0af4ead8c30b69f988ce9dc8dae9bf77a05f1c32 /tools/perf/scripts/python | |
| parent | mlxsw: spectrum_acl: Avoid warning after identical rules insertion (diff) | |
| download | kernel-275e928f19117d22f6d26dee94548baf4041b773.tar.gz kernel-275e928f19117d22f6d26dee94548baf4041b773.zip | |
mlxsw: spectrum: Prevent force of 56G
Force of 56G is not supported by hardware in Ethernet devices. This
configuration fails with a bad parameter error from firmware.
Add check of this case. Instead of trying to set 56G with autoneg off,
return a meaningful error.
Fixes: 56ade8fe3fe1 ("mlxsw: spectrum: Add initial support for Spectrum ASIC")
Signed-off-by: Amit Cohen <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
