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 A7C9FA3160 for ; Fri, 11 Oct 2019 16:50:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C57191E8B7; Fri, 11 Oct 2019 16:50:41 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130072.outbound.protection.outlook.com [40.107.13.72]) by dpdk.org (Postfix) with ESMTP id 5A7691BEA4 for ; Fri, 11 Oct 2019 16:50:40 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mz6dx7C21P720Kw/HBW8j9N+EAuD4k4LghelzHM04qL9zCbmUfS49okBcRv5Ft9ObHfgaSsfo9Xy3S366c88dwpUGbVJyuc43dPDofHIyNmMrP1yn+sNbNhM5g3AFVu5Jjcge5ST3TUElOUFp/pZ3qdMVhJNmnasjj7lf+8DR1UyluTxNtusfBMTE1xFe0kaxcbota8V+iBHFxzpYOm0tqjnq4YaYUM8gftoftSPzOvGQZbkXV0pWPUqOOBAkafkkf35VfYWN9hMsR+Ni02i2ZAEFdzF+ktKq7w521QJkZpOIPBXzIMl1px0oQY3HiBwgb/s4+QdUCBC/NHPmAUOfw== 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=5VQqY9TcUE/dx2bB5fuMCDeTpeJScWXYjb92+3lcovs=; b=LZPaiZZpVVmI0WkwRqKvateuBukNZDWpsm5IMI1SAOOb+UbCr0SVl8dRpKPT20BU8B2/gj+LJER6hPz+3hYYNP6QBLwDuvTeOW67y9tvwfhfoOVHZfcFA4h3x65SZMY4j0klRC1U/g4wv1P0GKQdsrI04Lv3XxA18J78ZT+F1mVC4F4ztVouiP3ap9moU8rd6/BMQYc59W67U2b/IbfEZ8hXyZiiuBZAvW0IHp8RFUSF1US3fhej64G+eqsN6W6k9f7MYlCpv72kYAnfm05wO5yP9pmFVfauCYmW3/iaL/C/Uj5DyXwWV+P+8N72RTN6QkuQ8rqpCcBm9b+VHvX2Tw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5VQqY9TcUE/dx2bB5fuMCDeTpeJScWXYjb92+3lcovs=; b=HE1cVwMUlBpy8uKUG4ZuAVD+Zui558bUBtT8SlOoMUZYQT4cXNQSSeYWpPKFZjbBXzIYyQBVxdD7SA+l62cYWPD5E0IipPCM+xMjA09Xrli5rYvviQgtbNAMpiGGiLNEc46mLyD3fkksCeszjbQQB8Ieio3wRsbRrlPp/oZ7+vU= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6352.eurprd04.prod.outlook.com (10.255.118.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Fri, 11 Oct 2019 14:50:38 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::c045:5df2:ba1f:c3ee]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::c045:5df2:ba1f:c3ee%5]) with mapi id 15.20.2347.021; Fri, 11 Oct 2019 14:50:38 +0000 From: Akhil Goyal To: "somalapuram@gmail.com" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v1 6/6] crypto/ccp: updating ccp document Thread-Index: AQHVgAGqSU7Vd/ipuESCs6TP2ZE/MqdVhX7w Date: Fri, 11 Oct 2019 14:50:38 +0000 Message-ID: References: <20191011070045.80202-1-somalapuram@gmail.com> In-Reply-To: <20191011070045.80202-1-somalapuram@gmail.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 17717f01-e69e-4fcd-ccec-08d74e5a6191 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: VE1PR04MB6352: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3044; x-forefront-prvs: 0187F3EA14 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(366004)(136003)(39860400002)(376002)(396003)(199004)(189003)(6506007)(7736002)(64756008)(5660300002)(66476007)(14454004)(7696005)(66446008)(76116006)(3846002)(486006)(256004)(446003)(66946007)(86362001)(186003)(9686003)(66556008)(476003)(102836004)(14444005)(44832011)(6246003)(26005)(71200400001)(71190400001)(305945005)(33656002)(55016002)(6116002)(229853002)(478600001)(316002)(52536014)(25786009)(6436002)(74316002)(110136005)(11346002)(66066001)(81166006)(8676002)(81156014)(2906002)(76176011)(8936002)(99286004)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6352; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: p3JQhZvFNcTLXVevukkO6ahNCnwHbkTAfm0liCLWLhuMv1R9UsaXs3MKT7dAIaGf+ZhVGkfFNJGt9Mhq2cu1H30F4TK0afRv4YKjocc1Vb9jyl/QFsd0DtQ3OUYO+SbluRJ5xV54A844WWwIWE4/XMZoNH7+/OmNKcI+zbxKLSY3JIpbgUoCaTERx8UQQPHFwCSmuWjWm26s9fiPjYs0LO6gN6DFRchrP8GnSXdRvE3BPrMfvlyCgFq6s6rmXEoojyD7og/jZHjgzf1VLF/QR3Szs+ZO01dvOc9aOmnv0WWjhav0NNfoL+bhnNyYXgz2cWapj52/5f5jr5hzfYeg/BL7PbHRfMJ5/gqhAL0db9kkbNx1fOg+wiw1Qm1k3XMl8GlIs8FtTe1OuW6AfK2VpQOHVLtlQIesWRCsuFbgZ6Q= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 17717f01-e69e-4fcd-ccec-08d74e5a6191 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2019 14:50:38.5473 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: CMEUF1PYGizEglyfQbrb1rLl5z76DrxtjkdoDuI4P+VNIyIokx79rQdObrBp+ehjjVs/hzSXd6hUZvIcli/+IQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6352 Subject: Re: [dpdk-dev] [PATCH v1 6/6] crypto/ccp: updating ccp document 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" Hi, >=20 > From: Amaranath Somalapuram >=20 > Signed-off-by: Amaranath Somalapuram > --- Title should be "crypto/ccp: fix documentation" Please add an appropriate description to the patch. This patch is a fix and should also have fixes tag and also cc to stable@dp= dk.org > doc/guides/cryptodevs/ccp.rst | 32 ++++++++++++++++---------------- > 1 file changed, 16 insertions(+), 16 deletions(-) >=20 > diff --git a/doc/guides/cryptodevs/ccp.rst b/doc/guides/cryptodevs/ccp.rs= t > index 034d20367..a43fe92de 100644 > --- a/doc/guides/cryptodevs/ccp.rst > +++ b/doc/guides/cryptodevs/ccp.rst > @@ -109,14 +109,14 @@ To validate ccp pmd, l2fwd-crypto example can be > used with following command: >=20 > .. code-block:: console >=20 > - sudo ./build/l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp" -- -p 0x1 > - --chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo AES_CBC > - --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f > - --iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff > - --auth_op GENERATE --auth_algo SHA1_HMAC > - --auth_key > 11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11 > - > :11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:1 > 1:11:11 > - :11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11 > + sudo ./build/l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp" -- -p 0x= 1 > + --chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo aes-cbc > + --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f > + --cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff > + --auth_op GENERATE --auth_algo sha1-hmac > + --auth_key > 11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11 > + :11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:= 11:11:1 > 1:11 > + :11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11 >=20 > The CCP PMD also supports computing authentication over CPU with cipher > offloaded to CCP. > To enable this feature, pass an additional argument as ccp_auth_opt=3D1 = to -- > vdev parameters as > @@ -124,14 +124,14 @@ following: >=20 > .. code-block:: console >=20 > - sudo ./build/l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp,ccp_auth_opt=3D1= " > -- -p 0x1 > - --chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo AES_CBC > - --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f > - --iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff > - --auth_op GENERATE --auth_algo SHA1_HMAC > - --auth_key > 11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11 > - > :11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:1 > 1:11:11 > - :11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11 > + sudo ./build/l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp,ccp_auth_= opt=3D1" -- - > p 0x1 > + --chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo aes-cbc > + --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f > + --cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff > + --auth_op GENERATE --auth_algo sha1-hmac > + --auth_key > 11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11 > + :11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:= 11:11:1 > 1:11 > + :11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11 >=20 > Limitations > ----------- > -- > 2.17.1