]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: ena: Change initial rx_usec interval
authorDavid Arinzon <darinzon@amazon.com>
Sun, 12 May 2024 13:46:37 +0000 (13:46 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 13 May 2024 21:42:04 +0000 (14:42 -0700)
For the purpose of obtaining better CPU utilization,
minimum rx moderation interval is set to 20 usec.

Signed-off-by: Osama Abboud <osamaabb@amazon.com>
Signed-off-by: David Arinzon <darinzon@amazon.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240512134637.25299-6-darinzon@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amazon/ena/ena_com.h

index fdae0cc9ce9b8436dcc1242aee0163bf545430f7..924f03f5a6c7d748533045f34832a16faac04412 100644 (file)
@@ -47,7 +47,7 @@
 /* ENA adaptive interrupt moderation settings */
 
 #define ENA_INTR_INITIAL_TX_INTERVAL_USECS 64
-#define ENA_INTR_INITIAL_RX_INTERVAL_USECS 0
+#define ENA_INTR_INITIAL_RX_INTERVAL_USECS 20
 #define ENA_DEFAULT_INTR_DELAY_RESOLUTION 1
 
 #define ENA_HASH_KEY_SIZE 40