[ECOS] Is it possible to do polling for the Ethernet driver using a stack ?
Gary Thomas
gthomas@ecoscentric.com
Thu Oct 31 07:47:00 GMT 2002
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
More information about the Ecos-discuss
mailing list