[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <466F142C.4040109@garzik.org>
Date: Tue, 12 Jun 2007 17:46:20 -0400
From: Jeff Garzik <jeff@...zik.org>
To: David Miller <davem@...emloft.net>
CC: greearb@...delatech.com, netdev@...r.kernel.org, kaber@...sh.net,
hadi@...erus.ca, peter.p.waskiewicz.jr@...el.com,
auke-jan.h.kok@...el.com
Subject: Re: [PATCH] NET: Multiqueue network device support.
David Miller wrote:
> From: Ben Greear <greearb@...delatech.com>
> Date: Tue, 12 Jun 2007 14:17:44 -0700
>
>> Jeff Garzik wrote:
>>> If hardware w/ multiple queues will the capability for different MAC
>>> addresses, different RX filters, etc. does it make sense to add that
>>> below the net_device level?
>>>
>>> We will have to add all the configuration machinery at the per-queue
>>> level that already exists at the per-netdev level.
>> Perhaps the mac-vlan patch would be a good fit. Currently it is all
>> software based, but if the hardware can filter on MAC, it can basically
>> do mac-vlan acceleration. The mac-vlan devices are just like 'real' ethernet
>> devices, so they can be used with whatever schemes work with regular devices.
>
> Interesting.
>
> But to answer Jeff's question, that's not really the model being
> used to implement multiple queues.
>
> The MAC is still very much centralized in most designs.
>
> So one way they'll do it is to support assigning N MAC addresses,
> and you configure the input filters of the chip to push packets
> for each MAC to the proper receive queue.
>
> So the MAC will accept any of those in the N MAC addresses as
> it's own, then you use the filtering facilities to steer
> frames to the correct RX queue.
Not quite... You'll have to deal with multiple Rx filters, not just the
current one-filter-for-all model present in today's NICs. Pools of
queues will have separate configured characteristics. The "steer"
portion you mention is a bottleneck that wants to be eliminated.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists