summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev/sdk_patches/0080-graceful-exit-if-cryptodev-is-not-built-with-ASYNC-f.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0080-graceful-exit-if-cryptodev-is-not-built-with-ASYNC-f.patch')
-rw-r--r--recipes-kernel/cryptodev/sdk_patches/0080-graceful-exit-if-cryptodev-is-not-built-with-ASYNC-f.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0080-graceful-exit-if-cryptodev-is-not-built-with-ASYNC-f.patch b/recipes-kernel/cryptodev/sdk_patches/0080-graceful-exit-if-cryptodev-is-not-built-with-ASYNC-f.patch
deleted file mode 100644
index 64450df9..00000000
--- a/recipes-kernel/cryptodev/sdk_patches/0080-graceful-exit-if-cryptodev-is-not-built-with-ASYNC-f.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 9a486f5ebf648971db9bdbd30f7e52251a659ddd Mon Sep 17 00:00:00 2001
2From: Cristian Stoica <cristian.stoica@nxp.com>
3Date: Fri, 28 Oct 2016 12:01:00 +0300
4Subject: [PATCH 080/104] graceful exit if cryptodev is not built with ASYNC
5 flags
6
7---
8 tests/async_speed_multi.sh | 7 +++++++
9 1 file changed, 7 insertions(+)
10
11diff --git a/tests/async_speed_multi.sh b/tests/async_speed_multi.sh
12index 125d45c..f2a8ba6 100755
13--- a/tests/async_speed_multi.sh
14+++ b/tests/async_speed_multi.sh
15@@ -82,6 +82,13 @@ function run_parallel
16
17 wait $MPSTAT_PID
18
19+ grep "ioctl" ${OUT_BASENAME}_* &> /dev/null
20+ if (($? == 0))
21+ then
22+ echo "cryptodev is not built with -DENABLE_ASYNC flag"
23+ exit 1
24+ fi
25+
26 runtime=$(echo "scale=2; ($end - $start) / 1" | bc -l )
27 total_data=$(cat ${OUT_BASENAME}_* | cut -f 1 | SUM)
28 avg_speed=$(echo "scale=2; $total_data / $runtime / 1000000000" | bc -l)
29--
302.10.2
31