Skip to content

raw/ifpga/base: An inprovement for multi-process

Tianfei zhang dpdk-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest4 patches 0 repliesNew

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4raw/ifpga/base: fix bug in IRQ functionsdrivers/raw/ifpga/ifpga_rawdev.c+23 -180 replies
2/4raw/ifpga/base: free resources when destroying ifpga devicedrivers/raw/ifpga/base/ifpga_api.c drivers/raw/ifpga/base/ifpga_enumerate.c drivers/raw/ifpga/base/ifpga_enumerate.h +1 more+35 -20 replies
3/4raw/ifpga/base: cleanup ifpga raw devices when process quitdrivers/raw/ifpga/ifpga_rawdev.c+20 -00 replies
4/4raw/ifpga/base: enhance driver reliablity in multi-processdrivers/raw/ifpga/base/ifpga_fme.c drivers/raw/ifpga/base/meson.build drivers/raw/ifpga/base/opae_hw_api.c +7 more+456 -710 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRosen Xu
SeriesA-b A-b A-b A-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [dpdk-dev] [PATCH v4 0/4] raw/ifpga/base: An inprovement for multi-process

This patches set will impove the ifpga base driver reliablity in multi-process envirment.

Patch #1: Fix a bug for register and unregister interrupt functions.
Patch #2: Add two functions to free the resouce when we destroy the opae adapter.
Patch #3: Add function ifpga_rawdev_cleanup() to cleanup all ifpga raw devices.
Patch #4: An inprovement of the concurrent in multi-process operation. A share memory mechanism and some new mutex will be used for multi-proces protection.

Wei Huang (4):
raw/ifpga/base: fix bug in IRQ functions raw/ifpga/base: free resources when destroying ifpga device raw/ifpga/base: cleanup ifpga raw devices when process quit raw/ifpga/base: enhance driver reliablity in multi-process

 drivers/raw/ifpga/base/ifpga_api.c            |  12 +
 drivers/raw/ifpga/base/ifpga_enumerate.c      |  16 ++
 drivers/raw/ifpga/base/ifpga_enumerate.h      |   1 +
 drivers/raw/ifpga/base/ifpga_fme.c            |  52 +++-
 drivers/raw/ifpga/base/meson.build            |  12 +
 drivers/raw/ifpga/base/opae_hw_api.c          | 250 ++++++++++++++++++
 drivers/raw/ifpga/base/opae_hw_api.h          |  27 +-
 drivers/raw/ifpga/base/opae_i2c.c             |   9 +-
 drivers/raw/ifpga/base/opae_i2c.h             |   1 +
 drivers/raw/ifpga/base/opae_intel_max10.c     | 152 ++++++-----
 drivers/raw/ifpga/base/opae_spi.c             |   4 +
 drivers/raw/ifpga/base/opae_spi.h             |   5 +
 drivers/raw/ifpga/base/opae_spi_transaction.c |  15 +-
 drivers/raw/ifpga/ifpga_rawdev.c              |  69 +++--
 14 files changed, 534 insertions(+), 91 deletions(-)
Signature · 1 line
2.17.1