On Wed, Jan 31, 2018 at 10:54:57AM -0800, Junaid Shahid wrote: > On Wed, Jan 31, 2018 at 12:13 AM, Steffen Klassert > <steffen.klassert@xxxxxxxxxxx> wrote: > > > > I wonder which special usecase you have in mind that will be improved > > by your patches. > > > > This is not related to IPsec. We have an internal use case where the > data buffer itself is a single memory page but the authentication tag > needs to be in a separate buffer. This patch set allows us to have > zero copy in that case. We usually don't add code for 'internal use cases' to the mainline kernel. If you need a SG version of gcm-aesni, then please implement the generic version so that everybody can benefit from it. Think about how this will look like if everybody would add a workaround for its very special use case.