summaryrefslogtreecommitdiff
path: root/net/nsh
diff options
context:
space:
mode:
authorYu Xiao <yu.xiao@corigine.com>2023-02-07 13:16:50 +0300
committerDavid S. Miller <davem@davemloft.net>2023-02-08 12:08:12 +0300
commit821de68c1f9c0236b0b9c10834cda900ae9b443c (patch)
tree8ea29a031b614fa2ac2d204a0d08aa4e26ccfc13 /net/nsh
parentc11204c78d6966c5bda6dd05c3ac5cbb193f93e3 (diff)
downloadlinux-821de68c1f9c0236b0b9c10834cda900ae9b443c.tar.xz
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 'net/nsh')
0 files changed, 0 insertions, 0 deletions