From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 57D9CA0096 for ; Thu, 6 Jun 2019 10:33:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 50D3A1B9A6; Thu, 6 Jun 2019 10:33:27 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 1160E1B9A5 for ; Thu, 6 Jun 2019 10:33:25 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jun 2019 01:33:25 -0700 X-ExtLoop1: 1 Received: from purley-s2600stq.sh.intel.com ([10.67.110.242]) by orsmga002.jf.intel.com with ESMTP; 06 Jun 2019 01:33:24 -0700 From: Xinfeng Zhao To: dts@dpdk.org Cc: Xinfeng Zhao Date: Thu, 6 Jun 2019 08:23:05 +0800 Message-Id: <1559780585-160319-3-git-send-email-xinfengx.zhao@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1559780585-160319-1-git-send-email-xinfengx.zhao@intel.com> References: <1559780585-160319-1-git-send-email-xinfengx.zhao@intel.com> Subject: [dts] [PATCH V1 3/3] conf: modify the cryptodev conf and specify the qat crypto device X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: Xinfeng Zhao --- conf/l2fwd_cryptodev_func.cfg | 3 +++ conf/unit_tests_cryptodev_func.cfg | 5 ++++- conf/virtio_ipsec_cryptodev_func.cfg | 1 + conf/virtio_perf_cryptodev_func.cfg | 1 + conf/virtio_unit_cryptodev_func.cfg | 1 + 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/conf/l2fwd_cryptodev_func.cfg b/conf/l2fwd_cryptodev_func.cfg index 6f3b146..a1b2418 100644 --- a/conf/l2fwd_cryptodev_func.cfg +++ b/conf/l2fwd_cryptodev_func.cfg @@ -7,6 +7,9 @@ l="9,10,66" socket-mem="2048,0" n=4 +# specify the qat devices in eal white list +w="0000:1a:01.0 -w 0000:1c:01.0 -w 0000:1e:01.0" + [test_scheduler_rr_AES_CBC_auto] vdev="crypto_scheduler_pmd_1,slave=0000:1a:01.0_qat_sym,slave=0000:3f:01.0_qat_sym,slave=0000:3d:01.0_qat_sym,mode=round-robin" diff --git a/conf/unit_tests_cryptodev_func.cfg b/conf/unit_tests_cryptodev_func.cfg index 9b80025..d5b3b30 100644 --- a/conf/unit_tests_cryptodev_func.cfg +++ b/conf/unit_tests_cryptodev_func.cfg @@ -5,4 +5,7 @@ crypto_dev_id="37c9" # eal config l="9,10,66" socket-mem="2048,0 --legacy-mem" -n=6 \ No newline at end of file +n=4 + +# specify the qat device in eal white list to avoid reach the maximum number of crypto devices +w="0000:1a:01.0" diff --git a/conf/virtio_ipsec_cryptodev_func.cfg b/conf/virtio_ipsec_cryptodev_func.cfg index 2e727c6..0b51b7d 100644 --- a/conf/virtio_ipsec_cryptodev_func.cfg +++ b/conf/virtio_ipsec_cryptodev_func.cfg @@ -6,6 +6,7 @@ crypto_dev_id="37c9" vfio_pci="0000:60:00.0 0000:60:00.1 0000:3b:00.0 0000:3b:00.1" # default crypto device and sw device config +w="0000:1a:01.0" vdev="crypto_aesni_mb_pmd_1 --vdev crypto_aesni_mb_pmd_2" [vm0] diff --git a/conf/virtio_perf_cryptodev_func.cfg b/conf/virtio_perf_cryptodev_func.cfg index 5a9b2cb..cdadf31 100644 --- a/conf/virtio_perf_cryptodev_func.cfg +++ b/conf/virtio_perf_cryptodev_func.cfg @@ -6,6 +6,7 @@ crypto_dev_id="37c9" vfio_pci="0000:60:00.0 0000:60:00.1" # Vhost-crypto option config +w="0000:1a:01.0" vdev="crypto_aesni_mb_pmd_1" [test_aesni_mb_aes_cbc_sha1_hmac] diff --git a/conf/virtio_unit_cryptodev_func.cfg b/conf/virtio_unit_cryptodev_func.cfg index 1ffd418..f8165bd 100644 --- a/conf/virtio_unit_cryptodev_func.cfg +++ b/conf/virtio_unit_cryptodev_func.cfg @@ -6,6 +6,7 @@ crypto_dev_id="37c9" vfio_pci="0000:60:00.0 0000:60:00.1" # Vhost-crypto option config +w="0000:1a:01.0" vdev="crypto_aesni_mb_pmd_1" [vm0] -- 2.7.4