From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1F460A0547; Thu, 28 Oct 2021 12:22:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DD6C40DF4; Thu, 28 Oct 2021 12:22:13 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 7D3664067B for ; Thu, 28 Oct 2021 12:22:10 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10150"; a="229125118" X-IronPort-AV: E=Sophos;i="5.87,189,1631602800"; d="scan'208";a="229125118" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 03:22:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,189,1631602800"; d="scan'208";a="597746040" Received: from silpixa00400885.ir.intel.com ([10.243.23.122]) by orsmga004.jf.intel.com with ESMTP; 28 Oct 2021 03:22:02 -0700 From: Fan Zhang To: dev@dpdk.org Cc: gakhil@marvell.com, Fan Zhang Date: Thu, 28 Oct 2021 11:22:00 +0100 Message-Id: <20211028102200.197584-1-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] examples/fips_validation: fix device start X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fixes: 261bbff75e34 ("examples: use separate crypto session mempools") Cc: roy.fan.zhang@intel.com Bugzilla Link: https://bugs.dpdk.org/show_bug.cgi?id=842 This patch fixes the missing device start for fips validation sample app. Signed-off-by: Fan Zhang --- examples/fips_validation/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/fips_validation/main.c b/examples/fips_validation/main.c index b0de3d269a..dc40bffe7d 100644 --- a/examples/fips_validation/main.c +++ b/examples/fips_validation/main.c @@ -134,6 +134,10 @@ cryptodev_fips_validate_app_int(void) if (ret < 0) goto error_exit; + ret = rte_cryptodev_start(env.dev_id); + if (ret < 0) + goto error_exit; + return 0; error_exit: -- 2.25.1