From: Dan Malek <dan@mvista.com>
To: Scott Rogerson <sar@pt.com>
Cc: hea23587@bigwig.net, linuxppc-embedded@lists.linuxppc.org,
jtm@smoothsmoothie.com
Subject: Re: Ethernet Bridging on 8260
Date: Thu, 12 Apr 2001 13:31:25 -0400 [thread overview]
Message-ID: <3AD5E66D.5CA8199C@mvista.com> (raw)
In-Reply-To: 3AD5B240.49C8A846@pt.com
Scott Rogerson wrote:
>
> I encountered the same problem with the FCC driver for the 8260. For
> the most part I agree with your analysis of the problem. I think
> however that you may have an unintended consequence with your solution.
I think "problem" and "solution" are a little out of context here.
I certainly don't have any emotional attachment to this code and
actually hope for improvements, but I also have experience with
developing software for bridges and routers. Based on that
experience I would have used a completely different design than
Linux provides if you are trying to build such equipment (or better,
use Linux on something like MMC network processors).
As stated in a previous message, Linux does have the ability to
relieve some of the memory pressure when the CPU core can't keep
up with the incoming packet rate. If the CPU can't keep up,
what else is there to do? The current driver will process Ethernet
frames as fast as they come in. I would like to make a few changes
to handle smaller BD fragments, which would be a little more memory
efficient, but wouldn't do anything to solve the situation where
the CPU core is too slow to handle the IP processing. Making changes
in the Ethernet driver for resource scheduling the IP stack just
doesn't seem like the right thing to do.
Adding a tasklet for the actual processing of incoming frames,
so it can be scheduled against (or assist with) user tasks would
be OK. Just remember that what this does is cause the FCC to
discard incoming frames as the resource management. This may not
be acceptable because it will increase the IP processing load
by requesting retransmissions, and this really hurts for large
UDP buffer sizes (because any missing fragment causes the entire
UDP to be resent).
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2001-04-12 17:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-12 13:48 Ethernet Bridging on 8260 Scott Rogerson
2001-04-12 17:31 ` Dan Malek [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-04-11 23:36 Jim Chapman
2001-04-10 16:41 jtm
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=3AD5E66D.5CA8199C@mvista.com \
--to=dan@mvista.com \
--cc=hea23587@bigwig.net \
--cc=jtm@smoothsmoothie.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=sar@pt.com \
/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).