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 68374A04C1; Fri, 22 Nov 2019 07:48:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0BAD82C28; Fri, 22 Nov 2019 07:48:45 +0100 (CET) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-eopbgr740079.outbound.protection.outlook.com [40.107.74.79]) by dpdk.org (Postfix) with ESMTP id 631292BF9; Fri, 22 Nov 2019 07:48:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Eru6Mu301E0uk09Ikd94N+8nTTGJ9Qun/ukXFivovA9GYtBDTtD9DSVhCocsJjHuh6lEJSaMyamjCy9KswA2bLJc6cQ6XfIVPopj63tcpxRKL1D3UlkEn0KQXHpdsHD4knjMZpqyxV6T2Y01UG68t6j27rrRPIcS8H0hIv4Wt/Anzw7Be+G8IFQxjppmewpjGHL44JpLNK4tvvazRCdOohAPW/gBQdwU0NBlBbbGbUhJO0amC3AK1tO5nehrOrtiz40ixmheE68E8jYPG8u48G8dSlbW4P4yL6d0OPqFs391EzLSNSERRtRfQ7075k2zKtpre8POe3UpGbZblK3T0A== 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=21RvIMv38wWagomaWCb6syynajVhHkSl6RgGTlZ75U0=; b=NC+qabQei01t7Qo5tWSFEh+sTQRKFOafSSNBxHFu2rBM6Du24NQKRziM2n4S30vNdix3cgTu4fDXI5Fb5W2b6MMApZBM3Tx2vgtf8QLY3mxYGjUEU+ILNhO3G/v/EDOPo0FUaxM898hUKFfKFqYmZNN8ysdiGpQdBJs7DTFfedItnB+/2kkJwKqmcqfLcTo4vBBKHXW10c8c/R2v5SV/7Yk7YYsOD8sF3p4sLhGSsYYdt19mnFJK7pOBp6e+u4eqOHbFGr/AqLBNHiZKLx0bLNClN992JwDeZBs7s+4bWcNr12/IAIz2PsszL2HKclKQtjzilMJLlU0HaOZIHTwqmw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=21RvIMv38wWagomaWCb6syynajVhHkSl6RgGTlZ75U0=; b=xnjBJ+Kfu4I+zESOmKZ7giJQ6FelxkHq4Wd4FNLOr2Lfp18DndaAZGyQt2Z4rzqZGMOgCqeJOyxXiH9LcF1wikBvvIWT147aA7I2cG9Yva884lZ0nbNTlJ7JFjyl8ksG5r/6mBkNg+ScSqIiGm7iWPSjjqU0iDtcgzucG3Gr7us= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Amaranath.Somalapuram@amd.com; Received: from DM5PR1201MB2474.namprd12.prod.outlook.com (10.172.87.136) by DM5PR1201MB0171.namprd12.prod.outlook.com (10.174.107.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17; Fri, 22 Nov 2019 06:48:40 +0000 Received: from DM5PR1201MB2474.namprd12.prod.outlook.com ([fe80::3da8:4a0d:72f9:d41d]) by DM5PR1201MB2474.namprd12.prod.outlook.com ([fe80::3da8:4a0d:72f9:d41d%9]) with mapi id 15.20.2451.031; Fri, 22 Nov 2019 06:48:40 +0000 From: asomalap@amd.com To: dev@dpdk.org Cc: stable@dpdk.org Date: Fri, 22 Nov 2019 12:15:45 +0530 Message-Id: <20191122064545.94058-1-asomalap@amd.com> X-Mailer: git-send-email 2.17.1 Content-Type: text/plain X-ClientProxiedBy: MAXPR01CA0100.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:5d::18) To DM5PR1201MB2474.namprd12.prod.outlook.com (2603:10b6:3:e3::8) MIME-Version: 1.0 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [165.204.157.251] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: b31c7835-ce5e-4af3-4239-08d76f18020c X-MS-TrafficTypeDiagnostic: DM5PR1201MB0171: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2331; X-Forefront-PRVS: 02296943FF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(39860400002)(346002)(366004)(136003)(189003)(199004)(7736002)(1076003)(66066001)(48376002)(50466002)(186003)(2351001)(2906002)(450100002)(99286004)(66946007)(6436002)(81156014)(66476007)(66556008)(3846002)(36756003)(5660300002)(6116002)(4326008)(316002)(8936002)(2616005)(8676002)(6486002)(6916009)(52116002)(2361001)(26005)(16586007)(6506007)(386003)(51416003)(9686003)(14444005)(81166006)(47776003)(14454004)(478600001)(6512007)(50226002)(25786009)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR1201MB0171; H:DM5PR1201MB2474.namprd12.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S830gQauc1U2ES+xvwViaLPHJZ9ysst5PTZRKHmff6XZ4NesnpHIfDY8TgkwAC7s1p1XjPzrOC7y3nNZlJlstDaa+3hz+nO7EtxmHxVTC+AT8DEEgT6GF37dw+5GIaFl+6yFouutBq5y6jempDSJNFY64v2/kG+nev/NpkQBx6e26pzDwj00Z/VMolZuWq8dluLwKHPq6NLrlCNqWpvChbYDg+kAV2BCdo+xNF1XF1g+Xr9HIFfY/1D//Go6Ie5+dFYtru3AwgMpHoUjDaJ90J/uSQFjDlyw8jiE5ZlY7OoCyD3BHEmlsavfhhOk4inF8Mg19jaAHa7PEYI6CLEm/qNDzaWrWOrGA/92oRKuPtG958b22sld1CVEWkJCSsdZk+U5SxzxiQzlZgaq4Ku1PWV6w4Xv2KAnpaaRI+o0OKZHCtEGOkf5vTEJk8guOYII X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: b31c7835-ce5e-4af3-4239-08d76f18020c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2019 06:48:40.5678 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +qJJ5EiMwjkTVK7yGnQqUzoL+d53700DqhNF4QOexG03UrT/wuE3I0u6yNVgwDeYLynMAumcAvVC/lkJudtjQg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0171 Subject: [dpdk-dev] [PATCH v2 1/5] doc: fix app usage in CCP guide 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" From: Amaranath Somalapuram Updateing the CCP doc, fixing description of some parameter. Changing AES_CBC to aes-cbc, SHA1_HMAC to sha1-hmac Fixes: 4433ced9aa ("doc: add AMD CCP guide") Cc: stable@dpdk.org Signed-off-by: Amaranath Somalapuram --- doc/guides/cryptodevs/ccp.rst | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/guides/cryptodevs/ccp.rst b/doc/guides/cryptodevs/ccp.rst 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: .. code-block:: console - 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:11: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 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:11:11 + :11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11 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=1 to --vdev parameters as @@ -124,14 +124,14 @@ following: .. code-block:: console - sudo ./build/l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp,ccp_auth_opt=1" -- -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:11: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=1" -- -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:11:11 + :11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11 Limitations ----------- -- 2.17.1