]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: axienet: add coalesce timer ethtool configuration
authorRobert Hancock <robert.hancock@calian.com>
Sat, 5 Mar 2022 02:24:43 +0000 (20:24 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:07 +0000 (15:11 +0200)
commit0493a5d80b4b4a31fdc863eca8b00e92718c22e7
treead431d7eea009321608a854129e0658c3a08e9f1
parent72e135bace8882f0c59e833568731ad0db9d564a
net: axienet: add coalesce timer ethtool configuration

[ Upstream commit 0b79b8dc97b9df4f873f63161e3050bafc4c4237 ]

Add the ability to configure the RX/TX coalesce timer with ethtool.
Change default setting to scale with the clock rate rather than being a
fixed number of clock cycles.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 5a6caa2cfabb ("net: xilinx: axienet: Fix packet counting")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet.h
drivers/net/ethernet/xilinx/xilinx_axienet_main.c