From: Andy Gospodarek Date: Thu, 26 Apr 2018 21:44:38 +0000 (-0400) Subject: bnxt_en: Increase RING_IDLE minimum threshold to 50 X-Git-Tag: v4.18-rc1~114^2~360^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=05abe4ddf0010e15419f5a6758b5bf44b7790982;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index b83c2ac176204..a221a10c4c295 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 */