Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 13:50:27 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Mike Silbersack <silby@silby.com>
Cc:        cvs-all@FreeBSD.org
Subject:   Checksum/copy (was: Re: cvs commit: src/sys/netinet ip_output.c)
Message-ID:  <Pine.BSF.4.21.0303260956250.27748-100000@root.org>
In-Reply-To: <20030325231814.L1448@odysseus.silby.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Mar 2003, Mike Silbersack wrote:
> On Tue, 25 Mar 2003, Doug Ambrisko wrote:
> > Maybe an extent count could be used that said how long the chain is.
> >
> > As Sam mentioned having little things scattered around is not good thing.
> > Memory and CPU can be a lot faster then the I/O bus.
> >
> > Doug A.
> 
> I think we could inexpensively walk the mbuf chain at the end of ip_output
> and do the counting there.  Realistically, the same chain will be rewalked
> very soon afterword when the network card tries to set up the DMA
> transfers / etc.

I don't want to hijack the thread too much, but has thought gone into a
combined checksum and copy function?  The first mention I can remember of
this is in RFC 817 p. 19-20.

-Nate




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0303260956250.27748-100000>