Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755884AbbB0WTY (ORCPT ); Fri, 27 Feb 2015 17:19:24 -0500 Received: from mail-pd0-f170.google.com ([209.85.192.170]:37240 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753340AbbB0WTW (ORCPT ); Fri, 27 Feb 2015 17:19:22 -0500 Message-ID: <54F0ED56.8040201@gmail.com> Date: Fri, 27 Feb 2015 14:19:02 -0800 From: Florian Fainelli User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: David Miller CC: jaedon.shin@gmail.com, linux-kernel@vger.kernel.org, eric.dumazet@gmail.com, pgynther@google.com Subject: Re: [PATCH v2] net: bcmgenet: fix throughtput regression References: <1425047252-1166-1-git-send-email-jaedon.shin@gmail.com> <54F0AB84.50700@gmail.com> <20150227.171043.1173553752636358034.davem@davemloft.net> In-Reply-To: <20150227.171043.1173553752636358034.davem@davemloft.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1790 Lines: 45 On 27/02/15 14:10, David Miller wrote: > 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? If you can take Petri's change now and Jaedon then resubmits on top of that change, would that be acceptable? -- Florian -- 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/