From mboxrd@z Thu Jan 1 00:00:00 1970 From: "De Lara Guarch, Pablo" Subject: Re: [PATCH v3 2/7] crpyto/virtio: add crypto related session structure Date: Thu, 29 Mar 2018 22:12:04 +0000 Message-ID: References: <6d8b86abf79abf3bd72d02cadc0fc40fc8dd44c9.1521964379.git.jianjay.zhou@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "Zhang, Roy Fan" , "thomas@monjalon.net" , "arei.gonglei@huawei.com" , "Zeng, Xin" , "weidong.huang@huawei.com" , "wangxinxin.wang@huawei.com" , "longpeng2@huawei.com" To: Jay Zhou , "dev@dpdk.org" Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 39B12A48F for ; Fri, 30 Mar 2018 00:12:09 +0200 (CEST) In-Reply-To: <6d8b86abf79abf3bd72d02cadc0fc40fc8dd44c9.1521964379.git.jianjay.zhou@huawei.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Jay Zhou [mailto:jianjay.zhou@huawei.com] > Sent: Sunday, March 25, 2018 9:34 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo ; Zhang, Roy > Fan ; thomas@monjalon.net; > arei.gonglei@huawei.com; Zeng, Xin ; > weidong.huang@huawei.com; wangxinxin.wang@huawei.com; > longpeng2@huawei.com; jianjay.zhou@huawei.com > Subject: [PATCH v3 2/7] crpyto/virtio: add crypto related session structu= re Typo in title. >=20 > This structure will be used in the following patches, especially at creat= ing > and destroying crypto sessions. >=20 > Signed-off-by: Jay Zhou > --- > drivers/crypto/virtio/virtio_crypto_algs.h | 27 > +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 drivers/crypto/virtio/virtio_crypto_algs.h >=20 > diff --git a/drivers/crypto/virtio/virtio_crypto_algs.h > b/drivers/crypto/virtio/virtio_crypto_algs.h > new file mode 100644 > index 0000000..5f1e9df > --- /dev/null > +++ b/drivers/crypto/virtio/virtio_crypto_algs.h > @@ -0,0 +1,27 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright(c) 2018 HUAWEI TECHNOLOGIES CO., LTD. > + */ > + > +#ifndef _VIRTIO_CRYPTO_ALGS_H_ > +#define _VIRTIO_CRYPTO_ALGS_H_ > + > +#include > +#include > + > +struct virtio_crypto_session { > + uint64_t session_id; Probably a uint32_t here is enough.=20