netdev
[Top] [All Lists]

Re: [RFC] Replace scatterlist with crypto_frag

To: herbert@xxxxxxxxxxxxxxxxxxx
Subject: Re: [RFC] Replace scatterlist with crypto_frag
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Mon, 06 Jun 2005 15:36:02 -0700 (PDT)
Cc: johnpol@xxxxxxxxxxx, jmorris@xxxxxxxxxx, linux-crypto@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20050604103249.GA1378@xxxxxxxxxxxxxxxxxxx>
References: <20050604102204.GA1214@xxxxxxxxxxxxxxxxxxx> <20050604142939.4e2efc55@xxxxxxxxxxxxxxxxxxxx> <20050604103249.GA1378@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 4 Jun 2005 20:32:49 +1000

> On Sat, Jun 04, 2005 at 02:29:39PM +0400, Evgeniy Polyakov wrote:
> > 
> > But without sg we sill save 4*sizeof(dma addr) - is it really a price?
> 
> We're also reducing the offset/length to 16 bits from 32 bits so we're
> shaving off half the size.

Note, it is still going to be a 16 byte structure on 64-bit
machines.  This is mainly due to the 8-byte alignment needed
by the page pointer.

I'm not objecting to your ideas, just mentioning this fact...

I am also puzzled as to where the "4" came from :-)

<Prev in Thread] Current Thread [Next in Thread>