---
 examples/async_speed.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/examples/async_speed.c b/examples/async_speed.c
index 4aea5e3..1a5128c 100644
--- a/examples/async_speed.c
+++ b/examples/async_speed.c
@@ -162,6 +162,16 @@ int main(void)
                return 1;
        }
 
+#ifdef CIOCSCPU
+       {
+               int cpu = 3;
+               if (ioctl(fdc, CIOCSCPU, &cpu)) {
+                       perror("ioctl(CIOCSCPU)");
+                       return 1;
+               }
+       }
+#endif
+
        fprintf(stderr, "Testing NULL cipher: \n");
        memset(&sess, 0, sizeof(sess));
        sess.cipher = CRYPTO_NULL;
-- 
1.7.3.4



_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to