]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
UBUNTU: SAUCE: net: ena: fix too long default tx interrupt moderation interval
authorArthur Kiyanovski <akiyano@amazon.com>
Mon, 4 Nov 2019 11:58:48 +0000 (13:58 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 4 Dec 2019 09:29:26 +0000 (10:29 +0100)
BugLink: https://bugs.launchpad.net/bugs/1853180
Current default non-adaptive tx interrupt moderation interval is 196 us.
This commit sets it to 0, which is much more sensible as a default value.
It can be modified using ethtool -C.

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Reference: https://lore.kernel.org/netdev/1572868728-5211-1-git-send-email-akiyano@amazon.com/
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Khaled Elmously <khalid.elmously@canonical.com>
Acked-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/amazon/ena/ena_com.h

index 7c941eba0bc9b30b373ab77d9f6b3bb4667a90ae..164c45c0486726cfdabbe8dd67db6c3db6e80dcf 100644 (file)
@@ -72,7 +72,7 @@
 /*****************************************************************************/
 /* ENA adaptive interrupt moderation settings */
 
-#define ENA_INTR_INITIAL_TX_INTERVAL_USECS             196
+#define ENA_INTR_INITIAL_TX_INTERVAL_USECS             0
 #define ENA_INTR_INITIAL_RX_INTERVAL_USECS             0
 #define ENA_DEFAULT_INTR_DELAY_RESOLUTION              1