* softirq context question
@ 2003-12-08 10:48 Joakim Tjernlund
0 siblings, 0 replies; only message in thread
From: Joakim Tjernlund @ 2003-12-08 10:48 UTC (permalink / raw)
To: Linuxppc-Embedded@Lists. Linuxppc. Org (E-mail)
I have impl. NAPI for 8xx/enet.c. I choose to handle
TX IRQs in the poll() function as well. NAPI runs the packet
processing in softirq context.
All is working well, but I am a bit unsure about the locking rules
w.r.t softirq and scc_enet_start_xmit().
What is the difference between softirq context and hard irq context?
Can softirqs suspend scc_enet_start_xmit() or vice versa?
I have been running lots of flood ping tests without any locking at all
in scc_enet_start_xmit() and it works very well. This is no
comprehensive test and I have probably overlooked something.
Regards
Joakim
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-12-08 10:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-08 10:48 softirq context question Joakim Tjernlund
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).