From 04e28d5a816573d1300b4591306a8785d3ace29c Mon Sep 17 00:00:00 2001 From: jlemon Date: Tue, 4 Mar 2003 23:19:55 +0000 Subject: Update netisr handling; Each SWI now registers its queue, and all queue drain routines are done by swi_net, which allows for better queue control at some future point. Packets may also be directly dispatched to a netisr instead of queued, this may be of interest at some installations, but currently defaults to off. Reviewed by: hsu, silby, jayanth, sam Sponsored by: DARPA, NAI Labs --- sys/net/if_sl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/net/if_sl.c') diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index 8a91b0b..1d3fa0b 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -968,12 +968,9 @@ slinput(c, tp) m_freem(m); goto newpack; } - - if (! IF_HANDOFF(&ipintrq, m, NULL)) { + if (! netisr_queue(NETISR_IP, m)) { sc->sc_if.if_ierrors++; sc->sc_if.if_iqdrops++; - } else { - schednetisr(NETISR_IP); } goto newpack; } -- cgit v1.1