From: David Miller <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
Date: Fri, 27 Feb 2015 17:10:43 -0500 (EST) [thread overview]
Message-ID: <20150227.171043.1173553752636358034.davem@davemloft.net> (raw)
In-Reply-To: <54F0AB84.50700@gmail.com>
From: Florian Fainelli <f.fainelli@gmail.com>
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 <jaedon.shin@gmail.com>
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
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?
next prev parent reply other threads:[~2015-02-27 22:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 14:27 Jaedon Shin
2015-02-27 17:22 ` Eric Dumazet
2015-02-27 17:38 ` Florian Fainelli
2015-02-27 22:10 ` David Miller [this message]
2015-02-27 22:19 ` Florian Fainelli
2015-02-27 22:38 ` David Miller
2015-02-27 22:41 ` Florian Fainelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150227.171043.1173553752636358034.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=f.fainelli@gmail.com \
--cc=jaedon.shin@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pgynther@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®