From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Armstrong Subject: Re: [PATCH net-next v3 1/2] net: stmmac: Rework coalesce timer and fix multi-queue races Date: Thu, 13 Sep 2018 13:24:48 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Florian Fainelli , Jerome Brunet , Martin Blumenstingl , "David S. Miller" , Joao Pinto , Giuseppe Cavallaro , Alexandre Torgue To: Jose Abreu , netdev@vger.kernel.org Return-path: Received: from mail-wr1-f66.google.com ([209.85.221.66]:47036 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726828AbeIMQdy (ORCPT ); Thu, 13 Sep 2018 12:33:54 -0400 Received: by mail-wr1-f66.google.com with SMTP id a108-v6so5200921wrc.13 for ; Thu, 13 Sep 2018 04:24:51 -0700 (PDT) In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: Hi Jose, On 13/09/2018 10:02, Jose Abreu wrote: > This follows David Miller advice and tries to fix coalesce timer in > multi-queue scenarios. > > We are now using per-queue coalesce values and per-queue TX timer. > > Coalesce timer default values was changed to 1ms and the coalesce frames > to 25. > > Tested in B2B setup between XGMAC2 and GMAC5. I will run a test today, Thanks, Neil > > Signed-off-by: Jose Abreu > Cc: Florian Fainelli > Cc: Neil Armstrong > Cc: Jerome Brunet > Cc: Martin Blumenstingl > Cc: David S. Miller > Cc: Joao Pinto > Cc: Giuseppe Cavallaro > Cc: Alexandre Torgue > --- > drivers/net/ethernet/stmicro/stmmac/common.h | 4 +- > drivers/net/ethernet/stmicro/stmmac/stmmac.h | 14 +- > drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 233 ++++++++++++---------- > include/linux/stmmac.h | 1 + > 4 files changed, 146 insertions(+), 106 deletions(-) [...]