[dpdk-stable] [PATCH v11 0/4] raw/ifpga: add extra OPAE APIs

Zhang, Qi Z qi.z.zhang at intel.com
Thu Jan 21 08:08:58 CET 2021



> -----Original Message-----
> From: Huang, Wei <wei.huang at intel.com>
> Sent: Thursday, January 21, 2021 2:04 PM
> To: dev at dpdk.org; Xu, Rosen <rosen.xu at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>
> Cc: stable at dpdk.org; Zhang, Tianfei <tianfei.zhang at intel.com>; Huang, Wei
> <wei.huang at intel.com>
> Subject: [PATCH v11 0/4] raw/ifpga: add extra OPAE APIs
> 
> 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 v10:
> - remove call of rte_eal_init() and rte_eal_cleanup()
> - rename opae_init_eal() to opae_init()
> - rename opae_cleanup_eal() to opae_cleanup()
> 
> Wei Huang (4):
>   raw/ifpga: add fpga rsu function
>   raw/ifpga: add fpga property get function
>   raw/ifpga: add OPAE API for OpenStack Cyborg
>   examples/ifpga: add example for opae ifpga API
> 
>  MAINTAINERS                                |    1 +
>  doc/guides/sample_app_ug/ifpga.rst         |  435 +++++
>  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     |  435 +++++
>  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     |   89 +
>  drivers/raw/ifpga/base/meson.build         |    2 +
>  drivers/raw/ifpga/base/opae_hw_api.c       |   77 +
>  drivers/raw/ifpga/base/opae_hw_api.h       |   13 +
>  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_opae_api.c         | 1793 ++++++++++++++++++++
>  drivers/raw/ifpga/ifpga_opae_api.h         |  248 +++
>  drivers/raw/ifpga/ifpga_rawdev.c           |  352 ++++
>  drivers/raw/ifpga/ifpga_rawdev.h           |   50 +-
>  drivers/raw/ifpga/meson.build              |    4 +-
>  examples/ifpga/Makefile                    |   45 +
>  examples/ifpga/commands.c                  | 1321 ++++++++++++++
>  examples/ifpga/commands.h                  |   16 +
>  examples/ifpga/main.c                      |   41 +
>  examples/ifpga/meson.build                 |   19 +
>  28 files changed, 5764 insertions(+), 4 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/ifpga_opae_api.c
>  create mode 100644 drivers/raw/ifpga/ifpga_opae_api.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
> 
> --
> 2.29.2


Applied to dpdk-next-net-intel.

Thanks
Qi


More information about the stable mailing list