This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Is it possible to do polling for the Ethernet driverusing a stack ?
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: "Cusson, Pascal" <pascal dot cusson at analog dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 31 Oct 2002 08:47:49 -0700
- Subject: RE: [ECOS] Is it possible to do polling for the Ethernet driverusing a stack ?
- References: <8FDC0F9BE1F91D44BE964AA54AAA67B6D38FBF@wilmexm3.ad.analog.com>
On Thu, 2002-10-31 at 08:32, Cusson, Pascal wrote:
> Yes there is,
> I need maximize performance on a system will support multiple ATM and
> ETH. My system need to be synchronous meaning one after another in
> specific order. By using polling I can easily control all aspects.
> Further more, polling will take less time than using interrupts which
> should help for performances. The 8260 I am using is not the fastest
> therefore I need everything I can get out of it.
>
> What I would like do is poll the FCCE to see if there is a buffer
> ready and then signal the stack so that the buffer descriptor can be
> processed and freed.
>
> The part I am missing here is how to I tell the stack to process my
> buffer descriptor ?
>
One you have a packet (or activity), what sort of things are you then
expecting the "stack" to do for you?
> Pascal
>
> -----Original Message-----
> From: Gary Thomas [mailto:gthomas@ecoscentric.com]
> Sent: Thursday, October 31, 2002 10:25 AM
> To: Cusson, Pascal
> Cc: eCos Discussion
> Subject: Re: [ECOS] Is it possible to do polling for the Ethernet driver
> using a stack ?
>
>
> On Thu, 2002-10-31 at 08:04, Cusson, Pascal wrote:
> > Hello Everyone,
> > Has anyone ever made a Ethernet driver using polling ? If so how
> did you link the driver to the stack ? What function calls did you make
> ?
>
> The stacks that are used with eCos (not RedBoot, it has it's
> own stack) really should be interrupt driven. Is there some
> reason that you want to poll?
>
> --
> ------------------------------------------------------------
> Gary Thomas |
> eCosCentric, Ltd. |
> +1 (970) 229-1963 | eCos & RedBoot experts
> gthomas@ecoscentric.com |
> http://www.ecoscentric.com/ |
> ------------------------------------------------------------
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss