From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E9F80A0547 for ; Mon, 22 Feb 2021 08:35:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DABE022A271; Mon, 22 Feb 2021 08:35:48 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 5BB1D4069C; Mon, 22 Feb 2021 08:35:46 +0100 (CET) IronPort-SDR: IMTfJ2B77MAX56Ls7JUvB7OeYtWMD/KhzTxgYEJrLfI1Kn3KfZ3XW+rAp0t6uF4evxyNrhiWDH P8AB2kOuyYcw== X-IronPort-AV: E=McAfee;i="6000,8403,9902"; a="183640812" X-IronPort-AV: E=Sophos;i="5.81,196,1610438400"; d="scan'208";a="183640812" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2021 23:35:45 -0800 IronPort-SDR: 7mDqjC1vEE0PJDXiR9ujT9cZKlAdqhkCELYo4saBc98vBSY8u0H4gPJstShOGy5oFPmpyq1F2x 9yg8vcLuvN+A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,196,1610438400"; d="scan'208";a="498391212" Received: from unknown (HELO sh_lab5_1.sh.intel.com) ([10.238.175.190]) by fmsmga001.fm.intel.com with ESMTP; 21 Feb 2021 23:35:43 -0800 From: Wei Huang To: dev@dpdk.org, rosen.xu@intel.com, qi.z.zhang@intel.com Cc: stable@dpdk.org, tianfei.zhang@intel.com, ferruh.yigit@intel.com, Wei Huang Date: Mon, 22 Feb 2021 02:35:48 -0500 Message-Id: <1613979352-4864-1-git-send-email-wei.huang@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1613963747-30047-1-git-send-email-wei.huang@intel.com> References: <1613963747-30047-1-git-send-email-wei.huang@intel.com> Subject: [dpdk-stable] [PATCH v15 0/4] raw/ifpga: add extra OPAE APIs X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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" Cyborg is part of OpenStack, it needs some OPAE APIs to manage devices with Intel FPGA. The first three patches implement extra APIs to meet Cyborg requirement. The last patch add an example to show how to use these APIs. Main changes from v14: - fix compilation issue of format error Wei Huang (4): raw/ifpga: add fpga rsu APIs raw/ifpga: add APIs to get fpga information raw/ifpga: add miscellaneous APIs examples/ifpga: add example for ifpga APIs MAINTAINERS | 3 + doc/api/doxy-api-index.md | 3 +- doc/api/doxy-api.conf.in | 1 + doc/guides/sample_app_ug/ifpga.rst | 387 +++++ doc/guides/sample_app_ug/index.rst | 1 + drivers/raw/ifpga/base/ifpga_api.c | 34 + drivers/raw/ifpga/base/ifpga_defines.h | 1 + drivers/raw/ifpga/base/ifpga_feature_dev.c | 21 + drivers/raw/ifpga/base/ifpga_feature_dev.h | 1 + drivers/raw/ifpga/base/ifpga_fme.c | 36 +- drivers/raw/ifpga/base/ifpga_fme_rsu.c | 428 +++++ drivers/raw/ifpga/base/ifpga_hw.h | 1 + drivers/raw/ifpga/base/ifpga_sec_mgr.c | 639 ++++++++ drivers/raw/ifpga/base/ifpga_sec_mgr.h | 93 ++ drivers/raw/ifpga/base/meson.build | 2 + drivers/raw/ifpga/base/opae_hw_api.c | 77 + drivers/raw/ifpga/base/opae_hw_api.h | 12 + drivers/raw/ifpga/base/opae_ifpga_hw_api.h | 1 + drivers/raw/ifpga/base/opae_intel_max10.c | 48 + drivers/raw/ifpga/base/opae_intel_max10.h | 44 + drivers/raw/ifpga/ifpga_rawdev.c | 30 + drivers/raw/ifpga/ifpga_rawdev.h | 7 +- drivers/raw/ifpga/meson.build | 4 +- drivers/raw/ifpga/rte_pmd_ifpga.c | 429 ++++++ drivers/raw/ifpga/rte_pmd_ifpga.h | 308 ++++ drivers/raw/ifpga/version.map | 18 + examples/ifpga/Makefile | 43 + examples/ifpga/commands.c | 1294 ++++++++++++++++ examples/ifpga/commands.h | 16 + examples/ifpga/main.c | 38 + examples/ifpga/meson.build | 20 + examples/ifpga/opae_api.c | 1630 ++++++++++++++++++++ examples/ifpga/opae_api.h | 244 +++ examples/meson.build | 2 +- 34 files changed, 5910 insertions(+), 6 deletions(-) create mode 100644 doc/guides/sample_app_ug/ifpga.rst create mode 100644 drivers/raw/ifpga/base/ifpga_fme_rsu.c create mode 100644 drivers/raw/ifpga/base/ifpga_sec_mgr.c create mode 100644 drivers/raw/ifpga/base/ifpga_sec_mgr.h create mode 100644 drivers/raw/ifpga/rte_pmd_ifpga.c create mode 100644 drivers/raw/ifpga/rte_pmd_ifpga.h create mode 100644 examples/ifpga/Makefile create mode 100644 examples/ifpga/commands.c create mode 100644 examples/ifpga/commands.h create mode 100644 examples/ifpga/main.c create mode 100644 examples/ifpga/meson.build create mode 100644 examples/ifpga/opae_api.c create mode 100644 examples/ifpga/opae_api.h -- 2.29.2