From patchwork Fri Oct 11 16:32:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 176005 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp989741ill; Fri, 11 Oct 2019 09:35:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxiZsaXRRwyNx7CgSbWj3k1i3Hxy8/nvhVvFaJzJyddNQjYkq6DlRcaB8Y3GbPMEALzcAkO X-Received: by 2002:a17:907:429d:: with SMTP id ny21mr15163818ejb.176.1570811718667; Fri, 11 Oct 2019 09:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570811718; cv=none; d=google.com; s=arc-20160816; b=ZnfNoCJ1pFHQSbUoAvOii4tNezq9rYfXBhxVLX/o0FqDjS/4oswvSXF96lYpy7Xn6B XyaIVuRoOzbAiaPh/KYSylq0sbca5/V5VwilQt7oq3xRkn/hvLEKujDnlppupVIY4CId JlAjABDUJzgx0/EI7TAqAzLTNtgbwSx9MoG276FpHA+B9hM++TnbWiw0mO9Rc+zN5WtV EoQTz2DdtkWOACXx/npM6R57367nDIuGTanF7GYX/Y/tL7m94gRtVlkciX4Q58l1IOz0 scPPIcqh9tp95owNsZEb5cA7NsOnWB/UTACiNFLUUag86/jFDm94DmEnl7rsIEUK8Rba tJjA== 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=OhJ7re3ZTdATjNQOdqxU/5gk2GXpabo/saAn28OIa6TsnbVy8lT3HDq7uxGS6v8/bE hgel7yWhvM6Cftmjp9W0Yko5Sum2W69GQn3XZ/dPtWrC1ebIptYGc4ka1Uwxs636n633 hF/gVhjLO6FVcHDO2ZBGWHNljC7LXajhckbQi+4i4G7b3BL0nA6D4ZJ+ZwCmH7PEI5q3 luIb6T3AC+vuoQEzuka9wDkUK3aWUVyKqudz/WbYJnPfr4I8dZHRnuZlulBW4fVJGzOD HhjX1QUVz+z0CUUYaokZCsjZovcFPgn3Yr43cMBT7wdvIvUovVHts6wbabN0LHbvPmCI mYcQ== 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 f1si5588069ejw.217.2019.10.11.09.35.18; Fri, 11 Oct 2019 09:35:18 -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 B10F11EB42; Fri, 11 Oct 2019 18:35:14 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 2530D1EB3E for ; Fri, 11 Oct 2019 18:35:12 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B9FF21A058B; Fri, 11 Oct 2019 18:35: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 D8A921A020A; Fri, 11 Oct 2019 18:35: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 D7E58402E4; Sat, 12 Oct 2019 00:35:06 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org Cc: akhil.goyal@nxp.com, Hemant Agrawal Date: Fri, 11 Oct 2019 22:02:24 +0530 Message-Id: <20191011163233.31017-2-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191011163233.31017-1-hemant.agrawal@nxp.com> References: <20191011163233.31017-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 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: ",