Skip to content

add PCIe AER disable and IRQ support for ipn3ke

Andy Pei dpdk-dev 11 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v14 Latest19 patches 3 repliesIn review
  2. v1319 patches 5 repliesSuperseded
  3. v1219 patches 1 replySuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v1119 patches2 repliesSuperseded
v1019 patches0 repliesSuperseded
v918 patches5 repliesSuperseded
v818 patches0 repliesSuperseded
v717 patches2 repliesSuperseded
v617 patches10 repliesSuperseded
v517 patches0 repliesSuperseded
v412 patches1 replySuperseded

Patches in v14 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19net/i40e: i40e support ipn3ke FPGA port bondingdrivers/net/i40e/base/i40e_type.h drivers/net/i40e/i40e_ethdev.c drivers/net/i40e/rte_pmd_i40e.c +2 more+55 -10 replies
2/19raw/ifpga/base: add irq supportconfig/common_base config/common_linux drivers/raw/ifpga/base/ifpga_feature_dev.c +3 more+122 -10 replies
3/19raw/ifpga/base: clear pending bitdrivers/raw/ifpga/base/ifpga_defines.h drivers/raw/ifpga/base/ifpga_fme_error.c drivers/raw/ifpga/base/opae_osdep.h+11 -90 replies
4/19raw/ifpga/base: add SEU error supportdrivers/raw/ifpga/base/ifpga_defines.h drivers/raw/ifpga/base/ifpga_fme_error.c drivers/raw/ifpga/base/opae_ifpga_hw_api.h+37 -10 replies
5/19raw/ifpga/base: add device tree supportconfig/common_base config/common_linux drivers/meson.build +6 more+235 -210 replies
6/19raw/ifpga/base: align the send buffer for SPIdrivers/raw/ifpga/base/opae_spi_transaction.c+36 -40 replies
7/19raw/ifpga/base: add sensor supportdrivers/raw/ifpga/base/opae_intel_max10.c drivers/raw/ifpga/base/opae_intel_max10.h+335 -00 replies
8/19raw/ifpga/base: introducing sensor APIsdrivers/raw/ifpga/base/ifpga_api.c drivers/raw/ifpga/base/ifpga_feature_dev.h drivers/raw/ifpga/base/ifpga_fme.c +2 more+165 -00 replies
9/19raw/ifpga/base: update SEU register definitiondrivers/raw/ifpga/base/ifpga_defines.h+3 -10 replies
10/19raw/ifpga: add SEU error handlerdrivers/raw/ifpga/ifpga_rawdev.c+245 -00 replies
11/19raw/ifpga: add PCIe BDF devices tree scandrivers/raw/ifpga/ifpga_rawdev.c drivers/raw/ifpga/ifpga_rawdev.h+562 -50 replies
12/19net/ipn3ke: remove configuration for i40e port bondingdrivers/net/ipn3ke/Makefile drivers/net/ipn3ke/ipn3ke_ethdev.c drivers/net/ipn3ke/ipn3ke_representor.c +1 more+50 -2550 replies
13/19raw/ifpga/base: add secure supportdrivers/raw/ifpga/base/ifpga_defines.h drivers/raw/ifpga/base/ifpga_fme.c drivers/raw/ifpga/base/opae_intel_max10.c +1 more+198 -470 replies
14/19raw/ifpga/base: configure FEC modedrivers/raw/ifpga/base/ifpga_fme.c drivers/raw/ifpga/base/opae_spi.h+47 -180 replies
15/19raw/ifpga/base: clean fme errorsdrivers/raw/ifpga/base/ifpga_fme_error.c drivers/raw/ifpga/ifpga_rawdev.c+24 -220 replies
16/19raw/ifpga/base: add new API get board infodrivers/raw/ifpga/base/ifpga_api.c drivers/raw/ifpga/base/ifpga_defines.h drivers/raw/ifpga/base/ifpga_fme.c +3 more+121 -250 replies
17/19raw/ifpga: add lightweight fpga image supportdrivers/raw/ifpga/ifpga_rawdev.c+32 -120 replies
18/19raw/ifpga/base: add multiple cards supportdrivers/raw/ifpga/base/ifpga_fme.c drivers/raw/ifpga/base/opae_debug.c drivers/raw/ifpga/base/opae_hw_api.c +9 more+205 -1090 replies
19/19raw/ifpga: introducing new irq APIdrivers/raw/ifpga/ifpga_rawdev.c drivers/raw/ifpga/ifpga_rawdev.h+88 -310 replies

Reviews trailers per patch

1 of 19 patches has a Reviewed-by or Acked-by.

PatchBruce Richardson
1/19
2/19
3/19
4/19
5/19A-b
6/19
7/19
8/19
9/19
10/19
11/19
12/19
13/19
14/19
15/19
16/19
17/19
18/19
19/19

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

Read the v14 thread

Cover letter [dpdk-dev] [PATCH v14 00/19] add PCIe AER disable and IRQ support for ipn3ke

This patch set adds PCIe AER disable and FPGA interrupt support for ipn3ke. It also provides a small rework for port bonding between FPGA line side port and I40e PF port.

What is the PCI Express AER(Advanced Error Reporting)? Advanced Error Reporting capability is implemented with a PCI Express advanced error reporting extended capability structure providing more robust error reporting. It's also one of PCI Express error reporting paradigms. AER is supported by most of PCIe devices.

In PAC N3000 card, some uncertainty errors will cause FPGA reload, such as temperature is higher than threshold. From Software point of view, FPGA reload means FPGA unplug and plug. For avoiding system crash we need to clear AER register before these errors occur.

