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 8D968A04B3; Tue, 28 Jan 2020 12:01:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BD3B51C227; Tue, 28 Jan 2020 12:01:05 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 70CA11BFAE for ; Tue, 28 Jan 2020 12:01:03 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Jan 2020 03:01:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,373,1574150400"; d="scan'208";a="309051466" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 28 Jan 2020 03:01:02 -0800 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 28 Jan 2020 03:01:02 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.103) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 28 Jan 2020 03:01:01 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hW7B5e5GJ33Xf0TFYrwD849soi6fzBkHLocWilveRAYQoowCIDX8hqMmoNqPrfumAyVsOMGVqpSG5c2ciNHDFoXVzGYiNlhq9RdtSlFQi8fjRkZ35k0W3LqsPJ2qu3aoVtjraVeGzhDzwKOfNWcZbJOYzjYhuUIg/tE/AaLbHfhZv6p8+8gfrqIj88P8DKKptd2sPY2JaRdsK3+MucJ4BzFPxhWkeR3vsaw+j5IhLl32teOh6+19An6X1O18JeFCMSXW53lk0A72YMeG8Lr7GYA4jXiGOh1kg+AraX/OBGlgi/ImRWYiy6Cpv0HmrNd0lW5yrThyH8IfvnbvTnHguw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qcTALACSPW2qRwyjda2RsT+x8br6MvLQXse+iUngvPw=; b=bRsza8bwSUld/9KcjgSdnW5wE8bAr3Rf7RGXpFjieh+7+h2HkU8iXmXCptjbQpAtitF/WqWOX1M5CasoHji+y532maiHgwVJCF4Rq/E+w/E1PuUIR4SG90tkAHWSagEcMj5fJkhk00IG1cJUqRSaFQjjnBCoewXhM0PArQJs3vIoFf1ewEZTMEmU/loCTnxt32V9LiOf6/F1/aZP+FMLVPJpX9XHP9/yAhvqa04Z3abR6bQgmfu8Vcx3/CH+xNEzqcEGx8/3apNTuDCWj9nQppXJ4ozplXGHn8+GUiKU4z5Uo4Uq5JFnFxnOXzazvecKjp3sDuPC08PvZWDDIiFipA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qcTALACSPW2qRwyjda2RsT+x8br6MvLQXse+iUngvPw=; b=j48XqXJRKPc70xBBu+x/85RbYBYXFKIBrRO3wkyIS4WqJ19aBLViQlr3GZuyppimUJ6aIhV9m0SH1BZNe94GhAzqNcvU7Ag1klfweY4dVLuJiUj90Z1o+x596NSCt7INHx4UkunvfRS/ZsGxYIe37eOWsK0IyEQ1jxmjIlXchvA= Received: from SN6PR11MB2558.namprd11.prod.outlook.com (52.135.94.19) by SN6PR11MB3197.namprd11.prod.outlook.com (52.135.109.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.22; Tue, 28 Jan 2020 11:01:00 +0000 Received: from SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::4d86:362a:13c3:8386]) by SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::4d86:362a:13c3:8386%7]) with mapi id 15.20.2665.026; Tue, 28 Jan 2020 11:01:00 +0000 From: "Ananyev, Konstantin" To: "Smoczynski, MarcinX" , "akhil.goyal@nxp.com" , "Zhang, Roy Fan" , "Doherty, Declan" , "Nicolau, Radu" , "De Lara Guarch, Pablo" CC: "dev@dpdk.org" Thread-Topic: [PATCH v4 4/8] security: add cpu crypto action type Thread-Index: AQHV1YnPyhg8LjyTYkaSkQd/liBNd6f/6S6g Date: Tue, 28 Jan 2020 11:00:59 +0000 Message-ID: References: <20200115182832.17012-1-marcinx.smoczynski@intel.com> <20200128031642.15256-1-marcinx.smoczynski@intel.com> <20200128031642.15256-5-marcinx.smoczynski@intel.com> In-Reply-To: <20200128031642.15256-5-marcinx.smoczynski@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjZlZTZlZWEtNjk5ZS00MmQ2LTk3N2MtNjU2MGZhYTRjZmFkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoielFVWG1WQ0hWZWZUT3VwY1QzbWFFR3NnSjZwV29hajNJY21kU2hTTXhWcDdmMnBKdU80dTI3N1d1SVRVdkZ3TyJ9 dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-ctpclassification: CTP_NT authentication-results: spf=none (sender IP is ) smtp.mailfrom=konstantin.ananyev@intel.com; x-originating-ip: [192.198.151.187] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c4fc32b2-d4d4-45c8-528a-08d7a3e15be1 x-ms-traffictypediagnostic: SN6PR11MB3197: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1775; x-forefront-prvs: 029651C7A1 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(396003)(366004)(346002)(136003)(39860400002)(189003)(199004)(71200400001)(15650500001)(7696005)(81156014)(81166006)(6636002)(9686003)(2906002)(55016002)(8676002)(4326008)(8936002)(26005)(5660300002)(33656002)(66446008)(110136005)(6506007)(86362001)(186003)(66476007)(66946007)(76116006)(478600001)(66556008)(64756008)(52536014)(316002)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR11MB3197; H:SN6PR11MB2558.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OqX8Ml6xsqwAdX2iOu25HcmWVUpaZ22haOw9N+h/XE6RtKu98v8/0sD4zKiGWImtBcxuPtK8PXm6qi+HyLwm9evXUNB8Jd6mG+I0UlJSxMd5BSKWVqyku22T00CtbMoDbiFZyE9NTmWBt6t56GIiiF8t4dyzFgLZ8tdPgw8RH+kWrlGOtaYt8KYpvyMZjNmYz1nE5UFsw9pymUgoETlsCaSlG3CVtFc51Z2bdvnTSsuCKyAD2mN4VbcTtMXXCmsf9cyfJ1bgPeniGAj9bOAWLrXH5HduDnnTav7MDa8+vMd26Dwqh+zyFyW3mC6VR8II2MpYB1K4HyiTyFhekYv3bELiw+kZ+F9+WPkqQwVz8OWh7nBdI6Y2DqG+Yu+QVdkECNJbsDiQyg+xWXY6JDjSFMz2X0xAxfmjc5P31OsBAFcrK/J1sgGQFjO2yUY3xXDcOxAxHchETC4Bum5nKIQNr9AaV4obb+1fLk1WlyUmQ0znODX5T5FYv98rvU0ifpbb x-ms-exchange-antispam-messagedata: PzDtMqr/fcN9XuLNb6qby303ERR0LHiM2AJt2gBN9X3abicWnyrYQ5dA7ebS7JsVby5gx1SCaIGdluY5Qbetm3l7qPV/59605nNC0QdKYIYMkiKtAYFSbHuKhP+43O+/baYD9Mog8kovr8ApcoqwFg== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: c4fc32b2-d4d4-45c8-528a-08d7a3e15be1 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jan 2020 11:00:59.6769 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TzjjPawOg6+94+BA6tDZq8ZBV3ymLaA7w7KCjZ61ax/GCHr0vgv+7MOWkKomEoCiI70n74CSY8Hx+s7NHQXqlUJib4KhuEjRJ8cYupImaKc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3197 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 4/8] security: add cpu crypto action type 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" > Introduce CPU crypto action type allowing to differentiate between > regular async 'none security' and synchronous, CPU crypto accelerated > sessions. >=20 > Signed-off-by: Marcin Smoczynski > --- > lib/librte_security/rte_security.h | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) >=20 > diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte= _security.h > index 546779df2..309f7311c 100644 > --- a/lib/librte_security/rte_security.h > +++ b/lib/librte_security/rte_security.h > @@ -307,10 +307,14 @@ enum rte_security_session_action_type { > /**< All security protocol processing is performed inline during > * transmission > */ > - RTE_SECURITY_ACTION_TYPE_LOOKASIDE_PROTOCOL > + RTE_SECURITY_ACTION_TYPE_LOOKASIDE_PROTOCOL, > /**< All security protocol processing including crypto is performed > * on a lookaside accelerator > */ > + RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO > + /**< Crypto processing for security protocol is processed by CPU > + * synchronously > + */ > }; >=20 > /** Security session protocol definition */ > -- Acked-by: Konstantin Ananyev > 2.17.1