From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id D798E1B2B2 for ; Tue, 20 Feb 2018 08:35:31 +0100 (CET) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1-us3.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id 911AD9C005B for ; Tue, 20 Feb 2018 07:35:30 +0000 (UTC) Received: from sfocexch01r.SolarFlarecom.com (10.20.40.34) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Mon, 19 Feb 2018 23:35:28 -0800 Received: from ocex03.SolarFlarecom.com (10.20.40.36) by sfocexch01r.SolarFlarecom.com (10.20.40.34) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Mon, 19 Feb 2018 23:35:13 -0800 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1044.25 via Frontend Transport; Mon, 19 Feb 2018 23:35:12 -0800 Received: from uklogin.uk.solarflarecom.com (uklogin.uk.solarflarecom.com [10.17.10.10]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id w1K7ZBGa024818 for ; Tue, 20 Feb 2018 07:35:11 GMT Received: from uklogin.uk.solarflarecom.com (localhost.localdomain [127.0.0.1]) by uklogin.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id w1K7ZBtC020529 for ; Tue, 20 Feb 2018 07:35:11 GMT From: Andrew Rybchenko To: Date: Tue, 20 Feb 2018 07:33:18 +0000 Message-ID: <1519112078-20113-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.2.3 MIME-Version: 1.0 Content-Type: text/plain X-MDID: 1519112131-MWUd-B3vCj5f Subject: [dpdk-dev] [PATCH 00/80] net/sfc/base: update base driver 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: , X-List-Received-Date: Tue, 20 Feb 2018 07:35:32 -0000 Update base driver to include Medford2 support. A number of patches have checkpatch errors/warnings because of coding style difference. Andrew Jackson (1): net/sfc/base: regenerate files with genfwdef after ID update Andrew Rybchenko (5): net/sfc: add missing defines for SAL annotation net/sfc/base: update autogenerated headers from firmwaresrc net/sfc/base: fix too long line net/sfc: size MAC stats DMA buffer to support Medford2 net/sfc/base: sync MCDI headers and TLV layout Andy Moreton (64): net/sfc/base: add 3.3V and 12.0V current sensors net/sfc/base: add Medford2 PCI IDs net/sfc/base: add efsys option for Medford2 net/sfc/base: add Medford2 support to NIC module net/sfc/base: correct PIO buffer dimensions for Medford2 net/sfc/base: move RxDP config get to EF10 NIC code net/sfc/base: add Medford2 support to EV module net/sfc/base: add Medford2 support to FILTER module net/sfc/base: add Medford2 support to INTR module net/sfc/base: add Medford2 support to MAC module net/sfc/base: add Medford2 support to MCDI module net/sfc/base: add Medford2 support to PHY module net/sfc/base: add Medford2 support to Rx module net/sfc/base: add Medford2 support to Tx module net/sfc/base: add Medford2 support to NVRAM module net/sfc/base: add Medford2 support to SRAM module net/sfc/base: add Medford2 support to BOOTCFG module net/sfc/base: add Medford2 support to VPD module net/sfc/base: add Medford2 support to MON module net/sfc/base: support runtime VI window size net/sfc/base: update hardware headers for Medford2 net/sfc/base: update notes on interrupt testing on VFs net/sfc/base: report memory BAR number net/sfc/base: simplify loopback type checking net/sfc/base: add support new link modes net/sfc/base: add new loopback modes net/sfc/base: add efsys macro to get memory region size net/sfc/base: handle new speeds in linkchange events net/sfc/base: refactor EF10 get datapath capabilities net/sfc/base: retrieve number of MAC stats from NIC net/sfc/base: improve robustness of MAC stats get via MCDI net/sfc/base: use MAC stats DMA buffer size from caps net/sfc/base: use MAC stats DMA buffer size when decoding net/sfc/base: run mkconfig.py to add FEC MAC stats net/sfc/base: decode Medford2 FEC stats if available net/sfc/base: remove MAC stats size define net/sfc/base: use correct name for frame truncation event net/sfc/base: add ef10 NIC board config method net/sfc/base: move port config to ef10 NIC board config net/sfc/base: move PF/VF config to ef10 NIC board config net/sfc/base: move MAC address config to ef10 NIC board cfg net/sfc/base: move legacy board config to ef10 NIC board cfg net/sfc/base: move PHY/link config to ef10 NIC board cfg net/sfc/base: move datapath config to ef10 NIC board cfg net/sfc/base: move Rx config to ef10 NIC board config net/sfc/base: move Tx config to ef10 NIC board config net/sfc/base: move limits config to ef10 NIC board config net/sfc/base: move vector config to ef10 NIC board config net/sfc/base: move privilege config to ef10 NIC board config net/sfc/base: move VI window size config to ef10 NIC board net/sfc/base: remove obsolete comments net/sfc/base: support FEC mode settings net/sfc/base: support Medford2 event timer semantics net/sfc/base: clarify port mode names and masks net/sfc/base: group Medford external port mapping entries net/sfc/base: add Medford2 support for external port numbers net/sfc/base: add Medford2 support for licencing net/sfc/base: add Medford2 support for tunnel encapsulations net/sfc/base: add 1.3V voltage and current sensors net/sfc/base: run genfwdef to update headers net/sfc/base: regenerate headers to pick up CTPIO stats net/sfc/base: support CTPIO stats net/sfc/base: add firmware image layout option net/sfc/base: add signed image layout support Guido Barzini (4): net/sfc/base: provide a flag for controlling CTPIO mode net/sfc/base: document the event type for CTPIO sends net/sfc/base: add CTPIO statistics net/sfc/base: add bit to indicate CTPIO availability Mark Spender (1): net/sfc/base: add method to make checksum option descriptors Richard Houldsworth (3): net/sfc/base: improve comments for EF10 ext port mapping net/sfc/base: refactoring eliminating code analysis warnings net/sfc/base: resolve code analysis warnings Vijay Srivastava (2): net/sfc/base: add encapsulated TSOv2 capability net/sfc/base: add outer IP ID parameter to TSOv2 descriptor drivers/net/sfc/Makefile | 2 + drivers/net/sfc/base/ef10_ev.c | 82 +- drivers/net/sfc/base/ef10_filter.c | 19 +- drivers/net/sfc/base/ef10_image.c | 885 +++ drivers/net/sfc/base/ef10_impl.h | 48 +- drivers/net/sfc/base/ef10_intr.c | 13 +- drivers/net/sfc/base/ef10_mac.c | 154 +- drivers/net/sfc/base/ef10_mcdi.c | 25 +- drivers/net/sfc/base/ef10_nic.c | 755 ++- drivers/net/sfc/base/ef10_nvram.c | 33 +- drivers/net/sfc/base/ef10_phy.c | 126 +- drivers/net/sfc/base/ef10_rx.c | 19 +- drivers/net/sfc/base/ef10_signed_image_layout.h | 62 + drivers/net/sfc/base/ef10_tlv_layout.h | 93 +- drivers/net/sfc/base/ef10_tx.c | 67 +- drivers/net/sfc/base/ef10_vpd.c | 37 +- drivers/net/sfc/base/efx.h | 182 +- drivers/net/sfc/base/efx_bootcfg.c | 89 +- drivers/net/sfc/base/efx_check.h | 108 +- drivers/net/sfc/base/efx_ev.c | 10 +- drivers/net/sfc/base/efx_filter.c | 11 +- drivers/net/sfc/base/efx_impl.h | 108 +- drivers/net/sfc/base/efx_intr.c | 21 +- drivers/net/sfc/base/efx_lic.c | 26 +- drivers/net/sfc/base/efx_mac.c | 35 +- drivers/net/sfc/base/efx_mcdi.c | 77 +- drivers/net/sfc/base/efx_mcdi.h | 4 +- drivers/net/sfc/base/efx_mon.c | 6 +- drivers/net/sfc/base/efx_nic.c | 193 +- drivers/net/sfc/base/efx_nvram.c | 10 +- drivers/net/sfc/base/efx_phy.c | 14 +- drivers/net/sfc/base/efx_port.c | 3 + drivers/net/sfc/base/efx_regs_ef10.h | 215 +- drivers/net/sfc/base/efx_regs_mcdi.h | 6493 ++++++++++++++--------- drivers/net/sfc/base/efx_regs_mcdi_aoe.h | 2913 ++++++++++ drivers/net/sfc/base/efx_rx.c | 10 +- drivers/net/sfc/base/efx_sram.c | 14 +- drivers/net/sfc/base/efx_tunnel.c | 32 +- drivers/net/sfc/base/efx_tx.c | 56 +- drivers/net/sfc/base/efx_vpd.c | 10 +- drivers/net/sfc/base/hunt_nic.c | 172 +- drivers/net/sfc/base/mcdi_mon.c | 9 + drivers/net/sfc/base/medford2_impl.h | 35 + drivers/net/sfc/base/medford2_nic.c | 162 + drivers/net/sfc/base/medford_nic.c | 240 +- drivers/net/sfc/base/meson.build | 4 +- drivers/net/sfc/base/siena_flash.h | 9 +- drivers/net/sfc/base/siena_mac.c | 31 +- drivers/net/sfc/base/siena_mcdi.c | 12 +- drivers/net/sfc/base/siena_nic.c | 6 + drivers/net/sfc/base/siena_nvram.c | 17 +- drivers/net/sfc/base/siena_phy.c | 9 +- drivers/net/sfc/base/siena_vpd.c | 25 +- drivers/net/sfc/efsys.h | 8 + drivers/net/sfc/sfc.c | 40 +- drivers/net/sfc/sfc_ef10_rx.c | 18 +- drivers/net/sfc/sfc_port.c | 6 +- drivers/net/sfc/sfc_tso.c | 3 +- 58 files changed, 10362 insertions(+), 3504 deletions(-) create mode 100644 drivers/net/sfc/base/ef10_image.c create mode 100644 drivers/net/sfc/base/ef10_signed_image_layout.h create mode 100644 drivers/net/sfc/base/efx_regs_mcdi_aoe.h create mode 100644 drivers/net/sfc/base/medford2_impl.h create mode 100644 drivers/net/sfc/base/medford2_nic.c -- 2.7.4