On Wed, Dec 4, 2013 at 11:21 AM, Karl Hiramoto <k...@hiramoto.org> wrote:
>> Could you then try modifying main.c, at crypto_run() to set the >> COP_FLAG_NO_ZC if there is no 16-byte alignment? If that fixes the >> issue, we should see how we can handle it depending on the driver. > Yes, it does fix it. However performance is really bad, it's about 5% > slower than doing the crypto in software. That's quite a performance hit. > So the only way to still use the zero-copy would be to fix openvpn? I guess so, unless the driver can work-around that alignment limitation. This may be quite an issue with other software too. For example in TLS or SSL the encrypted data do not start at an aligned position as well (not even a 2-aligned position). regards, Nikos _______________________________________________ Cryptodev-linux-devel mailing list Cryptodev-linux-devel@gna.org https://mail.gna.org/listinfo/cryptodev-linux-devel