diff options
author | 2023-02-10 18:46:27 +0300 | |
---|---|---|
committer | 2023-02-15 10:35:27 +0000 | |
commit | 894341ad3ad7dfbced8556efe92a9ebfd5924bd6 (patch) | |
tree | 600d2146cfe3caf0b235264c2e692e2ab272a09c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: no longer support SOCK_REFCNT_DEBUG feature (diff) | |
download | wireguard-linux-894341ad3ad7dfbced8556efe92a9ebfd5924bd6.tar.xz wireguard-linux-894341ad3ad7dfbced8556efe92a9ebfd5924bd6.zip |
net: phylink: support validated pause and autoneg in fixed-link
In fixed-link setup phylink_parse_fixedlink() unconditionally sets
Pause, Asym_Pause and Autoneg bits to "supported" bitmap, while MAC may
not support these.
This leads to ethtool reporting:
> Supported pause frame use: Symmetric Receive-only
> Supports auto-negotiation: Yes
regardless of what is actually supported.
Instead of unconditionally set Pause, Asym_Pause and Autoneg it is
sensible to set them according to validated "supported" bitmap, i.e. the
result of phylink_validate().
Signed-off-by: Ivan Bornyakov <i.bornyakov@metrotek.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions