From: Michal Ostrowski <mostrows@watson.ibm.com>
To: Jamal Hadi <hadi@shell.cyberus.ca>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
"David S. Miller" <davem@redhat.com>,
Paul MacKerras <paulus@samba.org>,
netdev@oss.sgi.com, fcusack@samba.org,
"David F. Skoll" <dfs@roaringpenguin.com>,
James Carlson <carlson@workingcode.com>
Subject: Re: [PATCH, untested] Support for PPPOE on SMP
Date: 25 Jun 2003 13:27:59 -0400 [thread overview]
Message-ID: <1056562079.1944.1961.camel@brick.watson.ibm.com> (raw)
In-Reply-To: <20030625114243.F84526@shell.cyberus.ca>
Paul: you made an assertion to me in an eariler e-mail that you were
concerned about packet ordering for the sake of vj and compression.
IIRC the PPPoE spec prohibits compression, probably for this very
reason. Is there any other reason we'd be worried about re-ordering in
the PPP data stream?
On Wed, 2003-06-25 at 11:45, Jamal Hadi wrote:
>
> Have you tested the case where the ethernet card is tied to only
> CPU in SMP? That guarantees ordering.
Agreed, this does guarantee ordering. But there are cases where I don't
have this guarantee and those are the issues Rusty's patch attempts to
solve.
> Ordering per protocol should really be that protocols problem to
> solve. If you cant solve it you have a bug.
>
The session initiation race I described earlier is brought about
independently by several problems:
1. PPPoE negotiation is done in user space and thus there is a window
between completion of this negotiation and the creation of the PPPoE
socket during which a payload packet may arrive and be dropped (SMP
and UP).
2. Re-ordering by softIRQ handling on SMP may cause same problem.
There's also the question as to whether or not there are other protocols
(perhaps not implemented in the kernel, but relying on AF_PACKET) may be
affected by this (#2).
We can fix #1 without any patches to core networking code. If the SMP
softIRQ re-ordering issues is handled, then we may have some better
options for fixing #1. But note that even if #1 is fixed and #2 isn't,
then we're not any better off.
--
Michal Ostrowski <mostrows@watson.ibm.com>
next prev parent reply other threads:[~2003-06-25 17:27 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-25 7:24 [PATCH, untested] Support for PPPOE on SMP Rusty Russell
2003-06-25 11:19 ` Jamal Hadi
2003-06-25 13:21 ` Michal Ostrowski
2003-06-25 13:42 ` Michal Ostrowski
2003-06-25 15:45 ` Jamal Hadi
2003-06-25 17:27 ` Michal Ostrowski [this message]
2003-06-25 22:17 ` Paul Mackerras
2003-06-25 22:56 ` Michal Ostrowski
2003-06-25 16:15 ` Stephen Hemminger
2003-06-25 16:22 ` Jamal Hadi
2003-06-25 16:39 ` Stephen Hemminger
2003-06-25 17:07 ` Jamal Hadi
2003-06-25 17:40 ` Stephen Hemminger
2003-06-25 18:00 ` Michal Ostrowski
2003-06-25 22:22 ` Paul Mackerras
2003-06-25 22:53 ` Ben Greear
2003-06-25 21:33 ` David S. Miller
2003-06-25 22:06 ` Michal Ostrowski
2003-06-26 1:04 ` David S. Miller
2003-06-26 3:57 ` Rusty Russell
2003-06-26 3:59 ` David S. Miller
2003-06-26 8:17 ` Rusty Russell
2003-06-26 8:55 ` David S. Miller
2003-06-26 10:47 ` James Carlson
2003-06-26 10:51 ` James Carlson
2003-06-26 23:18 ` Jamal Hadi
2003-06-27 11:39 ` James Carlson
2003-06-27 12:12 ` Paul Mackerras
2003-06-27 13:19 ` James Carlson
2003-06-27 14:59 ` Stephen Hemminger
2003-06-27 15:27 ` James Carlson
2003-06-28 2:21 ` Jamal Hadi
2003-06-28 22:51 ` Frank Cusack
2003-06-26 11:37 ` Michal Ostrowski
2003-06-25 16:01 ` Jason Lunz
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=1056562079.1944.1961.camel@brick.watson.ibm.com \
--to=mostrows@watson.ibm.com \
--cc=carlson@workingcode.com \
--cc=davem@redhat.com \
--cc=dfs@roaringpenguin.com \
--cc=fcusack@samba.org \
--cc=hadi@shell.cyberus.ca \
--cc=netdev@oss.sgi.com \
--cc=paulus@samba.org \
--cc=rusty@rustcorp.com.au \
/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;
as well as URLs for NNTP newsgroup(s).