summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/mlx4_en.h
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2011-03-22 22:37:36 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-23 12:24:16 -0700
commit46afd0fb01d62ee217f142ab9c26054304ab7454 (patch)
treecce928161b2b291410f07a227dd944eac24f8b4a /drivers/net/mlx4/mlx4_en.h
parent39f17b44aaaa6bc47ded0bbb17fc617ec6cf08bb (diff)
downloadblackbird-op-linux-46afd0fb01d62ee217f142ab9c26054304ab7454.tar.gz
blackbird-op-linux-46afd0fb01d62ee217f142ab9c26054304ab7454.zip
mlx4_en: optimize adaptive moderation algorithm for better latency
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/mlx4_en.h')
-rw-r--r--drivers/net/mlx4/mlx4_en.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h
index dfed6a07c2d7..5387c4e9f295 100644
--- a/drivers/net/mlx4/mlx4_en.h
+++ b/drivers/net/mlx4/mlx4_en.h
@@ -124,6 +124,7 @@ enum {
#define MLX4_EN_RX_SIZE_THRESH 1024
#define MLX4_EN_RX_RATE_THRESH (1000000 / MLX4_EN_RX_COAL_TIME_HIGH)
#define MLX4_EN_SAMPLE_INTERVAL 0
+#define MLX4_EN_AVG_PKT_SMALL 256
#define MLX4_EN_AUTO_CONF 0xffff
OpenPOWER on IntegriCloud