[PATCH] patch to OpenCrypto framework

Patrick Lamaiziere patfbsd at davenulle.org
Sat Feb 27 21:52:29 UTC 2010


Le Wed, 24 Feb 2010 16:50:35 +0000,
"Kennedy, Brendan" <brendan.kennedy at intel.com> a écrit :

> Hi Philip, All,

Hello,

> This OpenCrypto patch does a number of updates:
> 
> 1) It updates Cryptodev to allocate contiguous memory blocks – a
> requirement for some hardware drivers

I don't see the benefit for this one -changing malloc(9) to
contigmalloc(9)- it introduces a small (but useless) overhead
to existing drivers (I tried with glxsb : we lose around 5%).

IMO, if this is required for some drivers, this is not
the good place to do this. A crypto driver can receive data from
somewhere else than cryptodev: ipsec, geli, kerberos (at least)

Best regards.


More information about the freebsd-drivers mailing list