diff options
author | Yu Xiao <yu.xiao@corigine.com> | 2023-02-07 11:16:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-02-08 09:08:12 +0000 |
commit | 821de68c1f9c0236b0b9c10834cda900ae9b443c (patch) | |
tree | 8ea29a031b614fa2ac2d204a0d08aa4e26ccfc13 /drivers/phy | |
parent | c11204c78d6966c5bda6dd05c3ac5cbb193f93e3 (diff) |
nfp: ethtool: fix the bug of setting unsupported port speed
Unsupported port speed can be set and cause error. Now fixing it
and return an error if setting unsupported speed.
This fix depends on the following, which was included in v6.2-rc1:
commit a61474c41e8c ("nfp: ethtool: support reporting link modes").
Fixes: 7c698737270f ("nfp: add support for .set_link_ksettings()")
Signed-off-by: Yu Xiao <yu.xiao@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions