Signed-off-by: Wei Huang
---
MAINTAINERS | 1 -
1 file changed, 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0d1c812..6eedea1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1440,7 +1440,6 @@ Rawdev Drivers
Intel FPGA
M: Rosen Xu
-M: Tianfei zhang
T: git://dpdk.org/next/dpdk
AFU device may be already unplugged in IFPGA bus cleanup process,
unplug AFU device only when it exists.
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/ifpga_rawdev.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/drivers/raw/ifpga/ifpga_rawdev.c b/drivers
Now ipn3ke is not evaluation in 19.05 .
Signed-off-by: Wei Huang
---
doc/guides/nics/ipn3ke.rst | 4
1 file changed, 4 deletions(-)
diff --git a/doc/guides/nics/ipn3ke.rst b/doc/guides/nics/ipn3ke.rst
index a89e371..d269bbe 100644
--- a/doc/guides/nics/ipn3ke.rst
+++ b/doc/guides/nics
The device name used in rte_eth_dev_allocated() function
is afu device name instead of representor name, this patch
correct it.
Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver")
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
---
drivers/net/ipn3ke/ipn3ke_ethdev.c | 2 +-
1 file
Thread does not exit after driver is removed. When there is no
more representor exist, the variable 'num' will be 0 and thread
can exit safely at this time.
Fixes: 70d6b7f550f4 ("net/ipn3ke: add representor")
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
---
VDEV bus has implemented cleanup() function to perform cleanup for
devices on the bus during eal_cleanup(), so there is no need for
ifpga driver to record virtual devices and unplug them.
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/ifpga_rawdev.c | 99
In this patch, cleanup method is implemented for FPGA bus
which will be called during eal_bus_cleanup().
Signed-off-by: Wei Huang
---
drivers/bus/ifpga/ifpga_bus.c | 36
1 file changed, 36 insertions(+)
diff --git a/drivers/bus/ifpga/ifpga_bus.c b/drivers
In function ifpga_scan_one(), variable 'path' is NULL if device argument
'afu_bts' is not set, subsequent string copy with 'path' would lead to
segmentation fault.
Fixes: 6fa4aa2b3645 ("bus/ifpga: fix forcing optional devargs")
Cc: sta...@dpdk.org
Signed-o
Expression "tx_chunks * ctx->dma_buf_size" in dma_fpga_to_fpga()
is evaluated using 32-bit arithmetic, which would overflow
potentially. Change tx_chunks to type "uint64_t" to avoid such
issue.
Coverity issue: 379203
Fixes: 7d63899a5c19 ("raw/ifpga: add N3000 AFU
Do null-checking on hw->adapter in fme_pmci_init() before dereference it.
Coverity issue: 379202
Fixes: ca6eb0f7c836 ("raw/ifpga/base: add PMCI base driver")
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/base/ifpga_fme.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
N6000 ADP platform support more sensors than N3000, they are
accessed with the help of PMCI sensor driver.
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/base/opae_hw_api.c | 29 +++
drivers/raw/ifpga/base/opae_hw_api.h | 1 +
drivers/raw/ifpga/base/opae_intel_max10.c | 326
introduced to adapt these changes.
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/base/ifpga_api.c | 9 +
drivers/raw/ifpga/base/ifpga_feature_dev.h | 2 +
drivers/raw/ifpga/base/ifpga_fme.c | 8 +
drivers/raw/ifpga/base/opae_hw_api.c | 20
N6000 ADP platform has different definition of board information,
they can be recognized after this patch.
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/base/ifpga_defines.h| 101 +++--
drivers/raw/ifpga/base/ifpga_fme.c| 121
PMCI (Platform Management Control Interface) is a new module in FPGA,
which is designed to cooperate with BMC chip to fulfill board management
functions.
This base driver implements interfaces to access registers of BMC chip.
Signed-off-by: Wei Huang
---
v2: fix typo. 'spi_master
, flash driver and
sensor driver.
2. remove RSU related patch from this patch set.
Wei Huang (4):
raw/ifpga/base: add PMCI base driver
raw/ifpga/base: update board information
raw/ifpga/base: update flash operation interface
raw/ifpga/base: add PMCI sensor driver
drivers/raw/ifpga/base
HE-HSSI is one of the host exerciser modules in OFS FPGA,
which is used to test HSSI (High Speed Serial Interface).
This driver initialize the module and report test result.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
v2: move source files to ifpga and rename
HE-MEM is one of the host exerciser modules in OFS FPGA,
which is used to test local memory with built-in traffic
generator.
This driver initialize the module and report test result.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
v2: move source files to ifpga and
HE-LPBK and HE-MEM-LPBK are host exerciser modules in OFS FPGA,
HE-LPBK is used to test PCI bus and HE-MEM-LPBK is used to test
local memory.
This driver initialize the modules and report test result.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
v2: move source
N3000 AFU includes NLB0 and DMA modules, NLB0 is used to test PCI bus
and DMA is used to test local memory.
This driver initialize the modules and report test result.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
v2: move source files to ifpga and rename, refine
AFU device.
2. call rte_rawdev_configure() to initialize AFU device.
3. call rte_rawdev_selftest() to test AFU device.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
v2: fix typo
---
v3: fix build error in FreeBSD13-64, UB2004-32 and UB2204-32
---
v4: fix coding style
comment.
Wei Huang (5):
raw/ifpga: introduce AFU driver framework
raw/ifpga: add N3000 AFU driver
raw/ifpga: add HE-LPBK AFU driver
raw/ifpga: add HE-MEM AFU driver
raw/ifpga: add HE-HSSI AFU driver
doc/guides/rawdevs/ifpga.rst| 98 ++
drivers/raw/ifpga/afu_pmd_core.c| 438
Update secure RSU (Remote System Update) driver to adapt the changes
introduced by OFS.
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/base/ifpga_api.c | 39 +-
drivers/raw/ifpga/base/ifpga_feature_dev.h |2 +
drivers/raw/ifpga/base/ifpga_fme.c |8 +
drivers/raw/ifpga
PMCI (Platform Management Control Interface) is a new module in FPGA,
which is designed to cooperate with BMC chip to fulfill board management
functions.
This driver provide interfaces to access registers of BMC chip and
external flash of FPGA.
Signed-off-by: Wei Huang
---
drivers/raw/ifpga
The first patch introduce PMCI driver to provide interface to access
PMCI functions which include flash controller.
The second patch update RSU (Remote System Update) implementation
to adapt with PMCI controller.
Changes from v1:
1. rebase code to 22.07-rc1
Wei Huang (2):
raw/ifpga/base: add
Coverity issue: 379064
Fixes: 673c897f4d73 ("raw/ifpga: support OFS card probing")
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/base/ifpga_enumerate.c | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/drivers/raw/ifpga/base/ifpga_enum
HE-HSSI is one of the host exerciser modules in OFS FPGA,
which is used to test HSSI (High Speed Serial Interface).
This driver initialize the module and report test result.
Signed-off-by: Wei Huang
---
v2: move source files to ifpga and rename, refine code
---
drivers/raw/ifpga
HE-MEM is one of the host exerciser modules in OFS FPGA,
which is used to test local memory with built-in traffic
generator.
This driver initialize the module and report test result.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
v2: move source files to ifpga and rename
---
drivers/raw
HE-LPBK and HE-MEM-LPBK are host exerciser modules in OFS FPGA,
HE-LPBK is used to test PCI bus and HE-MEM-LPBK is used to test
local memory.
This driver initialize the modules and report test result.
Signed-off-by: Wei Huang
---
v2: move source files to ifpga and rename, refine code
N3000 AFU includes NLB0 and DMA modules, NLB0 is used to test PCI bus
and DMA is used to test local memory.
This driver initialize the modules and report test result.
Signed-off-by: Wei Huang
---
v2: move source files to ifpga and rename, refine code
---
v3: fix Ubuntu 20.04 ARM build
AFU device.
2. call rte_rawdev_configure() to initialize AFU device.
3. call rte_rawdev_selftest() to test AFU device.
Signed-off-by: Wei Huang
---
v2: fix typo
---
v3: fix build error in FreeBSD13-64, UB2004-32 and UB2204-32
---
v4: fix coding style issue and build error in FreeBSD13-64
---
v5
The first patch implements the framework of the AFU PMD driver based on raw
device interfaces.
The subsequent patches implement the driver of some AFUs.
Changes from v6:
1. Fix Ubuntu 20.04 ARM build.
Wei Huang (5):
raw/ifpga: introduce AFU driver framework
raw/ifpga: add N3000 AFU driver
HE-HSSI is one of the host exerciser modules in OFS FPGA,
which is used to test HSSI (High Speed Serial Interface).
This driver initialize the module and report test result.
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/afu_pmd_he_hssi.c | 371
drivers/raw
HE-MEM is one of the host exerciser modules in OFS FPGA,
which is used to test local memory with built-in traffic
generator.
This driver initialize the module and report test result.
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/afu_pmd_he_mem.c | 183
HE-LPBK and HE-MEM-LPBK are host exerciser modules in OFS FPGA,
HE-LPBK is used to test PCI bus and HE-MEM-LPBK is used to test
local memory.
This driver initialize the modules and report test result.
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/afu_pmd_he_lpbk.c | 436
N3000 AFU includes NLB0 and DMA modules, NLB0 is used to test PCI bus
and DMA is used to test local memory.
This driver initialize the modules and report test result.
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/afu_pmd_core.h | 18 +
drivers/raw/ifpga/afu_pmd_n3000.c | 2019
AFU device.
2. call rte_rawdev_configure() to initialize AFU device.
3. call rte_rawdev_selftest() to test AFU device.
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/afu_pmd_core.c | 453 +++
drivers/raw/ifpga/afu_pmd_core.h | 76 +++
drivers/raw/ifpga
. Refine code per Tianfei's comments.
Wei Huang (5):
raw/ifpga: introduce AFU driver framework
raw/ifpga: add N3000 AFU driver
raw/ifpga: add HE-LPBK AFU driver
raw/ifpga: add HE-MEM AFU driver
raw/ifpga: add HE-HSSI AFU driver
drivers/raw/ifpga/afu_pmd_core.c| 453
dr
OFS (Open FPGA Stack) specification is introduced briefly.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
v2: update description per Tianfei's comment
---
v3: update afu driver name in diagram
---
doc/guides/rawdevs/ifpga.rst
is not the case in OFS implementation. In this patch, enumeration
can search AFU in any PF/VF which has no FME and port.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
v2: fix build error in UB2004-32
---
v3: update commit log with Tianfei's comment, treat
function call of ifpga_rawdev_destroy is as below.
ifpga_rawdev_destroy()
ifpga_unregister_msix_irq() // removed
rte_rawdev_pmd_release()
rte_rawdev_close()
ifpga_rawdev_close()
Fixes: e0a1aafe2af9 ("raw/ifpga: introduce IRQ functions")
Cc: sta...@dpdk.org
Signed-off-by:
: add Intel FPGA bus rawdev driver")
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
v2: update commit log with Tianfei's comment
---
v3: replace constant with PCI_PRI_STR_SIZE per Rosen's comment
---
drivers/raw/ifpga/
These APIs are introduced in DPDK 21.05 and have been tested in several
release, experimental tag can be formally removed.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
drivers/raw/ifpga/rte_pmd_ifpga.h | 48 ---
drivers/raw
Changes from v4:
1. update afu driver name in diagram in ifpga doc.
Wei Huang (5):
raw/ifpga: remove experimental tag from ifpga APIs
raw/ifpga: remove vdev when ifpga is closed
raw/ifpga: unregister interrupt in ifpga close function
raw/ifpga: support ofs card probe
guides/rawdevs: add
OFS (Open FPGA Stack) specification is introduced briefly.
Signed-off-by: Wei Huang
Reviewed-by: Rosen Xu
---
v2: update description per Tianfei's comment
---
doc/guides/rawdevs/ifpga.rst | 105 ++-
1 file changed, 104 insertions(+), 1 deletion(-)
is not the case in OFS implementation. In this patch, enumeration
can search AFU in any PF/VF which has no FME and port.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
v2: fix build error in UB2004-32
---
v3: update commit log with Tianfei's comment, treat 7 as special BAR index
-
function call of ifpga_rawdev_destroy is as below.
ifpga_rawdev_destroy()
ifpga_unregister_msix_irq() // removed
rte_rawdev_pmd_release()
rte_rawdev_close()
ifpga_rawdev_close()
Fixes: e0a1aafe2af9 ("raw/ifpga: introduce IRQ functions")
Cc: sta...@dpdk.org
Signed-off-by:
: add Intel FPGA bus rawdev driver")
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
---
v2: update commit log with Tianfei's comment
---
v3: replace constant with PCI_PRI_STR_SIZE per Rosen's comment
---
drivers/raw/ifpga/ifpga_rawdev.c | 166 ++
These APIs are introduced in DPDK 21.05 and have been tested in several
release, experimental tag can be formally removed.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Reviewed-by: Rosen Xu
---
drivers/raw/ifpga/rte_pmd_ifpga.h | 48 ---
drivers/raw
Changes from v3:
1. replace constant with PCI_PRI_STR_SIZE per Rosen's comment.
2. update commit log with more explanations about the function call.
3. fix typo and coding style issue.
4. update ifpga documentation per Tianfei's comment.
Wei Huang (5):
raw/ifpga: remove experimenta
HE-HSSI is one of the host exerciser modules in OFS FPGA,
which is used to test HSSI (High Speed Serial Interface).
This driver initialize the module and report test result.
Signed-off-by: Wei Huang
---
drivers/raw/afu_mf/afu_mf_rawdev.c | 3 +
drivers/raw/afu_mf/he_hssi.c | 369
HE-MEM is one of the host exerciser modules in OFS FPGA,
which is used to test local memory with built-in traffic
generator.
This driver initialize the module and report test result.
Signed-off-by: Wei Huang
---
drivers/raw/afu_mf/afu_mf_rawdev.c | 3 +
drivers/raw/afu_mf/he_mem.c
HE-LBK and HE-MEM-LBK are host exerciser modules in OFS FPGA,
HE-LBK is used to test PCI bus and HE-MEM-LBK is used to test
local memory.
This driver initialize the modules and report test result.
Signed-off-by: Wei Huang
---
drivers/raw/afu_mf/afu_mf_rawdev.c | 5 +
drivers/raw/afu_mf
N3000 AFU includes NLB0 and DMA modules, NLB0 is used to test PCI bus
and DMA is used to test local memory.
This driver initialize the modules and report test result.
Signed-off-by: Wei Huang
---
drivers/raw/afu_mf/afu_mf_rawdev.c |4 +
drivers/raw/afu_mf/afu_mf_rawdev.h | 18 +
drivers
rte_rawdev_pmd_get_named_dev() to find AFU raw device.
2. call rte_rawdev_configure() to initialize AFU raw device.
3. call rte_rawdev_selftest() to test function of AFU.
Signed-off-by: Wei Huang
---
v2: fix typo
---
v3: fix build error in FreeBSD13-64, UB2004-32 and UB2204-32
---
v4: fix coding style issue and
The first patch implements the framework of the AFU raw device
driver.
The subsequent patches implement the driver of some AFUs.
Wei Huang (5):
drivers/raw: introduce AFU raw device driver
raw/afu_mf: add N3000 AFU driver
raw/afu_mf: add HE-LBK AFU driver
raw/afu_mf: add HE-MEM AFU driver
OFS (Open FPGA Stack) specification is introduced briefly.
Signed-off-by: Wei Huang
---
doc/guides/rawdevs/ifpga.rst | 114 ++-
1 file changed, 113 insertions(+), 1 deletion(-)
diff --git a/doc/guides/rawdevs/ifpga.rst b/doc/guides/rawdevs/ifpga.rst
is not the case in OFS implementation. In this patch, enumeration
can search AFU in any PF/VF which has no FME and port.
Signed-off-by: Wei Huang
---
v2: fix build error in UB2004-32
---
v3: update commit log with Tianfei's comment, treat 7 as special BAR index.
---
drivers/raw/ifpga
close function, when rte_rawdev_pmd_release is called,
rte_rawdev_close will be called, then interrupts are unregistered.
Signed-off-by: Wei Huang
---
v2: update commit log
---
drivers/raw/ifpga/ifpga_rawdev.c | 29 +++--
1 file changed, 11 insertions(+), 18 deletions
: add Intel FPGA bus rawdev driver")
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
---
v2: update commit log, use macro to replace immediate value.
---
drivers/raw/ifpga/ifpga_rawdev.c | 166 ++-
drivers/raw/ifpga/ifpga_rawdev.h | 8 ++
2 files changed, 138
These APIs are introduced in DPDK 21.05 and have been tested in several
release, experimental tag can be formally removed.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
drivers/raw/ifpga/rte_pmd_ifpga.h | 48 ---
drivers/raw/ifpga/version.map | 7
Changes from v2:
1. update commit log with Tianfei's comment.
2. use macro to define immediate value.
3. treat 7 as special PCI BAR index.
4. update ifpga documentation with OFS introduction.
Wei Huang (5):
raw/ifpga: remove experimental tag from ifpga APIs
raw/ifpga: remove vdev when
Update secure RSU (Remote System Update) driver to adapt the changes
introduced by OFS.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
drivers/raw/ifpga/base/ifpga_api.c | 39 +-
drivers/raw/ifpga/base/ifpga_feature_dev.h |2 +
drivers/raw/ifpga/base/ifpga_fme.c
PMCI (Platform Management Control Interface) is a new module in FPGA,
which is designed to cooperate with BMC chip to fulfill board management
functions.
This driver provide interfaces to access registers of BMC chip and
external flash of FPGA.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
First patch introduce PMCI driver to provide interface to access
PMCI functions which include flash controller.
The second patch update RSU (Remote System Update) implementation
to adapt with PMCI controller.
Wei Huang (2):
raw/ifpga/base: add pmci driver
raw/ifpga: update secure rsu
Add afu_mf driver to manage various AFU (Acceleration Function Unit)
in FPGA.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
v2: fix typo
---
v3: fix build error in FreeBSD13-64, UB2004-32 and UB2204-32
---
v4: fix coding style issue and build error in FreeBSD13-64
---
drivers/raw/afu_mf
Add afu_mf driver to manage various AFU (Acceleration Function Unit)
in FPGA.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
v2: fix typo
---
v3: fix build error in FreeBSD13-64, UB2004-32 and UB2204-32
---
drivers/raw/afu_mf/afu_mf_rawdev.c | 440
drivers/raw/afu_mf
ofs card introduces some changes in DFL (Device Feature List) and
DFH (Device Feature Header) of FPGA. ifpga driver adapt these
changes mainly by adjusting enumeration process.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
v2: fix build error in UB2004-32
---
drivers/raw/ifpga/base
Move interrupt unregistration from ifpga destroy function to
ifpga close function, so rte_rawdev_pmd_release function can
release interrupt resource.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
drivers/raw/ifpga/ifpga_rawdev.c | 29 +++--
1 file changed, 11
;)
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Acked-by: Rosen Xu
---
drivers/raw/ifpga/ifpga_rawdev.c | 166 ++-
drivers/raw/ifpga/ifpga_rawdev.h | 8 ++
2 files changed, 138 insertions(+), 36 deletions(-)
diff --git a/drivers
These APIs are introduced in DPDK 21.05 and have been tested in several
release, experimental tag can be formally removed.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
drivers/raw/ifpga/rte_pmd_ifpga.h | 48 ---
drivers/raw/ifpga/version.map | 7
The changes in version 2:
Fix build error in UB2004-32, replace "%zu" with "PRIu64".
Wei Huang (4):
raw/ifpga: remove experimental tag from ifpga APIs
raw/ifpga: remove vdev when ifpga is closed
raw/ifpga: unregister interrupt in ifpga close function
raw/ifpga: su
Add afu_mf driver to manage various AFU (Acceleration Function Unit)
in FPGA.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
v2: fix typo
---
drivers/raw/afu_mf/afu_mf_rawdev.c | 440
drivers/raw/afu_mf/afu_mf_rawdev.h | 89 ++
drivers/raw/afu_mf/he_hssi.c | 369
Add afu_mf driver to manage various AFU (Acceleration Function Unit)
in FPGA.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
drivers/raw/afu_mf/afu_mf_rawdev.c | 440
drivers/raw/afu_mf/afu_mf_rawdev.h | 89 ++
drivers/raw/afu_mf/he_hssi.c | 369 +++
drivers/raw
ofs card introduces some changes in DFL (Device Feature List) and
DFH (Device Feature Header) of FPGA. ifpga driver adapt these
changes mainly by adjusting enumeration process.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
drivers/raw/ifpga/base/ifpga_api.c | 28 +-
drivers/raw
;)
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Acked-by: Rosen Xu
---
drivers/raw/ifpga/ifpga_rawdev.c | 166 ++-
drivers/raw/ifpga/ifpga_rawdev.h | 8 ++
2 files changed, 138 insertions(+), 36 deletions(-)
diff --git a/drivers
Move interrupt unregistration from ifpga destroy function to
ifpga close function, so rte_rawdev_pmd_release function can
release interrupt resource.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
drivers/raw/ifpga/ifpga_rawdev.c | 29 +++--
1 file changed, 11
These APIs are introduced in DPDK 21.05 and have been tested in several
release, experimental tag can be formally removed.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
drivers/raw/ifpga/rte_pmd_ifpga.h | 48 ---
drivers/raw/ifpga/version.map | 7
Stack) type card enumeration and
initialization.
Wei Huang (4):
raw/ifpga: remove experimental tag from ifpga APIs
raw/ifpga: remove vdev when ifpga is closed
raw/ifpga: unregister interrupt in ifpga close function
raw/ifpga: support ofs card probe
drivers/raw/ifpga/base/ifpga_api.c
;)
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Acked-by: Rosen Xu
---
v2: cleanup vdev_name no matter rte_vdev_uninit succeed or not
---
v3: cleanup vdev_name in ifpga_cfg_remove
---
v4: add fix information in log
---
drivers/raw/ifpga/ifpga_rawd
Virtual devices created on ifpga raw device are not removed when
ifpga is closed. To avoid such problem, ifpga virtual device remove
function is implemented, virtual device is removed in raw device
close function.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Acked-by: Rosen Xu
---
v2
, the variables
are initialized when they are defined.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Acked-by: Rosen Xu
---
drivers/raw/ifpga/ifpga_rawdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/raw/ifpga/ifpga_rawdev.c b/drivers/raw/ifpga/ifpga_raw
Virtual devices created on ifpga raw device are not removed when
ifpga is closed. To avoid such problem, ifpga virtual device remove
function is implemented, virtual device is removed in raw device
close function.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Acked-by: Rosen Xu
---
v2
Virtual devices created on ifpga raw device are not removed when
ifpga is closed. To avoid such problem, ifpga virtual device remove
function is implemented, virtual device is removed in raw device
close function.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
Acked-by: Rosen Xu
---
drivers
reference
count is checked before canceling the thread.
Fixes: 9c006c45 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
drivers/raw/ifpga/ifpga_rawdev.c | 62 ++--
drivers
Scalar variable sub_brg_bdf may be used uninitialized in function
ifpga_rawdev_fill_info(). It is initialized now in this fix.
Coverity issue: 375805
Fixes: 9c006c45d0c5 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
---
v2: add space after com
Scalar variable sub_brg_bdf may be used uninitialized in function
ifpga_rawdev_fill_info(). It is initialized now in this fix.
Coverity issue: 375805
Fixes: 9c006c45d0c5 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
---
v2: add space after com
Scalar variable sub_brg_bdf may be used uninitialized in function
ifpga_rawdev_fill_info(). It is initialized now in this fix.
Fixes: 9c006c45d0c5 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
---
v2: add space after comma to meet coding style r
Allocate FPGA interrupt handle instance for each card.
Fixes: e0a1aafe2af9 ("raw/ifpga: introduce IRQ functions")
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/ifpga_rawdev.c | 94
drivers/raw/ifpga/ifpga_rawdev.h | 7 ++
Scalar variable sub_brg_bdf may be used uninitialized in function
ifpga_rawdev_fill_info(), this fix initialize it.
Fixes: 9c006c45d0c5 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
---
v2: add space after comma to meet coding style r
Scalar variable sub_brg_bdf may be used uninitialized in function
ifpga_rawdev_fill_info(), this fix initialize it.
Fixes: 9c006c45d0c5 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/ifpga_rawdev.c | 2 +-
1 file changed, 1
Use rte_dev_remove() to replace rte_rawdev_pmd_release()
in ifpga_rawdev_cleanup(), resources occupied by ifpga
raw devices such as threads can be released correctly.
Fixes: f724a802 ("raw/ifpga: add miscellaneous APIs")
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/ifpga_rawdev.c |
Fix ID value of port features to match the definition from hardware.
Fixes: 473c88f9 ("drivers/raw: remove rawdev from directory names")
Signed-off-by: Wei Huang
---
drivers/raw/ifpga/base/ifpga_defines.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/d
From: Tianfei Zhang
When we want to close a thread, we should set a flag to notify
thread handler function.
Fixes: 9c006c45 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Tianfei Zhang
---
v2: update commit log
---
v3: set thread id to 0 after pthread_join
---
v4:
From: Tianfei Zhang
When we want to close a thread, we should set a flag to notify
thread handler function.
Fixes: 9c006c45 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Tianfei Zhang
---
v2: update commit log
---
v3: set thread id to 0 after pthread_join
---
v4:
From: Tianfei Zhang
When we want to close a thread, we should set a flag to notify
thread handler function.
Fixes: 9c006c45 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Tianfei Zhang
---
v2: update commit log
---
v3: set thread id to 0 after pthread_join
---
v4:
From: Tianfei Zhang
When we want to close a thread, we should set a flag to notify
thread handler function.
Fixes: 9c006c45 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Tianfei Zhang
---
v2: update commit log
---
v3: set thread id to 0 after pthread_join
---
v4:
From: Tianfei Zhang
When we want to close a thread, we should set a flag to notify
thread handler function.
Fixes: 9c006c45 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Tianfei Zhang
---
v2: update commit log
---
v3: set thread id to 0 after pthread_join
---
v4:
From: Tianfei Zhang
When we want to close a thread, we should set a flag to notify
thread handler function.
Fixes: 9c006c45 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Tianfei Zhang
---
v2: update commit log
---
v3: set thread id to 0 after pthread_join
---
dri
From: Tianfei Zhang
When we want to close a thread, we should set a flag to notify
thread handler function.
Fixes: 9c006c45 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Tianfei Zhang
---
v2: update commit log
---
drivers/raw/ifpga/ifpga_rawdev.c | 8
1
From: Tianfei Zhang
When we want to close a thread, we should set a flag to
thread handler function.
Fixes: 9c006c45 ("raw/ifpga: scan PCIe BDF device tree")
Cc: sta...@dpdk.org
Signed-off-by: Tianfei Zhang
---
drivers/raw/ifpga/ifpga_rawdev.c | 8
1 file changed, 4 insertions(+), 4
1 - 100 of 223 matches
Mail list logo