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 7FF20A0513; Wed, 15 Jan 2020 23:49:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B77AA1BFE6; Wed, 15 Jan 2020 23:49:44 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 7286B1BFE5 for ; Wed, 15 Jan 2020 23:49:43 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2020 14:49:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,323,1574150400"; d="scan'208";a="257039069" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga002.fm.intel.com with ESMTP; 15 Jan 2020 14:49:41 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jan 2020 14:49:41 -0800 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jan 2020 14:49:41 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jan 2020 14:49:41 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fs9tq3g8RvEXPsXBigd5dLjei+kqLNsbcYeEW0nolIHzIplh96FMVCFdx/gGh9BpuI+vg0IEZDaUVs7uD2unhE0zL/lnjZ4rFQVpavDwYaloAYhhLA9SzaRCIBmbe62tt4KMrZ4AjINyw77s+cxJsmCoUU7O0iuJBOKl8x3TlAZoHa9tkjBJlnk8exGUKUu9NowC0RV6Xq/9/fIYgN1qRWOwsn74VMkkQ1Cm4PcN8p7QFj9VZwAIY9fuZo6mPaDJ3q0hT815ZxigyY2wOC5e8/NCmQ1V+EuPJPuNcLQuXkiw3PZF9B+RdIcSbs+nf+tL06tpM8hi7xNgJwfEW6+7zA== 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=94i48/aXSSKwWQeFOJTiWlaPAKUj1MUn26TnjCEdsoQ=; b=BqTF5vtjonSUrvI0RUhsf9+Gr/RE0s4+6L6Bdl49Yx6JKPlLso/lCiRHIgcpziiRk3opNx8DiEzQYF7pVswwgi/Sc4BxjtZpzsiAHdAM+hQFeqzTAvg7porjqin3LgJPRilBtrUdDpaopVB+jAAmGyiEsA4FCOttWobwebpDTY+9sefJTjOpU2jRYWs3necTG4QoHy+cEWzJWeobnr7YQPLpus76uBvTX+CTy8wthXxks14ao5xB6fzcPedYZQ/BDdtiPE/8fqIQwhOSnl0j2DrcpYG6SOML5I2cPiQB5r81vT0ABWhcI+djqB4qGwA4mhvySNAfFWIqperxCdLy9Q== 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=94i48/aXSSKwWQeFOJTiWlaPAKUj1MUn26TnjCEdsoQ=; b=yU1NOxxuPoLuNC3qkwtr+mowga9r9fpp7qPAD1GksrDCj5BJt37CmbWff0CHP9niaN2yaB3DRcfSHytagT7K5S+R9P1mmoT8MlzCmCpwsMGstOUjmAWktET4dfxxcclywwunUlJnPlyQa4rSuFP5ujqPv6P+SLblHSvo/ipKIwo= Received: from SN6PR11MB2558.namprd11.prod.outlook.com (52.135.94.19) by SN6PR11MB2654.namprd11.prod.outlook.com (52.135.89.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.13; Wed, 15 Jan 2020 22:49:39 +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.2644.015; Wed, 15 Jan 2020 22:49:39 +0000 From: "Ananyev, Konstantin" To: "Smoczynski, MarcinX" , "akhil.goyal@nxp.com" , "Zhang, Roy Fan" , "Doherty, Declan" , "Nicolau, Radu" CC: "dev@dpdk.org" Thread-Topic: [PATCH v3 3/6] security: add cpu crypto action type Thread-Index: AQHVy9H5pP5Jc0/zS0S8T71kGPtxaqfsVErw Date: Wed, 15 Jan 2020 22:49:39 +0000 Message-ID: References: <20200115182832.17012-1-marcinx.smoczynski@intel.com> <20200115182832.17012-4-marcinx.smoczynski@intel.com> In-Reply-To: <20200115182832.17012-4-marcinx.smoczynski@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmRmZjI1YWQtNmNiNy00YTljLThlY2YtYzU2ZmRkM2IxYTk5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWlRCalwvMmx2ejZRb1JON2Q1dWVFQUlHcHFUa2FSK083eURqUm9hSklrRFkrSmc5MUJCNHhxdjJuemxGNnl3am4ifQ== 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.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2fbc1230-cbc6-4c56-2cbe-08d79a0d342b x-ms-traffictypediagnostic: SN6PR11MB2654: 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: 02830F0362 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(376002)(136003)(346002)(39860400002)(396003)(199004)(189003)(4326008)(66476007)(66446008)(52536014)(186003)(66556008)(64756008)(26005)(86362001)(6636002)(2906002)(110136005)(33656002)(81166006)(55016002)(66946007)(316002)(8936002)(71200400001)(6506007)(15650500001)(9686003)(478600001)(76116006)(81156014)(8676002)(7696005)(5660300002); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR11MB2654; H:SN6PR11MB2558.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 254Oe5gQvryQBj+4GAKPWXQW2tNDa+2z+I0goo4geiL+lCSa7DgxGY4kfzUjCrwu362COFgZq4ALHI/8d9/bm/tbYDH5vz+Re1MP/uF7WtOKwpWwaJfj6MZi4zEHlYwOflSNgdkdIAelgW9BZdetexs96OwLonenkeaG9mE7oY/S9LwiGJB/L5qXzDnZXhJuWHDTDM65aZAT/gPrVR58kLgJX1XEsk+2Fd4mYxZv+0kAJMjWdQs2sK7Jpn+PLUGkyn0oaj6OOanjCS3LSK+Gjc30xloGVgSNll0xb2D0VSU0aPgiAsXR5aER0DskGyo8vl5HQDCGkhU4wXPe3D8eAiNoZbKL6ooCf5DkQOwdxW+YY1jhkylLKFW2a8GQUP3onH1/6dAFWQMegwsBvYmvSyGzQZ7DdFxNpJSnEZ6Ri60G+kWCwr0GrNvVle3xSeYd Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 2fbc1230-cbc6-4c56-2cbe-08d79a0d342b X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jan 2020 22:49:39.5402 (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: aUhbTVEUYQAH79HO/hBXwetziK0qlPM4vhpx6mO6dfbREgLH42HFcPrjcN4KZPlX5OVrFfVJ6wL30JQI+5AUCnGOzNfQuGoRU/aGRHIzGXQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2654 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 3/6] 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" >=20 > 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