From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 928BDA0613 for ; Thu, 26 Sep 2019 10:17:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3ED9F1BEA0; Thu, 26 Sep 2019 10:17:44 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 5FC8C235 for ; Thu, 26 Sep 2019 10:17:42 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2019 01:17:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,551,1559545200"; d="scan'208";a="390515370" Received: from dpdk-dipei.sh.intel.com ([10.67.110.224]) by fmsmga006.fm.intel.com with ESMTP; 26 Sep 2019 01:17:39 -0700 From: Andy Pei To: dev@dpdk.org Cc: rosen.xu@intel.com, tianfei.zhang@intel.com, xiaolong.ye@intel.com, ferruh.yigit@intel.com Date: Thu, 26 Sep 2019 16:07:25 +0800 Message-Id: <1569485262-457887-1-git-send-email-andy.pei@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1568883774-92149-2-git-send-email-andy.pei@intel.com> References: <1568883774-92149-2-git-send-email-andy.pei@intel.com> Subject: [dpdk-dev] [PATCH v7 00/17] add PCIe AER disable and IRQ support for ipn3ke X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch set adds PCIe AER disable and IRQ support for ipn3ke. Disable PCIe AER is very useful when FPGA reload. IRQ is used very widely in interrupt process. For ipn3ke is connect to CPU with PCIe switch, driver needs to scan all PCIe devices of ipn3ke, it also can get all i40e of card, so ipn3ke driver doesn't need to take some configuration of i40e. 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 (12): 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 config/common_base | 2 +- config/common_linux | 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 | 17 + drivers/net/i40e/rte_pmd_i40e_version.map | 8 +- drivers/net/ipn3ke/Makefile | 2 + drivers/net/ipn3ke/ipn3ke_ethdev.c | 291 ++------- drivers/net/ipn3ke/ipn3ke_representor.c | 8 +- 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 | 138 +++- 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/opae_hw_api.c | 135 ++++ drivers/raw/ifpga/base/opae_hw_api.h | 21 + drivers/raw/ifpga/base/opae_ifpga_hw_api.h | 2 + drivers/raw/ifpga/base/opae_intel_max10.c | 568 ++++++++++++++++- drivers/raw/ifpga/base/opae_intel_max10.h | 146 ++++- drivers/raw/ifpga/base/opae_osdep.h | 7 +- drivers/raw/ifpga/base/opae_spi.h | 23 +- drivers/raw/ifpga/base/opae_spi_transaction.c | 40 +- drivers/raw/ifpga/ifpga_rawdev.c | 874 +++++++++++++++++++++++++- drivers/raw/ifpga/ifpga_rawdev.h | 16 + mk/rte.app.mk | 2 +- 30 files changed, 2220 insertions(+), 387 deletions(-) -- 1.8.3.1