summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom
diff options
context:
space:
mode:
authorAndy Gospodarek <gospo@broadcom.com>2018-04-26 17:44:38 -0400
committerDavid S. Miller <davem@davemloft.net>2018-04-27 14:47:30 -0400
commit05abe4ddf0010e15419f5a6758b5bf44b7790982 (patch)
treed36cd6dfef491a066ba708961cba9867aeefff73 /drivers/net/ethernet/broadcom
parent4cebbaca12514986039b2ac7d30e36ecd2222f64 (diff)
downloadlinux-stable-05abe4ddf0010e15419f5a6758b5bf44b7790982.tar.gz
linux-stable-05abe4ddf0010e15419f5a6758b5bf44b7790982.tar.bz2
linux-stable-05abe4ddf0010e15419f5a6758b5bf44b7790982.zip
bnxt_en: Increase RING_IDLE minimum threshold to 50
This keeps the RING_IDLE flag set in hardware for higher coalesce settings by default and improved latency. Signed-off-by: Andy Gospodarek <gospo@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r--drivers/net/ethernet/broadcom/bnxt/bnxt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c
index b83c2ac17620..a221a10c4c29 100644
--- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c
+++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c
@@ -7702,7 +7702,7 @@ static void bnxt_init_dflt_coal(struct bnxt *bp)
coal->coal_bufs = 30;
coal->coal_ticks_irq = 1;
coal->coal_bufs_irq = 2;
- coal->idle_thresh = 25;
+ coal->idle_thresh = 50;
coal->bufs_per_record = 2;
coal->budget = 64; /* NAPI budget */