This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
RE: User vs. DSR vs. ISR vs. Ethernet CRC
- To: Grant Edwards <grante at visi dot com>
- Subject: RE: [ECOS] User vs. DSR vs. ISR vs. Ethernet CRC
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Fri, 23 Jun 2000 15:13:32 -0600 (MDT)
- Cc: ecos-discuss at sourceware dot cygnus dot com
On 23-Jun-00 Grant Edwards wrote:
> Is there a way for the Ethernet DSR to process one frame, and
> then return after scheduling itself to be called again after
> all other pending DSRs are run? If I can arrange it so that
> the Ethernet DSR only handles a single frame at a time, then
> the latency is tolerable.
>
Once inside the ethernet DSR (in your driver) you can repost it.
Use the interface:
cyg_interrupt_post_dsr( CYG_ADDRWORD intr_obj )
where 'intr_obj' is the interrupt handle you got when you created
the interrupt.