diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2025-07-18 09:51:56 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-21 17:42:12 -0700 |
commit | c521b8c9f212f8304e9d5f92828ac662c621f32c (patch) | |
tree | c00bb36608526d9b7494d7ff2de72546b4f0a923 /net/lapb/lapb_timer.c | |
parent | 0b3b3ba113f061c406fdfbb7dd634db2c41ff149 (diff) |
net: usb: smsc95xx: add support for ethtool pause parameters
Implement ethtool .get_pauseparam and .set_pauseparam handlers for
configuring flow control on smsc95xx. The driver now supports enabling
or disabling transmit and receive pause frames, with or without
autonegotiation. Pause settings are applied during link-up based on
current PHY state and user configuration.
Previously, the driver used phy_get_pause() during link-up handling,
but lacked initialization and an ethtool interface to configure pause
modes. As a result, flow control support was effectively non-functional.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250718075157.297923-1-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions