]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: ethernet: mtk_eth_soc: implement .{get,set}_pauseparam ethtool ops
authorDaniel Golle <daniel@makrotopia.org>
Thu, 4 Jul 2024 10:14:55 +0000 (11:14 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Jul 2024 00:41:16 +0000 (17:41 -0700)
commit064fbc4e9b5a6dbda7fe7b67dc7e9e95d31f8d75
treea9d035cd49c79c37aa0f79ec06d08d430eb5055f
parentca18300e00d584d5693127eb60c108b84883b8ac
net: ethernet: mtk_eth_soc: implement .{get,set}_pauseparam ethtool ops

Implement operations to get and set flow-control link parameters.
Both is done by simply calling phylink_ethtool_{get,set}_pauseparam().
Fix whitespace in mtk_ethtool_ops while at it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tested-by: Rui Salvaterra <rsalvaterra@gmail.com>
Link: https://patch.msgid.link/e3ece47323444631d6cb479f32af0dfd6d145be0.1720088047.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c