Hi Gert,
thanks for your reply
>>as our way to do --daemon wasn't compatible with cryptodev...do you mean it
>>is suggested in daemon mode when running openvpn with cryptodev?
also, i found some post said the Openvpn support cryptodev is not good, as
Openvpn need do lot of job copy data to/from user space to kernel, "Hoewever
the user-to-kernel and kernel-to-user copying of packets (context switches) is
the bottleneck. The OpenVPN speed gets capped long before the crypto accel
would make a difference. Its only useful for pure Kernel based VPNs like IPSec
or L2TP." (source https://forum.openwrt.org/viewtopic.php?id=19586)
Thank you.
> Date: Fri, 24 Jul 2015 10:54:54 +0200
> From: g...@greenie.muc.de
> To: liyuqia...@outlook.com
> CC: openvpn-devel@lists.sourceforge.net
> Subject: Re: [Openvpn-devel] Does Openvpn really support cryptodev hardware
> accelerators
>
> Hi,
>
> if openssl uses cryptodev, so will openvpn - we don't do our own crypto,
> just call the openvpn functions to do so.
>
> (And on FreeBSD, this is the particular reason why we had so much trouble
> recently, as our way to do --daemon wasn't compatible with cryptodev...)
>
> gert
>
> --
> USENET is *not* the non-clickable part of WWW!
> //www.muc.de/~gert/
> Gert Doering - Munich, Germany g...@greenie.muc.de
> fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de