| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [RFC] Replace scatterlist with crypto_frag |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sat, 4 Jun 2005 21:26:06 +1000 |
| Cc: | "David S. Miller" <davem@xxxxxxxxxxxxx>, James Morris <jmorris@xxxxxxxxxx>, Linux Crypto Mailing List <linux-crypto@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <20050604112314.GA19819@xxxxxxxxxxxxx> |
| References: | <20050603234623.GA20088@xxxxxxxxxxxxxxxxxxx> <20050604112314.GA19819@xxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.9i |
On Sat, Jun 04, 2005 at 12:23:14PM +0100, Christoph Hellwig wrote:
> On Sat, Jun 04, 2005 at 09:46:23AM +1000, Herbert Xu wrote:
> > struct crypto_frag {
> > struct page *page;
> > u16 offset;
> > u16 length;
> > };
>
> we have this structure as skb_frag_struct and bio_vec already, care
> to use the same structure with a generic name for all of them?
I certainly would have no problems merging with skb_frag_struct.
However, merging with bio_vec would mean that either bio_vec would
have to drop down to 16-bit counters, or crypto_frag would have to
move up to 32-bit counters.
The latter is problematic because I'm trying to shrink the size
enough so that we can squeeze four of these things onto the stack.
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, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [RFC] Replace scatterlist with crypto_frag, Christoph Hellwig |
| Previous by Thread: | Re: [RFC] Replace scatterlist with crypto_frag, Christoph Hellwig |
| Next by Thread: | Re: [RFC] Replace scatterlist with crypto_frag, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |