[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150227.171043.1173553752636358034.davem@davemloft.net>
Date: Fri, 27 Feb 2015 17:10:43 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: f.fainelli@...il.com
Cc: jaedon.shin@...il.com, linux-kernel@...r.kernel.org,
eric.dumazet@...il.com, pgynther@...gle.com, pgynther@...gle.com
Subject: Re: [PATCH v2] net: bcmgenet: fix throughtput regression
From: Florian Fainelli <f.fainelli@...il.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@...il.com>
>
> Signed-off-by: Florian Fainelli <f.fainelli@...il.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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists