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 2846FA034C; Tue, 18 Aug 2020 15:47:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EC68DAAB7; Tue, 18 Aug 2020 15:47:02 +0200 (CEST) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id AF6441C01F for ; Tue, 11 Aug 2020 16:58:32 +0200 (CEST) Received: by mail-wm1-f67.google.com with SMTP id k8so3158289wma.2 for ; Tue, 11 Aug 2020 07:58:32 -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:mime-version :content-transfer-encoding; bh=DjoSwLsjq9siVwwxVKGlNLZ2POUv2uGpdM3Wa8XckDA=; b=YdHtBIYcRYlecRLVpiAYmY3aFjfp5UJvCOCPlvV7x/zx9ClipS1HM+KMEE20ScKPuc eOl6lNkrRo/ABR9TNmRTC81VI8GcdhrQBi+yjy8m4/W4wLwjufbE5SE6gEx43oqWaveC dSFpMIF74K/AQsUTrusHkwbPb+n603ZZnf4wg= 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:mime-version :content-transfer-encoding; bh=DjoSwLsjq9siVwwxVKGlNLZ2POUv2uGpdM3Wa8XckDA=; b=aajjMIQRJVqVle3mSz41yI29t30njmZ30WFg18/YjINILPR0vwlzTGj/pV0VDs6MZX TzZYe4oYkhd5DvdQ0XD1ajDP9mQMcVDa5nGSzsHIbEKDatBXqMce45j7IpC7tJehp0Y6 fVyA9qpz1Ku7zvpEsq6iF3ePcHf8DOzI53XKYivhERRe1SkwEuyxQye2hsa47dwOwRp8 unniuccmRancbopfZA+m3GqFqBJTdlX8P4YULH6XPw3gcqeYuNw4jCPJR96u7aMXBmlf MmTiqoIuHMrwQiKhJ4oLn9qbHGBVF3A2HBCsYlLLGIBcdiEiHGZsUTXYATYppKLGsxow 1xvQ== X-Gm-Message-State: AOAM531Tq+BhihmNza+P/wVQav/iNENIplZu8YDCo/Y0WWBV2xXrd+p9 FVlyH0c0cqNUbGp08seYI0yqGiV6qw4y90pRdRU8c53uoUbiNKRh5E5BeXp1qJeaNhQe7bUzJU+ 1n7u9LdajGvtHHvJdmXE8JtpT2kC8xj/E5HdTzmphZF17FgEFkLayUaS8xw== X-Google-Smtp-Source: ABdhPJx/p3uYpSdrwFj1RWWBXudi6MK/BLfOjc2m6Mmfz3z/IjsTm/AqMHr3SC1OIJpL6LmjMnAU7w== X-Received: by 2002:a1c:6446:: with SMTP id y67mr4403216wmb.49.1597157912022; Tue, 11 Aug 2020 07:58:32 -0700 (PDT) Received: from rahul_yocto_ubuntu18.ibn.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id f15sm5379862wmj.39.2020.08.11.07.58.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2020 07:58:31 -0700 (PDT) From: Vikas Gupta To: dev@dpdk.org, akhil.goyal@nxp.com, ajit.khaparde@broadcom.com Cc: vikram.prakash@broadcom.com, Vikas Gupta Date: Tue, 11 Aug 2020 20:28:05 +0530 Message-Id: <20200811145813.44754-1-vikas.gupta@broadcom.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 18 Aug 2020 15:47:01 +0200 Subject: [dpdk-dev] [PATCH 0 0/8] Add Crypto PMD for Broadcom`s FlexSparc devices 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, This patchset contains support for Crypto offload on Broadcom’s Stingray/Stingray2 SoCs having FlexSparc unit. BCMFS is an acronym for Broadcom FlexSparc device used in the patchest. The patchset progressively adds major modules as below. a) Detection of platform-device based on the known registered platforms and attaching with VFIO. b) Creation of Cryptodevice. c) Addition of session handling. d) Add Cryptodevice into test Cryptodev framework. The patchset has been tested on the above mentioned SoCs. Regards, Vikas Vikas Gupta (8): crypto/bcmfs: add BCMFS driver crypto/bcmfs: add vfio support crypto/bcmfs: add apis for queue pair management crypto/bcmfs: add hw queue pair operations crypto/bcmfs: create a symmetric cryptodev crypto/bcmfs: add session handling and capabilities crypto/bcmfs: add crypto h/w module crypto/bcmfs: add crypto pmd into cryptodev test MAINTAINERS | 7 + app/test/test_cryptodev.c | 261 +++++ app/test/test_cryptodev.h | 1 + config/common_base | 5 + doc/guides/cryptodevs/bcmfs.rst | 72 ++ doc/guides/cryptodevs/features/bcmfs.ini | 56 + doc/guides/cryptodevs/index.rst | 1 + drivers/crypto/bcmfs/bcmfs_dev_msg.h | 29 + drivers/crypto/bcmfs/bcmfs_device.c | 331 ++++++ drivers/crypto/bcmfs/bcmfs_device.h | 76 ++ drivers/crypto/bcmfs/bcmfs_hw_defs.h | 38 + drivers/crypto/bcmfs/bcmfs_logs.c | 38 + drivers/crypto/bcmfs/bcmfs_logs.h | 34 + drivers/crypto/bcmfs/bcmfs_qp.c | 383 +++++++ drivers/crypto/bcmfs/bcmfs_qp.h | 142 +++ drivers/crypto/bcmfs/bcmfs_sym.c | 316 ++++++ drivers/crypto/bcmfs/bcmfs_sym_capabilities.c | 764 ++++++++++++++ drivers/crypto/bcmfs/bcmfs_sym_capabilities.h | 16 + drivers/crypto/bcmfs/bcmfs_sym_defs.h | 186 ++++ drivers/crypto/bcmfs/bcmfs_sym_engine.c | 994 ++++++++++++++++++ drivers/crypto/bcmfs/bcmfs_sym_engine.h | 103 ++ drivers/crypto/bcmfs/bcmfs_sym_pmd.c | 426 ++++++++ drivers/crypto/bcmfs/bcmfs_sym_pmd.h | 38 + drivers/crypto/bcmfs/bcmfs_sym_req.h | 62 ++ drivers/crypto/bcmfs/bcmfs_sym_session.c | 426 ++++++++ drivers/crypto/bcmfs/bcmfs_sym_session.h | 99 ++ drivers/crypto/bcmfs/bcmfs_vfio.c | 94 ++ drivers/crypto/bcmfs/bcmfs_vfio.h | 17 + drivers/crypto/bcmfs/hw/bcmfs4_rm.c | 742 +++++++++++++ drivers/crypto/bcmfs/hw/bcmfs5_rm.c | 677 ++++++++++++ drivers/crypto/bcmfs/hw/bcmfs_rm_common.c | 82 ++ drivers/crypto/bcmfs/hw/bcmfs_rm_common.h | 46 + drivers/crypto/bcmfs/meson.build | 20 + .../crypto/bcmfs/rte_pmd_bcmfs_version.map | 3 + drivers/crypto/meson.build | 3 +- mk/rte.app.mk | 1 + 36 files changed, 6588 insertions(+), 1 deletion(-) create mode 100644 doc/guides/cryptodevs/bcmfs.rst create mode 100644 doc/guides/cryptodevs/features/bcmfs.ini create mode 100644 drivers/crypto/bcmfs/bcmfs_dev_msg.h create mode 100644 drivers/crypto/bcmfs/bcmfs_device.c create mode 100644 drivers/crypto/bcmfs/bcmfs_device.h create mode 100644 drivers/crypto/bcmfs/bcmfs_hw_defs.h create mode 100644 drivers/crypto/bcmfs/bcmfs_logs.c create mode 100644 drivers/crypto/bcmfs/bcmfs_logs.h create mode 100644 drivers/crypto/bcmfs/bcmfs_qp.c create mode 100644 drivers/crypto/bcmfs/bcmfs_qp.h create mode 100644 drivers/crypto/bcmfs/bcmfs_sym.c create mode 100644 drivers/crypto/bcmfs/bcmfs_sym_capabilities.c create mode 100644 drivers/crypto/bcmfs/bcmfs_sym_capabilities.h create mode 100644 drivers/crypto/bcmfs/bcmfs_sym_defs.h create mode 100644 drivers/crypto/bcmfs/bcmfs_sym_engine.c create mode 100644 drivers/crypto/bcmfs/bcmfs_sym_engine.h create mode 100644 drivers/crypto/bcmfs/bcmfs_sym_pmd.c create mode 100644 drivers/crypto/bcmfs/bcmfs_sym_pmd.h create mode 100644 drivers/crypto/bcmfs/bcmfs_sym_req.h create mode 100644 drivers/crypto/bcmfs/bcmfs_sym_session.c create mode 100644 drivers/crypto/bcmfs/bcmfs_sym_session.h create mode 100644 drivers/crypto/bcmfs/bcmfs_vfio.c create mode 100644 drivers/crypto/bcmfs/bcmfs_vfio.h create mode 100644 drivers/crypto/bcmfs/hw/bcmfs4_rm.c create mode 100644 drivers/crypto/bcmfs/hw/bcmfs5_rm.c create mode 100644 drivers/crypto/bcmfs/hw/bcmfs_rm_common.c create mode 100644 drivers/crypto/bcmfs/hw/bcmfs_rm_common.h create mode 100644 drivers/crypto/bcmfs/meson.build create mode 100644 drivers/crypto/bcmfs/rte_pmd_bcmfs_version.map -- 2.17.1