]> 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)
commit7e1483cde87fd4d94aba83c9ee57e161e3c738b2
treefbbf0f36b2bc8ab8cd7b3c6096e662665566d7c7
parenta11cadd88a45761face3a100a67831cbd78a0e82
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