mirror-linux/drivers/net/ethernet/microchip/sparx5
Daniel Machon 315f423be0 net: sparx5/lan969x: Add support for ethtool pause parameters
Implement get_pauseparam() and set_pauseparam() ethtool operations for
Sparx5 ports.  This allows users to query and configure IEEE 802.3x
pause frame settings via:

ethtool -a ethX
ethtool -A ethX rx on|off tx on|off autoneg on|off

The driver delegates pause parameter handling to phylink through
phylink_ethtool_get_pauseparam() and phylink_ethtool_set_pauseparam().

The underlying configuration of pause frame generation and reception is
already implemented in the driver; this patch only wires it up to the
standard ethtool interface, making the feature accessible to userspace.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/20250917-802-3x-pause-v1-1-3d1565a68a96@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-09-18 15:55:54 -07:00
..
lan969x net: lan969x: add FDMA implementation 2025-01-15 14:13:33 -08:00
Kconfig net: ethernet: microchip: sparx5: make it selectable for ARCH_LAN969X 2025-09-18 15:53:47 -07:00
Makefile net: lan969x: add FDMA implementation 2025-01-15 14:13:33 -08:00
sparx5_calendar.c net: lan969x: fix cyclic dependency reported by depmod 2024-12-09 13:30:16 +00:00
sparx5_dcb.c
sparx5_ethtool.c net: sparx5/lan969x: Add support for ethtool pause parameters 2025-09-18 15:55:54 -07:00
sparx5_fdma.c net: lan969x: add FDMA implementation 2025-01-15 14:13:33 -08:00
sparx5_mactable.c
sparx5_main.c net: remove phylink_pcs .neg_mode boolean 2025-02-14 17:09:50 -08:00
sparx5_main.h net: lan969x: add FDMA implementation 2025-01-15 14:13:33 -08:00
sparx5_main_regs.h net: lan969x: add RGMII registers 2024-12-23 10:57:55 -08:00
sparx5_mirror.c net: sparx5: fix default value of monitor ports 2024-12-09 13:30:16 +00:00
sparx5_netdev.c net: sparx5: use is_sparx5() macro throughout 2024-10-30 18:08:06 -07:00
sparx5_packet.c net: sparx5: Switch to use hrtimer_setup() 2025-02-18 10:35:45 +01:00
sparx5_pgid.c
sparx5_phylink.c net: phylink: pass neg_mode into .pcs_get_state() method 2025-01-15 13:23:30 -08:00
sparx5_police.c
sparx5_pool.c
sparx5_port.c net: lan969x: add RGMII implementation 2024-12-23 10:57:56 -08:00
sparx5_port.h net: sparx5: add function for RGMII port check 2024-12-23 10:57:54 -08:00
sparx5_psfp.c
sparx5_ptp.c net: lan969x: fix cyclic dependency reported by depmod 2024-12-09 13:30:16 +00:00
sparx5_qos.c net: sparx5: use is_sparx5() macro throughout 2024-10-30 18:08:06 -07:00
sparx5_qos.h
sparx5_regs.c net: lan969x: add register diffs to match data 2024-10-30 18:08:05 -07:00
sparx5_regs.h net: lan969x: add register diffs to match data 2024-10-30 18:08:05 -07:00
sparx5_sdlb.c net: sparx5: change frequency calculation for SDLB's 2024-10-30 18:08:05 -07:00
sparx5_switchdev.c
sparx5_tc.c
sparx5_tc.h
sparx5_tc_flower.c net: sparx5: add feature support 2024-10-30 18:08:06 -07:00
sparx5_tc_matchall.c
sparx5_vcap_ag_api.c
sparx5_vcap_ag_api.h net: sparx5: add new VCAP constants to match data 2024-11-05 13:31:08 +01:00
sparx5_vcap_debugfs.c
sparx5_vcap_debugfs.h
sparx5_vcap_impl.c net: sparx5: add new VCAP constants to match data 2024-11-05 13:31:08 +01:00
sparx5_vcap_impl.h net: sparx5: expose some sparx5 VCAP symbols 2024-11-05 13:31:08 +01:00
sparx5_vlan.c