diff options
| author | Maxime Chevallier (Netdev Foundation) <maxime.chevallier@bootlin.com> | 2026-10-15 15:43:48 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-20 20:22:21 -0700 |
| commit | aca2542b886dc64c4f7c7fe67647ca971d3f0794 (patch) | |
| tree | 2477ea25b42cc509ffb8aec8218147d11bf0e4a5 /tools/lib/python | |
| parent | 8f897f26ef34d45570d2219fdd881184100668d2 (diff) | |
selftests: drv-net: pause: Validate pause autoneg interactions with link autoneg
Pause autonegotiation happens with the link partner using the same words
as the link negotiation, used for speed and duplex exchanges. However,
pause and link autonegotiation can be separately toggled :
ethtool -s eth0 autoneg on # Enable link negotiation
ethtool -A eth0 autoneg on # Enable Pause negotiation
Pause can't be negotiated if the link autoneg isn't enabled.
Pause autoneg and link autoneg settings must not interfere with one
another when user is configuring them :
- If Pause autoneg is on, it must stay on when link autoneg is disabled
(even though Pause won't actually be negotiated)
- If Pause autoneg is off, it must stay off when link autoneg is
enabled
Introduce a set of tests to verify that pause and link autoneg are
behaving correctly, in particular that the user intent is correctly
cached when toggling link autoneg.
Signed-off-by: Maxime Chevallier (Netdev Foundation) <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20261015134350.629593-4-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
