]> git.baikalelectronics.ru Git - kernel.git/commit
net: axienet: reduce default RX interrupt threshold to 1
authorRobert Hancock <robert.hancock@calian.com>
Sat, 5 Mar 2022 02:24:42 +0000 (20:24 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Mar 2022 11:12:08 +0000 (11:12 +0000)
commit1f349a5f82969fef093ffc4f0aa6fe099e2454b7
tree7183ff1b17b6bdf6739888f63677728755b87290
parent102f50a63ec2225e5ed2241a9005028508c75944
net: axienet: reduce default RX interrupt threshold to 1

Now that NAPI has been implemented, the hardware interrupt mitigation
mechanism is not needed to avoid excessive interrupt load in most cases.
Reduce the default RX interrupt threshold to 1 to reduce introduced
latency. This can be increased with ethtool if desired if some applications
still want to reduce interrupts.

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