Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1977767ybc; Wed, 13 Nov 2019 07:14:00 -0800 (PST) X-Google-Smtp-Source: APXvYqwIaOfrZ03TEXODPHb2C9D1Ptp4Lym8pkEPqLEv4VLSfYJ5DCrbLOWcElNlFFV81QRgLjk3 X-Received: by 2002:a17:906:1604:: with SMTP id m4mr3307257ejd.124.1573658040608; Wed, 13 Nov 2019 07:14:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573658040; cv=none; d=google.com; s=arc-20160816; b=qkO/Sbi+iQ0RM8tnZYVMpLoxSdebjzjg0jWWD3w6e4LVkeS0pG7ci77WYNeI9RlGLO dKNd9eHxYC8aeVLd5blC3CFfuQrHeuySCyKDsCdFr/Whk5baN5/SDXPg3ohea9j1Dh8G F4ufiShKYXCELW4SBBJkCo2uP2kfZeonMnCzk00kM3iIMeXWpmpRSSVhb/YOe/5G5EYf E+MLQUuelOpVIIeL85gC0q+7ia4lt5Lf4hs7r92lXdcjEQ7RTe1PsEjlm5rqOl1jU6ua hK/p2mLuMgDqC/RdE3SM1+WplqxEYJ5Yu/dytJzyDbpf+jXwa5zmQ25NFZsoCvVcrQ/G mo3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=XXzCiFFWTnldfmn3iQ4izT+tevuoQOOJHgYeabtC+w8=; b=XM5RzPw1VzWXSqgLizC0TObePM5IgT8pJtLze0ITUwMEQ1M6TTGARJNiEaJNUBHAFh IQpRGycmx7iBQnmREVrZcC8KiNm5Yto0NK+AGhiFWFjsGUX28liUg1B+93et7Tl66SoH WOCNUO1WNrB7vV22JrsMvyjHNHPWL/n7iZ46+uHUib48ceDs/XF/1fGD6YwSSzjZ7fF2 8wKmNLnPSoHz1mEJAV8TezkpqiY4a4tirAlcie8MKBnE99ljZQT8P7ziWI8YCJcny2Rz Qeia9Jcl9zlHXEGuXJ0S3Vn127w/WUPSlGFvFzE60tLHvVhhF9yMjHEdFeb+Rzu/kPwA +jkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=gGfeRKLy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e10si1329710ejq.413.2019.11.13.07.13.36; Wed, 13 Nov 2019 07:14:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=gGfeRKLy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727993AbfKMPMW (ORCPT + 99 others); Wed, 13 Nov 2019 10:12:22 -0500 Received: from dc8-smtprelay2.synopsys.com ([198.182.47.102]:51218 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726957AbfKMPMV (ORCPT ); Wed, 13 Nov 2019 10:12:21 -0500 Received: from mailhost.synopsys.com (mdc-mailhost2.synopsys.com [10.225.0.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 23FA0C0E95; Wed, 13 Nov 2019 15:12:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1573657941; bh=BDukAyowAZk0E3mYeClr0pY7CNQPO/82dQMmXYYRMf4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=gGfeRKLy5OnSABPHpsoRpQ1oNQLxPjzk8yLPClR94JuQq7ZtODaNwFGxiGZrPST1Z bMDToDxnKjNzOlQXS+gAl0yW2nKZsibHY/mw7Bs+6JWXmNO4WT4nNnmucmBrR06ins AFufK4AZwNTmIrjsoA/ErdvDLVQrQi/RsNfMMCHiNLD/g1E5+KCyhzXHPzia2cTvpv u5Vs5zY/mB+9HOnrqiQ2HQXh41NpvtinEV1f5fEe/+O2PutWpUyLnDAOeTUJodw34o dGkwuIfVmrm1TTFdi3ERQ+3UKCSx0E5H9xZJhuBFXmsPSRLP9pmlS8UbmCycGaJZXe 93tdULeu7rNpw== Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by mailhost.synopsys.com (Postfix) with ESMTP id CE630A0094; Wed, 13 Nov 2019 15:12:19 +0000 (UTC) From: Jose Abreu To: netdev@vger.kernel.org Cc: Joao Pinto , Jose Abreu , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 6/7] net: stmmac: Tune-up default coalesce settings Date: Wed, 13 Nov 2019 16:12:07 +0100 Message-Id: <19636d3f37d1a202712e38c85f5a2d9bbbf8781c.1573657592.git.Jose.Abreu@synopsys.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tune-up the defalt coalesce settings for optimal values. This gives the best performance in most of the use-cases. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: netdev@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- drivers/net/ethernet/stmicro/stmmac/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h index 309ea12ea61f..b210e987a1db 100644 --- a/drivers/net/ethernet/stmicro/stmmac/common.h +++ b/drivers/net/ethernet/stmicro/stmmac/common.h @@ -253,8 +253,8 @@ struct stmmac_safety_stats { #define STMMAC_COAL_TX_TIMER 1000 #define STMMAC_MAX_COAL_TX_TICK 100000 #define STMMAC_TX_MAX_FRAMES 256 -#define STMMAC_TX_FRAMES 1 -#define STMMAC_RX_FRAMES 25 +#define STMMAC_TX_FRAMES 25 +#define STMMAC_RX_FRAMES 0 /* Packets types */ enum packets_types { -- 2.7.4