]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Mar 2022 11:12:08 +0000 (11:12 +0000)
commit9cfb8e8c8467de07f28e82fb87037ee406b1ce0c
treefbbf0f36b2bc8ab8cd7b3c6096e662665566d7c7
parent1f349a5f82969fef093ffc4f0aa6fe099e2454b7
net: axienet: add coalesce timer ethtool configuration

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>
drivers/net/ethernet/xilinx/xilinx_axienet.h
drivers/net/ethernet/xilinx/xilinx_axienet_main.c