net: ena: improve latency by disabling adaptive interrupt moderation by default
authorSameeh Jubran <sameehj@amazon.com>
Wed, 1 May 2019 13:47:08 +0000 (16:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 May 2019 04:14:47 +0000 (00:14 -0400)
commit78cb421d185cfb4fcea94e7c3ff6e6ea77bb8c11
tree94baca10d54d0a474f22fe245ca645603559ce95
parent9a27de0c6ba10fe1af74d16d3524425e52c1ba3e
net: ena: improve latency by disabling adaptive interrupt moderation by default

Adaptive interrupt moderation was erroneously enabled by default
in the driver.

In case the device supports adaptive interrupt moderation it will
be automatically used, which may potentially increase latency.

The adaptive moderation can be enabled from ethtool command in
case the feature is supported by the device.

Fixes: 1738cd3ed342 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Guy Tzalik <gtzalik@amazon.com>
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_com.c