Date: Sat, 22 Feb 2003 09:46:28 -0500 From: Bosko Milekic <bmilekic@unixdaemons.com> To: Bosko Milekic <bmilekic@FreeBSD.org> Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/pci if_xl.c Message-ID: <20030222094628.A85041@unixdaemons.com> In-Reply-To: <200302221446.h1MEkVWF057648@repoman.freebsd.org>; from bmilekic@FreeBSD.org on Sat, Feb 22, 2003 at 06:46:31AM -0800 References: <200302221446.h1MEkVWF057648@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 22, 2003 at 06:46:31AM -0800, Bosko Milekic wrote: > bmilekic 2003/02/22 06:46:31 PST > > Modified files: > sys/pci if_xl.c > Log: > Make xl use m_getcl() to allocate an mbuf and a cluster in one shot, > as opposed to one after the other. This is faster in both -CURRENT > and -STABLE. Additionally, there is less code duplication for > error-checking. > > One thing to note is that this code seems to return(1) when no buffers > are available; perhaps ENOBUFS should be the correct return value? > > Partially submitted & tested by: Hiten Pandya <hiten@unixdaemons.com> > MFC after: 1 week > > Revision Changes Path > 1.130 +5 -19 src/sys/pci/if_xl.c By the way, do the "MFC after" auto-emails work? Because if not I fear I'm going to forget to MFC all of this stuff. -- Bosko Milekic * bmilekic@unixdaemons.com * bmilekic@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030222094628.A85041>