| To: | Evgeniy Polyakov <johnpol@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: [RFC] Replace scatterlist with crypto_frag |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sat, 4 Jun 2005 20:32:49 +1000 |
| Cc: | "David S. Miller" <davem@xxxxxxxxxxxxx>, James Morris <jmorris@xxxxxxxxxx>, Linux Crypto Mailing List <linux-crypto@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <20050604142939.4e2efc55@xxxxxxxxxxxxxxxxxxxx> |
| References: | <20050603234623.GA20088@xxxxxxxxxxxxxxxxxxx> <20050604135535.3cfb631f@xxxxxxxxxxxxxxxxxxxx> <20050604095854.GA1003@xxxxxxxxxxxxxxxxxxx> <20050604141731.37479347@xxxxxxxxxxxxxxxxxxxx> <20050604102204.GA1214@xxxxxxxxxxxxxxxxxxx> <20050604142939.4e2efc55@xxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.9i |
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. > For hardware we will need to remap it later... Well we can't modify the supplied scatterlist structure in the crypto API anyway since we don't have exclusive ownership of it. Since we can't expect the user of the crypto API to do the mapping this space is basically wasted. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt |
| Previous by Date: | Re: [RFC] Replace scatterlist with crypto_frag, Evgeniy Polyakov |
|---|---|
| Next by Date: | Re: [RFC] Replace scatterlist with crypto_frag, Evgeniy Polyakov |
| Previous by Thread: | Re: [RFC] Replace scatterlist with crypto_frag, Evgeniy Polyakov |
| Next by Thread: | Re: [RFC] Replace scatterlist with crypto_frag, Evgeniy Polyakov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |