From: Wei Huang <wei.huang@intel.com>
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 <wei.huang@intel.com>
Subject: [dpdk-dev] [PATCH v14 0/4] raw/ifpga: add extra OPAE APIs
Date: Sun, 21 Feb 2021 22:15:43 -0500 [thread overview]
Message-ID: <1613963747-30047-1-git-send-email-wei.huang@intel.com> (raw)
In-Reply-To: <1612921738-26208-1-git-send-email-wei.huang@intel.com>
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 v13:
- fix compilation issue of unused const variable 'kdrv'
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/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 +-
33 files changed, 5909 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
next prev parent reply other threads:[~2021-02-22 3:15 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-10 1:48 [dpdk-dev] [PATCH v13 " Wei Huang
2021-02-10 1:48 ` [dpdk-dev] [PATCH v13 1/4] raw/ifpga: add fpga rsu APIs Wei Huang
2021-02-10 1:48 ` [dpdk-dev] [PATCH v13 2/4] raw/ifpga: add APIs to get fpga information Wei Huang
2021-02-10 1:48 ` [dpdk-dev] [PATCH v13 3/4] raw/ifpga: add miscellaneous APIs Wei Huang
2021-02-10 1:48 ` [dpdk-dev] [PATCH v13 4/4] examples/ifpga: add example for ifpga APIs Wei Huang
2021-02-10 9:37 ` [dpdk-dev] [dpdk-stable] [PATCH v13 0/4] raw/ifpga: add extra OPAE APIs Thomas Monjalon
2021-02-22 1:59 ` Huang, Wei
2021-02-22 9:12 ` Thomas Monjalon
2021-02-22 3:15 ` Wei Huang [this message]
2021-02-22 3:15 ` [dpdk-dev] [PATCH v14 1/4] raw/ifpga: add fpga rsu APIs Wei Huang
2021-02-22 3:15 ` [dpdk-dev] [PATCH v14 2/4] raw/ifpga: add APIs to get fpga information Wei Huang
2021-02-22 3:15 ` [dpdk-dev] [PATCH v14 3/4] raw/ifpga: add miscellaneous APIs Wei Huang
2021-02-22 3:15 ` [dpdk-dev] [PATCH v14 4/4] examples/ifpga: add example for ifpga APIs Wei Huang
2021-02-22 7:35 ` [dpdk-dev] [PATCH v15 0/4] raw/ifpga: add extra OPAE APIs Wei Huang
2021-02-22 7:35 ` [dpdk-dev] [PATCH v15 1/4] raw/ifpga: add fpga rsu APIs Wei Huang
2021-02-22 7:35 ` [dpdk-dev] [PATCH v15 2/4] raw/ifpga: add APIs to get fpga information Wei Huang
2021-02-22 7:35 ` [dpdk-dev] [PATCH v15 3/4] raw/ifpga: add miscellaneous APIs Wei Huang
2021-02-22 7:35 ` [dpdk-dev] [PATCH v15 4/4] examples/ifpga: add example for ifpga APIs Wei Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1613963747-30047-1-git-send-email-wei.huang@intel.com \
--to=wei.huang@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=qi.z.zhang@intel.com \
--cc=rosen.xu@intel.com \
--cc=stable@dpdk.org \
--cc=tianfei.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).