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 7E6A6A3160 for ; Fri, 11 Oct 2019 09:01:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 10E101E95C; Fri, 11 Oct 2019 09:01:06 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 5012E1E92B for ; Fri, 11 Oct 2019 09:01:04 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id e10so1234663pgd.11 for ; Fri, 11 Oct 2019 00:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Mv6WhGCzIQx2ARHq1JVwpZN6uTBUDB7Dqw8lKnBaJgc=; b=gswDQf/k4/joeJdIqUcscDIHyDvlXHmd88Z5zKtq7QSwOHrmAbJe8EUl1zsRYT85iY FtP48BHb2rc+ZjE9gVSs8lfNc21hpBSjnjJCshdWLRA4aZDXpDfFX6Jf62Ggrb/51W8M YiUnb2UlL7hHAkyvEWngA+yRLlImyy8TysW9nzAco9FL4asTh5aEVVE+bM9Kia9OMXKw 0lg4edmkSn+VyfAl1RfqXDk93q9HG+5K+8bb6i1lNhwqLkDCMIbjJagn1HY1WvPf4hfK sU3Q6rjnQ1VA7ppV7iQ0801IEsd17AiKQqQRnszIO+pa9ENtEM0sGWeNtwL27PFAJnmI r8eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Mv6WhGCzIQx2ARHq1JVwpZN6uTBUDB7Dqw8lKnBaJgc=; b=aVev7s2NdTY0JwjxIVu+Md42Bo6kTeWttZ2WvmYmssiNC/Jdg0OsNfZ/01DKu7O42h QrJHFdzf02eDIbs1GIklEvYbYXhSPGy2yhWQLUwGIZ+ojPHaIg1TYjvqCv5lF8/XcQnW 1Sh/L9qKU2PhntiTNv5AehU2Y9iKAhS9M+DZA7HlPcxtmUex13sw96sGAyRwLCxH6WnF G2ZM0gDo/SDw1pvPtS+1qP6slbeeVPdd9hwjaTzkX0NIqekSEKeOKuUq4UYnNoTijEXS p/NK07INi8ie0qd2rP5m1tPEFGmN8la1OApcjpCDq4s43Gymj0VnGkdysNuLIfm87+13 ZT7g== X-Gm-Message-State: APjAAAWHznlx256Sz+6oQRiN6VQvuOobng4OxeMUF+3YtmboZRoovj5Q 6ol6B/iTye3uDkM+lXH4/1IfSpDD X-Google-Smtp-Source: APXvYqyEzAQqRHdnFx3esPuViGQ8nloMX1qClOFe5z+Qdqc7Bc3/y4Q83DrQr3D0TnuewRF+L5X7CQ== X-Received: by 2002:a65:400b:: with SMTP id f11mr15517130pgp.57.1570777262919; Fri, 11 Oct 2019 00:01:02 -0700 (PDT) Received: from amd.amd.com ([165.204.156.251]) by smtp.gmail.com with ESMTPSA id a11sm10040247pfg.94.2019.10.11.00.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2019 00:01:02 -0700 (PDT) From: somalapuram@gmail.com To: dev@dpdk.org Cc: Amaranath Somalapuram Date: Fri, 11 Oct 2019 12:30:45 +0530 Message-Id: <20191011070045.80202-1-somalapuram@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [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" From: Amaranath Somalapuram 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