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)
commit40da5d680e02ca8d61237192db4b5833d3c9639f
tree7183ff1b17b6bdf6739888f63677728755b87290
parentcc37610caaf8d13a6ecb8afd1fe2ebc2424ff622
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