From patchwork Tue Oct 27 05:29:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vikas Gupta X-Patchwork-Id: 82263 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BD317A04B5; Tue, 27 Oct 2020 06:29:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0FC582BEA; Tue, 27 Oct 2020 06:29:41 +0100 (CET) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id F28BD2BE2 for ; Tue, 27 Oct 2020 06:29:38 +0100 (CET) Received: by mail-pl1-f193.google.com with SMTP id 1so168931ple.2 for ; Mon, 26 Oct 2020 22:29:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ndwQ1cm0gFcN5PVKa4+BVSA1VapKxx05V3EQal41uiE=; b=R8FNckCXNPq1BlVFkZAMzaEy/3GXRPOvjzzsQLk61oyM3MT8rWPC91LnbnqL9SMoEd kxSz1uVwO1I54/3O/HOvqLs4gnXEO8uua6lgn5DFzpXK+htDK2s2CpbBh3PvkDZN4mB5 ByQtQWvAihWpi/QUwSds1vlsucBsmByaVoC6A= 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:in-reply-to :references; bh=ndwQ1cm0gFcN5PVKa4+BVSA1VapKxx05V3EQal41uiE=; b=m8u1B2x98LRHlkGbVxOPt12zr+UbKx1ZH3ffFi3doLp+Rtx9y+PooSXAnZ+ss5vPTX KjAgVtqveXBSEwHcMJO84bTlwYKJZ6a0ZefWsyXBm9rhtDIsAh4Cre68rC1/rlvI3WMi djNyzAMNRlDKPP5B6tu/6Shh8H5JSWVbRSH8qJ6H0mKrJ23rJZGwkMaYfXFIKdATPG7s nCxOFlCOPgXTah8RpQowzLidNC3IwcyAW9z0BkIBWabb//+qzwiz2YnsFfx/5gtPOxcf p21l8KTviGaWXrBr5uwF7ZtioxrKa0PXrwmGL0Q2z76e1RJ2NeOFTP5qcA4ZQDO2rNoM pWjA== X-Gm-Message-State: AOAM532vScytHd8npdLbLQ9Ly7wbxB827uFlkpVl1uBieITE4UMCx6bx mdZHS62Dob+m1TucZ6R/C+X34HdIcJW0kugaujmtGZDDIyCZwGme1fqjBuoSQSy81CuE2JUQLzZ C28j25fbe3vXxzjRqajkNHLXqmYWUi9hkVa2JZCEQu3dp9b0RTFfFJJD3v97n X-Google-Smtp-Source: ABdhPJxEb/KfXNa/lnYWzori+lGPzIYiJ+2NQfCDqPsEbI8rfDR4kDZwfdnKJN3vi96i+0mP/nbhYg== X-Received: by 2002:a17:902:b789:b029:d3:f9aa:7f27 with SMTP id e9-20020a170902b789b02900d3f9aa7f27mr798385pls.47.1603776576560; Mon, 26 Oct 2020 22:29:36 -0700 (PDT) Received: from rahul_yocto_ubuntu18.ibn.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id m2sm578440pfh.44.2020.10.26.22.29.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 22:29:35 -0700 (PDT) From: Vikas Gupta To: dev@dpdk.org, akhil.goyal@nxp.com Cc: vikram.prakash@broadcom.com, Vikas Gupta Date: Tue, 27 Oct 2020 10:59:22 +0530 Message-Id: <20201027052922.7606-2-vikas.gupta@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201027052922.7606-1-vikas.gupta@broadcom.com> References: <20201027052922.7606-1-vikas.gupta@broadcom.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [PATCH v1 1/1] crypto/bcmfs: update documentation file 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" Update bcmfs.rst file with supported features and devices. Signed-off-by: Vikas Gupta Reviewed-by: Ajit Khaparde Reviewed-by: JP Lee --- doc/guides/cryptodevs/bcmfs.rst | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/doc/guides/cryptodevs/bcmfs.rst b/doc/guides/cryptodevs/bcmfs.rst index 8afece3b4b..f5dcd59c87 100644 --- a/doc/guides/cryptodevs/bcmfs.rst +++ b/doc/guides/cryptodevs/bcmfs.rst @@ -5,7 +5,7 @@ Broadcom FlexSparc Crypto Poll Mode Driver ========================================== The FlexSparc crypto poll mode driver (BCMFS PMD) provides support for offloading -cryptographic operations to the Broadcom SoCs having FlexSparc4/FlexSparc5 unit. +cryptographic operations to the Broadcom SoCs having FlexSparc4 unit. Detailed information about SoCs can be found at `Broadcom Official Website `__. @@ -13,12 +13,11 @@ Supported Broadcom SoCs ----------------------- * Stingray -* Stingray2 Features -------- -The BCMFS SYM PMD has support for: +The BCMFS PMD has support for below symmetric algorithms: Cipher algorithms: @@ -46,7 +45,6 @@ Hash algorithms: * ``RTE_CRYPTO_AUTH_SHA512`` * ``RTE_CRYPTO_AUTH_SHA512_HMAC`` * ``RTE_CRYPTO_AUTH_AES_XCBC_MAC`` -* ``RTE_CRYPTO_AUTH_AES_CBC_MAC`` * ``RTE_CRYPTO_AUTH_MD5_HMAC`` * ``RTE_CRYPTO_AUTH_AES_GMAC`` * ``RTE_CRYPTO_AUTH_AES_CMAC`` @@ -54,7 +52,6 @@ Hash algorithms: Supported AEAD algorithms: * ``RTE_CRYPTO_AEAD_AES_GCM`` -* ``RTE_CRYPTO_AEAD_AES_CCM`` Installation ------------ @@ -66,7 +63,7 @@ Information about kernel, rootfs and toolchain can be found at To execute BCMFS PMD, it must be compiled with VFIO_PRESENT flag on the compiling platform and same gets enabled in rte_vfio.h. -The BCMFS crypto PMD may be compiled natively on a Stingray/Stingray2 platform or +The BCMFS PMD may be compiled natively on a Stingray platform or cross-compiled on an x86 platform. For example, below commands can be executed for cross compiling on x86 platform. @@ -94,13 +91,13 @@ For example, below commands can be run to get hold of a device node by VFIO. Limitations ----------- -* Only supports the session-oriented API implementation (session-less APIs are not supported). -* CCM is not supported on Broadcom`s SoCs having FlexSparc4 unit. +* The session-oriented APIs are supported but the session-less APIs are not. +* CCM is not supported. Testing ------- -The symmetric crypto operations on BCMFS crypto PMD may be verified by running the test +The symmetric crypto operations on BCMFS PMD may be verified by running the test application: .. code-block:: console