[Top] [All Lists]

Re: [PATCH, untested] Support for PPPOE on SMP

To: Michal Ostrowski <mostrows@xxxxxxxxxxxxxx>
Subject: Re: [PATCH, untested] Support for PPPOE on SMP
From: Jamal Hadi <hadi@xxxxxxxxxxxxxxxx>
Date: Wed, 25 Jun 2003 11:45:07 -0400 (EDT)
Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, Paul MacKerras <paulus@xxxxxxxxx>, netdev@xxxxxxxxxxx, fcusack@xxxxxxxxx, "David F. Skoll" <dfs@xxxxxxxxxxxxxxxxxx>, James Carlson <carlson@xxxxxxxxxxxxxxx>
In-reply-to: <>
References: <> <> <>
Sender: netdev-bounce@xxxxxxxxxxx

Have you tested the case where the ethernet card is tied to only
CPU in SMP? That guarantees ordering.
Ordering per protocol should really be that protocols problem to
solve. If you cant solve it you have a bug.


On Wed, 25 Jun 2003, Michal Ostrowski wrote:

> Perhaps instead of using a special queue that keeps packets ordered, we
> add a tag to each skb as it comes off the card and let higher level
> protocols use this to re-order things themselves?  (And add some option
> for AF_PACKET sockets to optionally enforce this ordering in presenting
> packets to apps, or not.)
> This may require modifying all drivers, but it does provide for an
> explicit mechanism that can be made mandatory for drivers, avoids
> special casing, avoids dumping work onto a single CPU and leaves it up
> to the higher-level code to figure out ordering, if it wants to.
> --
> Michal Ostrowski <mostrows@xxxxxxxxxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>