blockdev.sh/ add QAT AES_XTS to CI

Signed-off-by: paul luse <paul.e.luse@intel.com>
Change-Id: I1329ffa4e3195b93ae92059e4c58fc0ab33445ed
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/443
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
paul luse 2020-02-01 21:19:18 +00:00 committed by Tomasz Zawadzki
parent f241068fca
commit b69c95b67f
2 changed files with 9 additions and 4 deletions

View File

@ -56,10 +56,10 @@ function setup_gpt_conf() {
function setup_crypto_conf() {
cat >$conf_file <<-EOF
[Malloc]
NumberOfLuns 2
LunSizeInMB 32
NumberOfLuns 3
LunSizeInMB 16
EOF
$testdir/gen_crypto.sh Malloc0 Malloc1 >> $conf_file
$testdir/gen_crypto.sh Malloc0 Malloc1 Malloc2 >> $conf_file
}
function setup_pmem_conf() {

View File

@ -5,11 +5,13 @@ set -e
rootdir=$(readlink -f $(dirname $0))/../..
source "$rootdir/scripts/common.sh"
# base_bdev will use QAT if available, otherwise AESNI
# base_bdev will use QAT AES_CBC if available, otherwise AESNI
# base_bdev2 will always use AESNI
# base_bdev3 will use QAT AES_XTS if available, otherwise not used
# This makes sure that AESNI always gets tested, even if QAT is available.
base_bdev=$1
base_bdev2=$2
base_bdev3=$3
echo
echo "[crypto]"
@ -19,6 +21,9 @@ if [ -n "$base_bdev" ]; then
echo " CRY $base_bdev crypto_ram 0123456789123456 crypto_aesni_mb"
else
echo " CRY $base_bdev crypto_ram 0123456789123456 crypto_qat"
if [ -n "$base_bdev3" ]; then
echo " CRY $base_bdev3 crypto_ram3 0123456789123456 crypto_qat AES_XTS 0123456789123456"
fi
fi
fi