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 <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>
1 parent 97776ca commit 1cc0a47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)