Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2000 14:31:58 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Archie Cobbs <archie@whistle.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Patch review request (ng_ether(4))
Message-ID:  <394FE2CE.1CFBAE39@elischer.org>
References:  <200006201905.MAA26374@bubba.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Archie Cobbs wrote:
> 

> > You can't use NG_SEND_DATA_RET() in an ethernet driver (on input)
> > because you need to use NG_QUEUE_DATA()   (splimp, remember)
> > My thought is that you would supply a separate hook for
> > 'FILTER' operations which you would warn would have to
> > be run at splimp. The splnet and splimp graphs can only be joined
> > by queueing links (going up). I think this needs work, and there
> > is a possibility that we could put transfer characteristics
> > as a property on links so that the right thing happens.
> 
> OK, back from vacation :-)
> 
> Here's a new patch addressing the above problem:
> 
>   ftp://ftp.whistle.com/pub/archie/misc/NGETHER.patch.3

Not sure if using the stub code in output makes sense
if it's not used on the input side..
looks good though I'm not the person to convince....

> 
> > The FILTER hooks would either have to be attached
> > to nodes that use NG_QUEUE_DATA(), or which
> > had no connection to the splnet universe. Automatic registration
> > of spl levels on hooks might lead to some automatic  handling
> > of this but
> > a/ I think the programmer should know what is going on.
> > b/ this may all become moot with the removal of SPLs for
> >     interrupts.
> 
> I vote for option (b) :-)

yeah, hear no evil, see no.....

> 
> -Archie
> 
> ___________________________________________________________________________
> Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com

-- 
      __--_|\  Julian Elischer
     /       \ julian@elischer.org
    (   OZ    ) World tour 2000
     )_.---._/  presently in:  Budapest
            v


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?394FE2CE.1CFBAE39>