From patchwork Mon Oct 14 06:53:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 176121 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp4130773ill; Sun, 13 Oct 2019 23:56:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqypW9UDPMeaFVPFWFPJLr9DpdNROqv5D3YwARm6AsTpfApeVTPFSVvbmBBQF5b0PEV9CJJv X-Received: by 2002:aa7:d905:: with SMTP id a5mr26573395edr.88.1571036182327; Sun, 13 Oct 2019 23:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571036182; cv=none; d=google.com; s=arc-20160816; b=hP7lz3Ruy8jdJomGGxI4HuBgc9DNp5wnDmsm3T7HZbr7Gt9H7I/klVfjc8WTAkCRPN IRKOOFH0QvZ9ZMcEkbUpBEbDiyas2xRj4Y5d6FqYQTPL1DZP+Ijyo2QYAGShkSjLYL6h C9vNqljezPGWJkO35OVENfxwf31EELh+xRmwt58E8whc7FE7oeQzBW9vLuNY9kFRoNdF KcoqJjm9AqNC0gl7hjwKrH/blsiRlFAnPDCFkfjSqw8NSV2hbMOAgjKranO0ahE6abeb moweJ+/0IbRTx7H5ClwAJ7cGzhZpm+r7KR0sUi/uPH35MZnHQ0AtdTGGo+E6oWMYW/X7 9/Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=79I+S9iV9tmaiKwUFAuzzRGg21x0sZGtr9LhFtLUll0=; b=w5qf1BZSx82TkPSu3bLvEqAiODgqXNUcsbWNTvXKRxh5BNGlMECbNtxlrSxDmmxSVn wM22IN46QtMZx7yP9bPJPcRTLPOnGBMaFmchuvylRtDwvvEF2QbYkEC3jeSQ7M3VF2Yw +j/TPXl0fr11QHhC0a2wS/Rshu2zSbUTLknVIq3srcHTCKrF4/x8fZQU+6D5V6b8JLvZ mNvc5MOBm5JxYqPkwnndruG+QfNs3mTX3Y3BXKbK0M/tk+snLDztCwAQ5nNv/inTp1JJ Y/rAqN8EaIhroCMk+ZlmwXdQ/klgHguGyO/TX5bFyUDtSI/hixR+8JaOAaoAWVlwKuwO hVnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id f29si10754593ejj.110.2019.10.13.23.56.22; Sun, 13 Oct 2019 23:56:22 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2F0031C190; Mon, 14 Oct 2019 08:56:15 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 832481C12A for ; Mon, 14 Oct 2019 08:56:11 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 28B651A0383; Mon, 14 Oct 2019 08:56:11 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 4771C1A0380; Mon, 14 Oct 2019 08:56:09 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id AC8FD402E2; Mon, 14 Oct 2019 14:56:06 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org Cc: akhil.goyal@nxp.com, Hemant Agrawal Date: Mon, 14 Oct 2019 12:23:21 +0530 Message-Id: <20191014065330.31605-2-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191014065330.31605-1-hemant.agrawal@nxp.com> References: <20191011163233.31017-1-hemant.agrawal@nxp.com> <20191014065330.31605-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v2 01/10] test/crypto: fix PDCP test support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" use session_priv_mpool instead of session pool Fixes: d883e6e7131b ("test/crypto: add PDCP C-Plane encap cases") Signed-off-by: Hemant Agrawal --- app/test/test_cryptodev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index ffed298fd..879b31ceb 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -7144,7 +7144,7 @@ test_pdcp_proto(int i, int oop, /* Create security session */ ut_params->sec_session = rte_security_session_create(ctx, - &sess_conf, ts_params->session_mpool); + &sess_conf, ts_params->session_priv_mpool); if (!ut_params->sec_session) { printf("TestCase %s()-%d line %d failed %s: ", @@ -7393,7 +7393,7 @@ test_pdcp_proto_SGL(int i, int oop, /* Create security session */ ut_params->sec_session = rte_security_session_create(ctx, - &sess_conf, ts_params->session_mpool); + &sess_conf, ts_params->session_priv_mpool); if (!ut_params->sec_session) { printf("TestCase %s()-%d line %d failed %s: ",