]> 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)
commita11cadd88a45761face3a100a67831cbd78a0e82
tree7183ff1b17b6bdf6739888f63677728755b87290
parent66197decc5236bb1c8dd969beb006b17dfec5b5c
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