diff options
author | Chunrong Guo <chunrong.guo@nxp.com> | 2017-07-28 15:44:09 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-08-07 11:42:29 -0300 |
commit | ece24e8f9a042561f188d8f09c60b146dd081c94 (patch) | |
tree | 1f9b832c30fa2740f16363187493814aca21a3c2 /recipes-kernel/cryptodev/sdk_patches/0080-graceful-exit-if-cryptodev-is-not-built-with-ASYNC-f.patch | |
parent | d586bfdde75ab6cae4f2dcdb63c068e07f4c188e (diff) | |
download | meta-freescale-ece24e8f9a042561f188d8f09c60b146dd081c94.tar.gz |
cryptodev-qoriq: update to v1.9
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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.patch | 31 |
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 @@ | |||
1 | From 9a486f5ebf648971db9bdbd30f7e52251a659ddd Mon Sep 17 00:00:00 2001 | ||
2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
3 | Date: Fri, 28 Oct 2016 12:01:00 +0300 | ||
4 | Subject: [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 | |||
11 | diff --git a/tests/async_speed_multi.sh b/tests/async_speed_multi.sh | ||
12 | index 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 | -- | ||
30 | 2.10.2 | ||
31 | |||