Message ID | 20240512134637.25299-6-darinzon@amazon.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 1cc0a47daa7a2778ac8ab6e2699b605193602607 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | ENA driver changes May 2024 | expand |
On Sun, May 12, 2024 at 01:46:37PM +0000, darinzon@amazon.com wrote: > From: David Arinzon <darinzon@amazon.com> > > 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>
diff --git a/drivers/net/ethernet/amazon/ena/ena_com.h b/drivers/net/ethernet/amazon/ena/ena_com.h index fdae0cc9..924f03f5 100644 --- a/drivers/net/ethernet/amazon/ena/ena_com.h +++ b/drivers/net/ethernet/amazon/ena/ena_com.h @@ -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