[Patch net-next 04/11] net:fec: add multiqueue support
lznuaa at gmail.com
Wed Sep 3 20:41:37 PDT 2014
On Wed, Sep 3, 2014 at 4:27 PM, Florian Fainelli <f.fainelli at gmail.com> wrote:
> On 09/03/2014 01:38 PM, Frank Li wrote:
>> From: Fugang Duan <B38611 at freescale.com>
>> Add multiqueue support, which is compatible with previous single queue
>> driver for FEC/ENET IPs.
>> By default, the tx/rx queue number is 1, user can config the queue number
>> at DTS file like this:
>> Ethernet multiqueue mechanism can improve performance in SMP system.
>> For single hw queue, multiqueue can balance cpu loading.
>> For multi hw queues, multiple cores can process network packets in parallel,
>> and refer the article for the detail advantage for multiqueue:
> You should probably split that patch in a minimum of two, or more
> different parts.
> Two parts:
> - add TX multiqueue support
> - add RX multiqueue support
I understood your concern.
We also need consider logical integration.
Separate this patch just reduce changed lines in a patch.
Most of this patch change is from fep-> to txq-> or rxq->
> More parts:
> - prepare for TX multiqueue (introduce queue structure, definitions)
> - transition TX path to use queue 0
> - add support for the two other TX queues
> - prepare for RX multiqueue (introduce queue structure, definitions)
> - prepare for multiqueue, hardcode RX path to use queue 0
> - add support for the two other RX queues
> The number of changes are extremely hard to review...
More information about the linux-arm-kernel