]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:07 +0000 (15:11 +0200)
commit72e135bace8882f0c59e833568731ad0db9d564a
treedbfa07bcf755a66ef4d74c170b2c69d36da986ff
parent3b4b8afd9083c423ac58b38f689c9c2b4ea96979
net: axienet: reduce default RX interrupt threshold to 1

[ Upstream commit 40da5d680e02ca8d61237192db4b5833d3c9639f ]

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>
Stable-dep-of: 5a6caa2cfabb ("net: xilinx: axienet: Fix packet counting")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet.h