Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755588AbbB0WKr (ORCPT ); Fri, 27 Feb 2015 17:10:47 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:54627 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755396AbbB0WKq (ORCPT ); Fri, 27 Feb 2015 17:10:46 -0500 Date: Fri, 27 Feb 2015 17:10:43 -0500 (EST) Message-Id: <20150227.171043.1173553752636358034.davem@davemloft.net> To: f.fainelli@gmail.com Cc: jaedon.shin@gmail.com, linux-kernel@vger.kernel.org, eric.dumazet@gmail.com, pgynther@google.com, pgynther@google.com Subject: Re: [PATCH v2] net: bcmgenet: fix throughtput regression From: David Miller In-Reply-To: <54F0AB84.50700@gmail.com> References: <1425047252-1166-1-git-send-email-jaedon.shin@gmail.com> <54F0AB84.50700@gmail.com> X-Mailer: Mew version 6.5 on Emacs 24.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.7 (shards.monkeyblade.net [149.20.54.216]); Fri, 27 Feb 2015 14:10:46 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1588 Lines: 39 From: Florian Fainelli Date: Fri, 27 Feb 2015 09:38:12 -0800 > On 27/02/15 06:27, Jaedon Shin wrote: >> This patch adds bcmgenet_tx_poll for all active tx_rings. It can reduce >> the interrupt load and send xmit in upper network stack on time. >> >> The bcmgenet_tx_reclaim of tx_ring[{0,1,2,3}] process only under 18 >> descriptors is to late reclaiming transmitted skb. Therefore, >> performance degradation of xmit after 605ad7f ("tcp: refine TSO >> autosizing"). > > This looks very similar to my previous attempts at using NAPI for TX > completion, thanks for doing this. > > One thing you are not mentioning in your commit message is that ring16 > used to be reclaimed/cleaned as part of the shared RX/TX NAPI context > (bcmgenet_poll), while you are now dedicating one and using > bcmgenet_tx_poll() for reclaim. This is a big enough change in the > driver structure that deserves to be reflected in the commit message. > >> >> Signed-off-by: Jaedon Shin > > Signed-off-by: Florian Fainelli Besides needing an updated commit message, this overlaps with a cleanup patch in my queue from Petri Gynther that touches the same exact code. http://patchwork.ozlabs.org/patch/443604/ How would you guys like me to sort this all out? Drop Petri's change for now? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/