Skip to content

Commit 1cc0a47

Browse files
davidarinzonkuba-moo
authored andcommitted
net: ena: Change initial rx_usec interval
For the purpose of obtaining better CPU utilization, minimum rx moderation interval is set to 20 usec. Signed-off-by: Osama Abboud <[email protected]> Signed-off-by: David Arinzon <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 97776ca commit 1cc0a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/amazon/ena/ena_com.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
/* ENA adaptive interrupt moderation settings */
4848

4949
#define ENA_INTR_INITIAL_TX_INTERVAL_USECS 64
50-
#define ENA_INTR_INITIAL_RX_INTERVAL_USECS 0
50+
#define ENA_INTR_INITIAL_RX_INTERVAL_USECS 20
5151
#define ENA_DEFAULT_INTR_DELAY_RESOLUTION 1
5252

5353
#define ENA_HASH_KEY_SIZE 40

0 commit comments

Comments
 (0)