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)
commit0b79b8dc97b9df4f873f63161e3050bafc4c4237
treefbbf0f36b2bc8ab8cd7b3c6096e662665566d7c7
parent40da5d680e02ca8d61237192db4b5833d3c9639f
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