From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C3089A046B for ; Wed, 24 Jul 2019 10:52:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 51D9D1C190; Wed, 24 Jul 2019 10:52:06 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 33C271C132 for ; Wed, 24 Jul 2019 10:52:05 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6O8oghK017064; Wed, 24 Jul 2019 01:52:04 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=+pQtILfbgis43iXcMfeX9o8Uxy4DB2kunQNhO+elYpE=; b=oJGPKMOhSHBzUhdaT3L5Ndow4pqqe0XKAF/40pJVtFnqZ/0uGorXtg5KVZguZ7xeX4wl Xw00TGKiGooinEg5vKtuCKWjwkWeoqmoaQJQVi/2wdw5Yj+hv9x3fsXjJNWoNUqihYbp 7a0ww4ZM5ZfRmpJOmfm9PFs+YclV37wYwVlU5bSEdoFQtNegpsBf+O9A2z2V0q0Sm6A/ fSVBSNzwmFd58DQqqyao3S8GDvtp+sgjENHS7KWG977nv37XQzzyNZ08Ok6WRtQcA3JY msyh1a+zAVr6QRooxiJ6oiV01DWQ7M2u8opdVojq+Wq0IRq1fsqJIKWH4X1zNl18THpk 2A== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2tx624u4wd-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 24 Jul 2019 01:52:04 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 24 Jul 2019 01:52:02 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Wed, 24 Jul 2019 01:52:02 -0700 Received: from localhost.marvell.com (unknown [10.28.10.76]) by maili.marvell.com (Postfix) with ESMTP id D5E873F7041; Wed, 24 Jul 2019 01:51:59 -0700 (PDT) From: Ayuj Verma To: CC: , , , , , , Ayuj Verma Date: Wed, 24 Jul 2019 14:21:55 +0530 Message-ID: <1563958317-480-1-git-send-email-ayverma@marvell.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-24_03:2019-07-23,2019-07-24 signatures=0 Subject: [dpdk-dev] [PATCH v1 0/2] declare crypto asym xform immutable 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" Mark asym xform as immutable till lifetime of session. It will save session setup time for PMDs, which doesn't require any manipulation of xform data, by directly using these buffers. * Updated xform type in session init/configure API as constant. * Updated doc with proper transform description. * Updated openssl PMD with above changes. Ayuj Verma (2): lib/crypto: declare crypto asym xform immutable crypto/openssl: mark asym xform constant doc/guides/prog_guide/cryptodev_lib.rst | 10 ++++++++++ drivers/crypto/openssl/rte_openssl_pmd_ops.c | 8 ++++---- lib/librte_cryptodev/rte_cryptodev.c | 2 +- lib/librte_cryptodev/rte_cryptodev.h | 2 +- lib/librte_cryptodev/rte_cryptodev_pmd.h | 2 +- 5 files changed, 17 insertions(+), 7 deletions(-) -- 1.8.3.1