Date: Wed, 27 Mar 2002 10:36:21 -0800 (PST) From: Julian Elischer <julian@elischer.org> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: Archie Cobbs <archie@dellroad.org>, Luigi Rizzo <rizzo@icir.org>, freebsd-net@FreeBSD.ORG Subject: Re: ip_output and ENOBUFS Message-ID: <Pine.BSF.4.21.0203271034290.43629-100000@InterJet.elischer.org> In-Reply-To: <15522.2882.479989.695082@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Mar 2002, Andrew Gallatin wrote: > > Archie Cobbs writes: > > Luigi Rizzo writes: > > > > Is if_tx_rdy() something that can be used generally or does it only > > > > work with dummynet ? > > > > > > well, the function is dummynet-specific, but I would certainly like > > > a generic callback list to be implemented in ifnet which is > > > invoked on tx_empty events. > > > > Me too :-) > > > > > The problem as usual is that you have to touch every single device > > > driver... Fortunately we can leave the ifnet structure unmodified > > > because i just discovered there is an ifindex2ifnet array which is > > > managed and can be extended to point to additional ifnet state that > > > does not fit in the immutable one... > > > > Why is it important to avoid changing 'struct ifnet' ? > > To maintain binary compatability for commercial network drivers. > > Currently, network driver modules built on 4.1.1 work on all versions > of FreeBSD through 4.5-STABLE. > Not QUITE true.. they ar ebroken in some cases for 4.4 amd 4.5 due to a renumberring of SYSINIT orderings, but I fixed that and they should work in 4.6 again.. I know we hit it here with some cards we have.. I just made a small patch in teh local trees to allow us to use them. Some cards may not hit this problem. > > Drew > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > 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?Pine.BSF.4.21.0203271034290.43629-100000>