From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <paul.e.luse@intel.com>
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24])
 by dpdk.org (Postfix) with ESMTP id 451C85F57
 for <dev@dpdk.org>; Fri,  9 Mar 2018 23:04:31 +0100 (CET)
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from orsmga002.jf.intel.com ([10.7.209.21])
 by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 09 Mar 2018 14:04:29 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.47,447,1515484800"; d="scan'208,217";a="40679637"
Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204])
 by orsmga002.jf.intel.com with ESMTP; 09 Mar 2018 14:04:29 -0800
Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by
 FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS)
 id 14.3.319.2; Fri, 9 Mar 2018 14:04:28 -0800
Received: from fmsmsx104.amr.corp.intel.com ([169.254.3.244]) by
 fmsmsx120.amr.corp.intel.com ([169.254.15.251]) with mapi id 14.03.0319.002;
 Fri, 9 Mar 2018 14:04:28 -0800
From: "Luse, Paul E" <paul.e.luse@intel.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Thread-Topic: Question on AESNI PMD
Thread-Index: AdO38lpOBr50FV93SX6Y0kvlI3FInQ==
Date: Fri, 9 Mar 2018 22:04:27 +0000
Message-ID: <82C9F782B054C94B9FC04A331649C77AA6ABA230@fmsmsx104.amr.corp.intel.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjE3NDc5MzgtMTJhOS00MTZmLWFkZDgtN2I0NDJmNTk2YjMyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJnOTZ5czVkVWxaNWY1M0ZTYlVNY2pjXC9paDRcL2QxSnVnSjc4S25aMmlFSHVWdXppU0p4WEtuU2JIMFppQms5eVoifQ==
x-ctpclassification: CTP_NT
dlp-product: dlpe-windows
dlp-version: 11.0.0.116
dlp-reaction: no-action
x-originating-ip: [10.1.200.107]
MIME-Version: 1.0
X-Mailman-Approved-At: Sun, 11 Mar 2018 13:04:27 +0100
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: [dpdk-dev] Question on AESNI PMD
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Mar 2018 22:04:31 -0000

Hi,

I'm working on an SPDK module that uses the DPDK cryptodev framework, initi=
ally I'm using the AESNI PMD and have a few questions. in the doc it says t=
hat only in-place is supported however I see code in set_mb_job_params() ju=
st after the comment "Mutable crypto operation parameters" it appears to su=
pport a separate src and dst m_buf so curious about that.

For my use case (storage) I'm using external data buffers so I can't use th=
at code anyways but I was able to make some minor changes and am able to pa=
ss in different src and dst m_bufs that point to my own data buffers (not i=
n the packet) and it seems to be working fine.

So my 2 questions are:

(1) is the documented in-place limitation simply not correct?

(2) would there be any upstream interest in supporting a patch that enables=
 m_bufs using external data buffers for src and dst?

Thanks!
Paul