Currently PAC N3000 card FME and AFU all provide interrupts, in ifpga rawdev driver, we implement a FME interrupt function to notify errors reported by FME. Besides this, OPAE share code also provide a common AFU interrupt API for users to register their own interrupt functions.

v14 updates:
=========
- fix coding style and remove unnecessary comments.

v13 updates:
=========
- fix meson build issue.

v12 updates:
=========
- fix meson build issue.

v11 updates:
=========
- move symbol ifpga_rawdev_ge to the EXPERIMENTAL section of drivers/raw/ifpga/rte_rawdev_ifpga_version.map

v10 updates:
=========
- introducing new irq API
- fix meson build issue

v9 updates:
=========
- Add mutex lock on do_transaction() function for SPI driver to avoid race condition.

v8 updates:
=========
- add multiple cards support.

v7 updates:
==========
- rename function i40e_set_switch_dev to rte_pmd_i40e_set_switch_dev and move it to rte_pmd_i40e.c since it is declared at rte_pmd_i40e.h
- function rte_pmd_i40e_set_switch_dev works as an external API, use port_id but not rte_eth_dev as parameter.
- add doxygen header here for the new API.
- update the rte_pmd_i40e_version.map.
- fix coding style issue.
- enable CONFIG_RTE_EAL_VFIO in linux environment to build irq support.
- for functions with a lot of similarity, extract out common function to reduce duplication.

v6 updates:
=========
- correct author information.
- correct typo in commit message and remove Gerrit Change-Id's before submitting upstream

v5 updates:
==========
- add lightweight fpga image support. in lightweight fpga image mode, ipn3ke representor will not be probed.

v4 updates:
===========
- align with new naming standard.

v3 updates:
===========
- Add FPGA network side port MTU configuration

v2 updates:
===========
- Add AUX feature support

Andy Pei (2):
net/i40e: i40e support ipn3ke FPGA port bonding
raw/ifpga: add lightweight fpga image support

Rosen Xu (3):
raw/ifpga: add SEU error handler
raw/ifpga: add PCIe BDF devices tree scan net/ipn3ke: remove configuration for i40e port bonding

Tianfei zhang (14):
raw/ifpga/base: add irq support
raw/ifpga/base: clear pending bit
raw/ifpga/base: add SEU error support
raw/ifpga/base: add device tree support
raw/ifpga/base: align the send buffer for SPI
raw/ifpga/base: add sensor support
raw/ifpga/base: introducing sensor APIs
raw/ifpga/base: update SEU register definition
raw/ifpga/base: add secure support
raw/ifpga/base: configure FEC mode
raw/ifpga/base: clean fme errors
raw/ifpga/base: add new API get board info
raw/ifpga/base: add multiple cards support
raw/ifpga: introducing new irq API

 config/common_base                             |   4 +-
 config/common_linux                            |   6 +
 drivers/meson.build                            |   6 +-
 drivers/net/i40e/base/i40e_type.h              |   3 +
 drivers/net/i40e/i40e_ethdev.c                 |   6 +
 drivers/net/i40e/rte_pmd_i40e.c                |  21 +
 drivers/net/i40e/rte_pmd_i40e.h                |  18 +
 drivers/net/i40e/rte_pmd_i40e_version.map      |   8 +-
 drivers/net/ipn3ke/Makefile                    |   2 +
 drivers/net/ipn3ke/ipn3ke_ethdev.c             | 289 +-------
 drivers/net/ipn3ke/ipn3ke_representor.c        |   8 +-
 drivers/net/ipn3ke/meson.build                 |  24 +-
 drivers/raw/ifpga/base/ifpga_api.c             |  21 +
 drivers/raw/ifpga/base/ifpga_defines.h         |  75 +-
 drivers/raw/ifpga/base/ifpga_feature_dev.c     |  59 ++
 drivers/raw/ifpga/base/ifpga_feature_dev.h     |   3 +
 drivers/raw/ifpga/base/ifpga_fme.c             | 166 ++++-
 drivers/raw/ifpga/base/ifpga_fme_error.c       |  74 +-
 drivers/raw/ifpga/base/ifpga_hw.h              |   2 +-
 drivers/raw/ifpga/base/ifpga_port.c            |  18 +
 drivers/raw/ifpga/base/ifpga_port_error.c      |  19 +
 drivers/raw/ifpga/base/meson.build             |   2 +-
 drivers/raw/ifpga/base/opae_debug.c            |   3 +
 drivers/raw/ifpga/base/opae_hw_api.c           | 137 ++++
 drivers/raw/ifpga/base/opae_hw_api.h           |  26 +
 drivers/raw/ifpga/base/opae_i2c.c              |  44 +-
 drivers/raw/ifpga/base/opae_i2c.h              |   3 +-
 drivers/raw/ifpga/base/opae_ifpga_hw_api.h     |   2 +
 drivers/raw/ifpga/base/opae_intel_max10.c      | 599 +++++++++++++++-
 drivers/raw/ifpga/base/opae_intel_max10.h      | 157 ++++-
 drivers/raw/ifpga/base/opae_osdep.h            |   7 +-
 drivers/raw/ifpga/base/opae_spi.c              |   5 -
 drivers/raw/ifpga/base/opae_spi.h              |  26 +-
 drivers/raw/ifpga/base/opae_spi_transaction.c  |  84 ++-
 drivers/raw/ifpga/ifpga_rawdev.c               | 903 ++++++++++++++++++++++++-
 drivers/raw/ifpga/ifpga_rawdev.h               |  30 +
 drivers/raw/ifpga/meson.build                  |  25 +-
 drivers/raw/ifpga/rte_rawdev_ifpga_version.map |   6 +
 mk/rte.app.mk                                  |   2 +-
 39 files changed, 2451 insertions(+), 442 deletions(-)
Signature · 1 line
1.8.3.1