[RFC PATCH 00/21] crypto: consolidate and clean up compression APIs

Ard Biesheuvel ardb at kernel.org
Fri Jul 28 03:03:23 PDT 2023


On Fri, 28 Jul 2023 at 11:59, Herbert Xu <herbert at gondor.apana.org.au> wrote:
>
> On Fri, Jul 28, 2023 at 11:57:42AM +0200, Ard Biesheuvel wrote:
> >
> > So will IPcomp be able to simply assign those pages to the SKB afterwards?
>
> Yes that is the idea.  The network stack is very much in love with
> SG lists :)
>

Fair enough. But my point remains: this requires a lot of boilerplate
on the part of the driver, and it would be better if we could do this
in the acomp generic layer.

Does the IPcomp case always know the decompressed size upfront?



More information about the linux-mtd mailing list