From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 86702454EF; Tue, 25 Jun 2024 13:15:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 198EB40696; Tue, 25 Jun 2024 13:15:13 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by mails.dpdk.org (Postfix) with ESMTP id 0059C402C4 for ; Tue, 25 Jun 2024 13:14:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719314091; x=1750850091; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ImSBFlp339sjmMQrNykQsX5aCiQCNjY/OzagHAKNSjc=; b=hEer8MjI1TEG25Gu4AP4/i80eChUYqiIN146vL9ec+IqY1eWWGKqA2Eg EAe0wIKApI3wOVRWCHx+3WEhDq8W6QDxgozua/nN9MPc5gXb+wNfD+P43 gDSfA8T3fUuv5K0p4aEvimOHSMt7nDUpqYrpAwU9q88OTbRs/CI+4arrp VkX3mmPU9CMFfxSu8A/H72nEc2eowKWMZsiCrekhgEXuurhZQb7dar8YI t8hVW2zlFbleCI3USKKvshAFKQuDU1FOROYWvwklsNCIf/2+TOjQ/02p2 Nhbi1iSNNZBsNK6p340SBM9EzTUTwG3Z2NrKPi8Y+wq7kAlTBGKCmlmaM g==; X-CSE-ConnectionGUID: AGwYKPLOTJag3LbYl5z4gQ== X-CSE-MsgGUID: eer1HYAcREOhlHu7jeeK8w== X-IronPort-AV: E=McAfee;i="6700,10204,11113"; a="16080039" X-IronPort-AV: E=Sophos;i="6.08,263,1712646000"; d="scan'208";a="16080039" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2024 04:14:49 -0700 X-CSE-ConnectionGUID: U/Fi2tyvTWCqrrbP1qKs5w== X-CSE-MsgGUID: riYWK67/T5C51yEyYNwFxw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,263,1712646000"; d="scan'208";a="43718741" Received: from unknown (HELO silpixa00401119.ir.intel.com) ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 25 Jun 2024 04:14:49 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: bruce.richardson@intel.com, ian.stokes@intel.com Subject: [PATCH v3 000/129] Update net/ice base driver to latest upstream snapshot Date: Tue, 25 Jun 2024 12:12:05 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This is a patchset loosely based on internal development tree which tracked ICE driver development over a period of time since last snapshot update. v2-> v3: - Fixed commit authorship for commits where it was feasible to do so - Addressed review comments - Clarified and corrected a few commit messages - Squashed more style changes into one giant "align code to base driver" patch (process still ongoing) - Split a few patches into more meaningful chunks - Dropped a few patches due to validation discovering issues with them [v1 went out as v2 by accident so it is v2 now] RFC -> v1: - From one, many Adrian Pielech (1): net/ice/base: remove dead code from ice_get_ddp_pkg_state Anatoly Burakov (7): net/ice/base: move ice_ptp_init_phy_model to align with upstream net/ice/base: add port option commands net/ice/base: align code to base driver net/ice/base: fix compile issues on some targets net/ice/base: move code to common headers net/ice/base: make some switch-related functions static net/ice/base: make Tx and Rx vernier offset calibration independent Ashish Shah (1): net/ice/base: update flow seg fields to declared bitmaps Aviraj CJ (1): net/ice/base: allow passing flags to sbq command Bartosz Staszewski (1): net/ice/base: improve read retry value calculation Ben Shelton (2): net/ice/base: add AQ function to configure SyncE error reporting net/ice/base: clean up ice_lan_tx_rx Benjamin Mikailenko (1): net/ice/base: increase PF reset wait timeout to 500 milliseconds Bruce Richardson (1): net/ice: add new device ids Chinh Cao (1): net/ice/base: correct the return type of ice_bitmap_hweight Dan Nowlin (6): net/ice/base: fix package download algorithm net/ice/base: allows packages with mixed signature presence net/ice/base: allow different FW API versions based on MAC type net/ice/base: add 32 GT bus speed enumerated value net/ice/base: add 200G speeds to PHY types decoding net/ice/base: support E830 in Topology AQ command Dave Ertman (1): net/ice/base: update strict status when assigning BW limits Dawid Zielinski (2): net/ice/base: update interface in ice_parse_common_caps net/ice/base: copy output IO params from command descriptor Eric Joyner (4): net/ice/base: fix memory leak when checking firmware version net/ice/base: adapt No FEC in Auto support check to add E82X devices net/ice/base: fix GCS descriptor field offsets net/ice/base: detect and store device sensor reading capability Fabio Pricoco (8): net/ice/base: add mgmt netlist auth support command net/ice/base: avoid undefined variables net/ice/base: support for OROM update in recovery mode net/ice/base: fix resource leak net/ice/base: add fw log file net/ice/base: use correct type net/ice/base: support for firmware sanitization net/ice/base: use a variable to store reset count Grzegorz Nitka (1): net/ice/base: improve find recipe routine Ian Stokes (3): net/ice/base: add E830 debug dump cluster ID values net/ice/base: add missing files for shared code update net/ice/base: add missing defines and misc cleanup Jacob Keller (15): net/ice/base: improve ice_debug_cq messages net/ice/base: remove unnecessary control queue cmd_buf arrays net/ice/base: refactor control queue send delay net/ice/base: fix incorrect size when allocating children arrays net/ice/base: fix ice_ptp_one_port_cmd to avoid stale PHY commands net/ice/base: use ICE_PTP_NOP to better indicate no action net/ice/base: use "err" instead of "status" in ice_ptp_hw.c net/ice/base: re-number E810-T subdevice IDs to match upstream net/ice/base: enable RDMA Act-Act unload paths net/ice/base: be more verbose when preparing timer sync net/ice/base: return high address for multi-read eth56g registers net/ice/base: add function to read Tx timestamp status register net/ice/base: squash multiple fixes for e56g device net/ice/base: rename netlist check functions to match upstream net/ice/base: rename SMA register macros to match Linux upstream Jaroslaw Ilgiewicz (1): net/ice/base: read OROM in a loop Jesse Brandeburg (7): net/ice/base: add missing include net/ice/base: refactor (non) bitmap declarations net/ice/base: update code with flex array safe allocations net/ice/base: move lock outside of if-else net/ice/base: fix sign-extension net/ice/base: switch speed conversions to static lookups net/ice/base: misc header file clean up Karol Kolacinski (7): net/ice/base: add LL Tx timestamp interrupt read net/ice/base: remove PTP aqc_driver_params net/ice/base: fall back to safe CGU params net/ice/base: add PHY OFFSET_READY register clearing net/ice/base: implement interface to reset timestamp memory net/ice/base: enable CGU error reporting net/ice/base: cleanup timestamp registers correctly Lukasz Plachno (3): net/ice/base: prevent potential integer overflow net/ice/base: replace array initialization with macros net/ice/base: use const char* array for storing link modes Mateusz Pacuszka (3): net/ice/base: use ice_bitmap_t in promisc functions net/ice/base: fix rx-only unicast promiscuous mode net/ice/base: fix check for existing switch rule Michal Michalik (2): net/ice/base: add support for E825-C TX clock changing net/ice/base: implement initial PTP support for E830 Michal Swiatkowski (1): net/ice/base: alloc port_info only once Michal Wilczynski (1): net/ice/base: introduce new functions in ice_sched_node Milena Olech (2): net/ice/base: remove PHY port timer bypass mode net/ice/base: change a method to get pca9575 handle Norbert Ciosek (1): net/ice/base: check if recipe buffer was already allocated Pabitra Dalai (1): net/ice/base: add defines for loopback mode Paul Greenwalt (5): net/ice/base: add E830 definitions net/ice/base: improve media type handling for phy caps net/ice/base: fix potential TLV length overflow net/ice/base: add Get Link Status Data version 2 net/ice/base: add E830 PTP init Pawel Sobczyk (1): net/ice/base: add Floating VEB support Piotr Raczynski (1): net/ice/base: add VSI type for subfunctions Prathisna Padmasanan (1): net/ice/base: added informational message for NAC topology Przemek Kitszel (3): net/ice/base: convert enum ice_status to int net/ice/base: replace ICE_SUCCESS with int net/ice/base: update boost struct for traffic types Remigiusz Konca (1): net/ice/base: enable Next Cluster ID capability Robert Malz (1): net/ice/base: fix for applying multiple cloud filters Scott W Taylor (1): net/ice/base: merge unified E830 headers Sergey Temerkhanov (10): net/ice/base: use model-dependent number of PHY ports net/ice/base: parse 1PPS GPIO in 1588 function caps net/ice/base: rename PHY model designator fields and functions net/ice/base: enable SB access explicitly before 1st PHY access net/ice/base: refactor ETH56G PHY initialization net/ice/base: refactor ETH56G support for multiple PHYs per MAC net/ice/base: implement upper-level PHY control functions net/ice/base: support E830 in DDP pkg handling net/ice/base: allow skipping main timer programming net/ice/base: implement TX interrupt enablement functions Siddaraju DH (1): net/ice/base: update phy config during link restart Stefan Wegrzyn (6): net/ice/base: fix for pointer to variable outside scope net/ice/base: allow for dumping all clusters net/ice/base: allow skipping PF clear net/ice/base: make ice_clear_vsi_q_ctx() non-static net/ice/base: fix ice_memcpy type specifiers net/ice/base: adjust memcpy type Ting Xu (1): net/ice/base: support DCF query port ETS adminq Tomaszx Wakula (2): net/ice/base: add function to read SDP section from NVM net/ice/base: fix for preparing PHY for timesync command Waldemar Dworakowski (3): net/ice/base: ignore snprintf return value net/ice/base: check array bounds net/ice/base: fix in the definition of the Board Type Wojciech Drewek (2): net/ice/base: add Cage Max Power override NVM module net/ice/base: add L2TPv3 support for adv rules Yahui Cao (1): net/ice/base: fix ice_get_ctx() issue Yochai Hagvi (3): net/ice/base: change data buffer in i2c write to be const net/ice/base: add helper function for refsync net/ice/base: change tmr_idx to u32 Zhirun Yan (1): net/ice/base: add ability to set markid via switch filter drivers/net/ice/base/ice_acl.c | 58 +- drivers/net/ice/base/ice_acl.h | 50 +- drivers/net/ice/base/ice_acl_ctrl.c | 44 +- drivers/net/ice/base/ice_adminq_cmd.h | 429 +- drivers/net/ice/base/ice_bitops.h | 8 +- drivers/net/ice/base/ice_cgu_regs.h | 90 + drivers/net/ice/base/ice_common.c | 1494 +++--- drivers/net/ice/base/ice_common.h | 188 +- drivers/net/ice/base/ice_controlq.c | 213 +- drivers/net/ice/base/ice_controlq.h | 28 +- drivers/net/ice/base/ice_dcb.c | 77 +- drivers/net/ice/base/ice_dcb.h | 32 +- drivers/net/ice/base/ice_ddp.c | 117 +- drivers/net/ice/base/ice_ddp.h | 15 +- drivers/net/ice/base/ice_devids.h | 36 +- drivers/net/ice/base/ice_fdir.c | 46 +- drivers/net/ice/base/ice_fdir.h | 18 +- drivers/net/ice/base/ice_flex_pipe.c | 376 +- drivers/net/ice/base/ice_flex_pipe.h | 30 +- drivers/net/ice/base/ice_flex_type.h | 13 +- drivers/net/ice/base/ice_flow.c | 328 +- drivers/net/ice/base/ice_flow.h | 52 +- drivers/net/ice/base/ice_fwlog.c | 5 + .../base/ice_fwlog.h} | 2 +- drivers/net/ice/base/ice_hw_autogen.h | 2556 +++++++-- drivers/net/ice/base/ice_lan_tx_rx.h | 40 +- drivers/net/ice/base/ice_nvm.c | 320 +- drivers/net/ice/base/ice_nvm.h | 36 +- drivers/net/ice/base/ice_parser.c | 47 +- drivers/net/ice/base/ice_parser.h | 30 +- drivers/net/ice/base/ice_parser_rt.c | 30 +- drivers/net/ice/base/ice_parser_rt.h | 4 +- drivers/net/ice/base/ice_phy_regs.h | 84 + drivers/net/ice/base/ice_protocol_type.h | 11 +- drivers/net/ice/base/ice_ptp_consts.h | 3 +- drivers/net/ice/base/ice_ptp_hw.c | 4608 ++++++++++------- drivers/net/ice/base/ice_ptp_hw.h | 274 +- drivers/net/ice/base/ice_sbq_cmd.h | 3 +- drivers/net/ice/base/ice_sched.c | 548 +- drivers/net/ice/base/ice_sched.h | 129 +- drivers/net/ice/base/ice_status.h | 2 + drivers/net/ice/base/ice_switch.c | 1528 +++--- drivers/net/ice/base/ice_switch.h | 234 +- drivers/net/ice/base/ice_type.h | 196 +- .../base/ice_vf_mbx.c} | 2 +- .../base/ice_vf_mbx.h} | 2 +- drivers/net/ice/base/ice_vlan_mode.c | 38 +- drivers/net/ice/base/ice_vlan_mode.h | 2 +- drivers/net/ice/base/ice_xlt_kb.c | 4 +- drivers/net/ice/base/meson.build | 2 + drivers/net/ice/ice_dcf_parent.c | 2 +- drivers/net/ice/ice_diagnose.c | 14 +- drivers/net/ice/ice_ethdev.c | 94 +- drivers/net/ice/ice_rxtx.c | 12 +- drivers/net/ice/ice_tm.c | 5 +- 55 files changed, 9446 insertions(+), 5163 deletions(-) create mode 100644 drivers/net/ice/base/ice_fwlog.c copy drivers/net/{vmxnet3/base/vmware_pack_end.h => ice/base/ice_fwlog.h} (50%) create mode 100644 drivers/net/ice/base/ice_phy_regs.h copy drivers/net/{vmxnet3/base/vmware_pack_end.h => ice/base/ice_vf_mbx.c} (50%) copy drivers/net/{vmxnet3/base/vmware_pack_end.h => ice/base/ice_vf_mbx.h} (50%) -- 2.43.0