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 49B88A2EFC for ; Tue, 15 Oct 2019 12:53:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 03CF51EB94; Tue, 15 Oct 2019 12:53:41 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60077.outbound.protection.outlook.com [40.107.6.77]) by dpdk.org (Postfix) with ESMTP id 6AA041EB6A; Tue, 15 Oct 2019 12:53:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dSUTZEgRZReLq8SdCkppELD41zFv+gXwDF/ivSDX/3DCokIbWRfsFJ9bZ2tCt/e60MOadyVGhSUjC65d2RyOC5QoWwwVEV3FVIauXOz46jXnFq8WR4cPvJEAHCnlC14G2LBRUG/2NivMxibHI9YMy2BNh4T/d37Td7/4mDIy2Ow3PfFAS8YytJRwS0Cab9/MWo0o360toE+6r/73RzaAP6p4sOZy85u99EpsMqYO8q0aUvUMVo0pVnEzbFwlgYrwJp832haB6uJi8is69P3l70e/H8lnT8Ge44OoKRkiP506cOUp6kQs+URfNWshaR98JqQXfRRj/vdbOR2lWr3cCQ== 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=Gm5A1IcS5SUKAHFQq2eLMT0UaDMnlHzabTF12mMSicg=; b=Ck/MzCx97XVcPcIYV1/wNBaDIMeVq2+sYPBTNlWiQ5LecoyC+1fVbyFimYy3YJWbdR1s8+inuYCkkRF4DaMdpskln79o7I7DDKcCeMqg83jIfccDQbBqvZE03uCfoMdbPzh/UyGqXIYNpmH13JeizY4621POIQ/RKXvjlkuOyJ7Pkb+uxz2lUk3xSdD9NtSuvbs0XkzK7DONwyKNzWTOmHKtNE+wuwuh/tswOZ81S4d8s1QCrCITeWDKML7YVAaJB0UpD6eTRm/qxEcI/9XUxB+NQM1B22A9WeenzBs6AIuCzI1/RWtW2NIUGb2iu/6wL4E900bO7HRbQJO/klUNNA== 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=Gm5A1IcS5SUKAHFQq2eLMT0UaDMnlHzabTF12mMSicg=; b=IxMpkQHkHwieJmHsMIZZCnyglnD4Pwh1NNPXYULEmhkYgtCXplf2x0UXEf1UCLf2C1FslArT9sqx2xHyMnxlPA+rjeS0EjlvLlB3p5FavkM5+kgLVHWHuBKfJ9Y3xl5tUWS/dnI7xymShYMTXghv7f9c0rQq5K9Ux97XdAkK608= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6750.eurprd04.prod.outlook.com (20.179.234.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Tue, 15 Oct 2019 10:53:36 +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.023; Tue, 15 Oct 2019 10:53:36 +0000 From: Akhil Goyal To: "asomalap@amd.com" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH v1 1/6] doc: documentation update Thread-Index: AQHVgyY+Nj8nmG7x9kWDozgGW1U0oadbhTcw Date: Tue, 15 Oct 2019 10:53:35 +0000 Message-ID: References: <20191015070018.92514-1-asomalap@amd.com> In-Reply-To: <20191015070018.92514-1-asomalap@amd.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: 4f6143e2-7355-4285-1556-08d7515deddd x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: VE1PR04MB6750: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1443; x-forefront-prvs: 01917B1794 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(396003)(376002)(366004)(346002)(39860400002)(189003)(199004)(476003)(446003)(11346002)(229853002)(486006)(305945005)(44832011)(55016002)(316002)(66066001)(66446008)(66556008)(64756008)(66476007)(110136005)(3846002)(2906002)(7736002)(74316002)(33656002)(6246003)(6116002)(8936002)(81156014)(81166006)(15650500001)(6506007)(2501003)(76176011)(256004)(14444005)(6436002)(76116006)(66946007)(99286004)(9686003)(186003)(52536014)(26005)(7696005)(8676002)(14454004)(102836004)(4326008)(71190400001)(5660300002)(71200400001)(86362001)(478600001)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6750; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: saY01IhGZPoev4oRotX7g6UhzzS2wJWsh5nPlFwWs6K3mzpJOpWfh7/qjdTTOvOc4WivIt6HQiIcUh9LLk5kZ5HhDy0ygkSNm8aqKvRIrcXR+LBudgVGt3xtfkZ42iU2q2yvaYz9eDQ9wo2+OplHsO7HFKyGx2pFVqO/7HeDP+Y0kwq+ryzqm6oe5+iImR1lnKbEkhzHWBAgGOcc7P57e8h7Z6Ys1aR5dC7MKtlYUeGegui8KEX5Wze5yrrPnc7AXqgq33UuFDgA+CxYNzdPWf0NXx/RabdxQDdL3v0NJV9+gxBQypMyEfMtCEV+Rr1ZfwE4utfDjhkHUn5UunEqxJm/GBm8rkSxxifbEygfR3eYkbqppyieQ5FkmsYFiDVGGAtjZ4XmhJPTvg45p9Q1XwOcMZFgaWxO84jTKKi3u3U= 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: 4f6143e2-7355-4285-1556-08d7515deddd X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2019 10:53:35.9772 (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: g2EFkW8T3hBo0i+cFUve2FjR9No7zU4OLs7w1hczfXGZ6ubT5v5kOna9Zsa0vWlGys8m56n2W+Q3oqUEt9XtVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6750 Subject: Re: [dpdk-stable] [PATCH v1 1/6] doc: documentation update X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Title should be "doc: fix app usage in CCP guide" >=20 > From: Amaranath Somalapuram >=20 > Update the docs, fixing description of some parameter. > Changing AES_CBC to aes-cbc, SHA1_HMAC to sha1-hmac. Patch description should be something like: Command line arguments for running l2fwd-crypto was updated but the AMD CCP PMD still uses old arguments. This patch updates the command line arguments of l2fwd-crypto while running with crypto-ccp Please add a fixes line here specifying the commit Id and patch title Of the patch which originally introduced this issue. > Cc: stable@dpdk.org >=20 > Signed-off-by: Amaranath Somalapuram > --- > 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