From e2bea7436061ca2e7e14bfcfdc5870f2555c3965 Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Mon, 15 Apr 2019 14:36:48 +0200 Subject: New upstream version 18.11.1 Change-Id: Ic52e74a9ed6f3ae06acea4a27357bd7153efc2a3 Signed-off-by: Christian Ehrhardt --- examples/vhost_crypto/main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'examples/vhost_crypto/main.c') diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c index f08babd9..3deb5263 100644 --- a/examples/vhost_crypto/main.c +++ b/examples/vhost_crypto/main.c @@ -503,11 +503,12 @@ main(int argc, char *argv[]) if (strstr(dev_info.driver_name, RTE_STR(VHOST_CRYPTO_CDEV_NAME_AESNI_MB_PMD)) || strstr(dev_info.driver_name, - RTE_STR(VHOST_CRYPTO_CDEV_NAME_AESNI_GCM_PMD))) - RTE_LOG(ERR, USER1, "Cannot enable zero-copy in %s\n", + RTE_STR(VHOST_CRYPTO_CDEV_NAME_AESNI_GCM_PMD))) { + RTE_LOG(ERR, USER1, "Cannot enable zero-copy in %s\n", dev_info.driver_name); - ret = -EPERM; - goto error_exit; + ret = -EPERM; + goto error_exit; + } } if (dev_info.max_nb_queue_pairs < info->qid + 1) { -- cgit 1.2.3-korg