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 1F19944060; Wed, 12 Jun 2024 17:03:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC87D4029A; Wed, 12 Jun 2024 17:03:06 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id 82A8940151 for ; Wed, 12 Jun 2024 17:03:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718204586; x=1749740586; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SfRsDgWF+ur/OVogfLBPN3k03XLcUF8+pzGF3hM4oI4=; b=TcqBbHuB4O+Ay30Vg4XUk9/m+HoaYIddVazbfg4OxLljAGLU/2z6NUaJ 1y4D0ddeYbUgEOX+tcLaNLcCpnBWJeXCeChcP3AwJIzAHhAIXpHy1DZK1 r3iOeIsoMBkNYlYqtkygMPZaFli2feiGFukETkA94uihyBoD3XKBQRbO8 /nsf3u23Tisphxn7Mrov/q8L0rO8Ruwl9LWyjtHR7llIvr89gBwawNU3J X/IGJK5++XteZvYUTYjV0mFIi2xDapdrva5XG/AvsX4m/JjYbzAYS7A+o i5y23x/RLdYeqP1FVAAxbrCVNhqfZXmyAZyNF6ED8/LVm0Ei88403XteA Q==; X-CSE-ConnectionGUID: HNsOJJ6ARRSIqNB78Idi8A== X-CSE-MsgGUID: R6TbHGhOTsOFzCOsp5Bezw== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="32458968" X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="32458968" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 08:03:04 -0700 X-CSE-ConnectionGUID: IahefyGnTFGMcRVB+HCxJw== X-CSE-MsgGUID: oFLBaww5Rfyps04OiyC+FQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="39924743" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 12 Jun 2024 08:03:03 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: ian.stokes@intel.com, bruce.richardson@intel.com Subject: [PATCH v2 000/148] Update net/ice base driver to latest upstream snapshot Date: Wed, 12 Jun 2024 15:59:54 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240430154014.1026-1-ian.stokes@intel.com> References: <20240430154014.1026-1-ian.stokes@intel.com> 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. RFC -> v1: - From one, many Anatoly Burakov (21): net/ice/base: alloc port_info only once net/ice/base: be more verbose when preparing timer sync net/ice/base: be more verbose in configuring Rx timestamp offset net/ice/base: match code style to upstream net/ice/base: move ice_ptp_init_phy_model to align with upstream net/ice/base: add Get Link Status Data version 2 net/ice/base: add port option commands net/ice/base: merge unified E830 headers net/ice/base: replace array initialization with macros net/ice/base: switch speed conversions to static lookups net/ice/base: support E830 in DDP pkg handling net/ice/base: support E830 in Topology AQ command net/ice/base: add E830 PTP init net/ice/base: allow skipping main timer programming net/ice/base: align code to upstream net/ice/base: use const char* array for storing link modes 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: add support for L2TP on switch net/ice/base: add L2TPv3 support for adv rules Bruce Richardson (1): net/ice: add new device ids Ian Stokes (126): net/ice/base: convert enum ice_status to int net/ice/base: replace ICE_SUCCESS with int net/ice/base: update E830 headers net/ice/base: update phy config during link restart net/ice/base: fix for pointer to variable outside scope net/ice/base: add missing include for flow net/ice/base: add ability to set markid via switch filter net/ice/base: improve ice_debug_cq messages net/ice/base: add mgmt netlist auth support command net/ice/base: fix undefined variables net/ice/base: fix get media type net/ice/base: clean up __ice_aq_get_set_rss_lut() net/ice/base: update flow seg fields to declared bitmaps net/ice/base: update interface in ice_parse_common_caps net/ice/base: refactor (non) bitmap declarations net/ice/base: remove unnecessary control queue cmd_buf arrays net/ice/base: update code with flex array safe allocations net/ice/base: bring back ability to use 128 as size of PF type RSS LUT net/ice/base: support for OROM update in recovery mode net/ice/base: code adjustments for E830 net/ice/base: improve find recipe routine net/ice/base: fix memory leak when checking firmware version net/ice/base: add LL Tx timestamp interrupt read net/ice/base: use model-dependent number of PHY ports net/ice/base: use ice_bitmap_t in promisc functions net/ice/base: fix rx-only unicast promiscuous mode net/ice/base: add support for E825-C TX clock changing net/ice/base: fix for applying multiple cloud filters net/ice/base: limit PF RSS LUT to one VSI at time net/ice/base: prevent potential integer overflow net/ice/base: cosmetic changes net/ice/base: implement initial PTP support for E830 net/ice/base: fix resource leak net/ice/base: move lock outside of if-else net/ice/base: refactor control queue send delay net/ice/base: fix NVM feature check net/ice/base: allow for dumping all clusters net/ice/base: remove PTP aqc_driver_params net/ice/base: add FW load status mask net/ice/base: add direction metadata net/ice/base: change data buffer in i2c write to be const net/ice/base: remove unused code from upstream build net/ice/base: fix sign-extension net/ice/base: implement switch recipe reuse feature net/ice/base: add helper function for refsync net/ice/base: added informational message for NAC topology net/ice/base: add Cage Max Power override NVM module net/ice/base: adapt No FEC in Auto support check to add E82X devices net/ice/base: move (read|write)_sma_ctrl functions to match upstream net/ice/base: fix incorrect size when allocating children arrays net/ice/base: fix GCS descriptor field offsets net/ice/base: add VSI type for subfunctions net/ice/base: correct the return type of ice_bitmap_hweight net/ice/base: fix ice_ptp_one_port_cmd to avoid stale PHY commands net/ice/base: remove dead code from ice_get_ddp_pkg_state net/ice/base: get rid of enum ice_status net/ice/base: use ICE_PTP_NOP to better indicate no action net/ice/base: add fw log file net/ice/base: update comments regarding clearing timestamps 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: parse 1PPS GPIO in 1588 function caps net/ice/base: rename netlist check functions to match upstream net/ice/base: fix check for existing switch rule net/ice/base: fall back to safe CGU params net/ice/base: change tmr_idx to u32 net/ice/base: update strict status when assigning BW limits net/ice/base: remove unused define net/ice/base: improve read retry value calculation net/ice/base: check if recipe buffer was already allocated net/ice/base: fix handling recipes when reusing is not supported net/ice/base: use correct type net/ice/base: read OROM in a loop net/ice/base: ignore snprintf return value net/ice/base: check array bounds net/ice/base: copy output IO params from command descriptor net/ice/base: enable Next Cluster ID capability net/ice/base: fix potential TLV length overflow net/ice/base: add function to read SDP section from NVM net/ice/base: add Floating VEB support net/ice/base: add defines for loopback mode net/ice/base: allow skipping PF clear net/ice/base: fix in the definition of the Board Type net/ice/base : make ice_clear_vsi_q_ctx() non-static net/ice/base: fix package download algorithm net/ice/base: allows packages with mixed signature presence net/ice/base: fix ice_memcpy type specifiers 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 E830 debug dump cluster ID values net/ice/base: fix for preparing PHY for timesync command net/ice/base: support for firmware sanitization net/ice/base: add 200G speeds to PHY types decoding net/ice/base: temporary workaround for E830 signed package support net/ice/base: add PHY OFFSET_READY register clearing 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 miltiple PHYs per MAC net/ice/base: implement interface to reset timestamp memory net/ice/base: fix iterations over PTP ports 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: implement upper-level PHY control functions net/ice/base: squash multiple fixes for e56g device net/ice/base: add PHY statistics dump net/ice/base: add missing files for shared code update net/ice/base: detect and store device sensor reading capability net/ice/base: add missing defines and misc cleanup net/ice/base: increase PF reset wait timeout to 500 milliseconds net/ice/base: fix memcpy type net/ice/base: too big a timeout for QV diagnostic tests net/ice/base: fix ice_get_ctx() issue net/ice/base: add AQ function to configure SyncE error reporting net/ice/base: support DCF query port ETS adminq net/ice/base: update boost struct for traffic types net/ice/base: clean up ice_lan_tx_rx net/ice/base: enable CGU error reporting net/ice/base: cleanup timestamp registers correctly net/ice/base: rework multiple functions net/ice/base: change a method to get pca9575 handle net/ice/base: rename SMA register macros to match Linux upstream net/ice/base: introduce new functions in ice_sched_node net/ice/base: misc header file clean up net/ice: update rss lut value for RSS init 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 | 458 +- drivers/net/ice/base/ice_bitops.h | 8 +- drivers/net/ice/base/ice_cgu_regs.h | 90 + drivers/net/ice/base/ice_common.c | 1629 +++--- drivers/net/ice/base/ice_common.h | 189 +- 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 | 120 +- 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 | 51 +- 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 | 12 +- drivers/net/ice/base/ice_ptp_consts.h | 3 +- drivers/net/ice/base/ice_ptp_hw.c | 4609 ++++++++++------- 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 | 1821 ++++--- drivers/net/ice/base/ice_switch.h | 236 +- drivers/net/ice/base/ice_type.h | 198 +- .../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_diagnose.c | 9 +- drivers/net/ice/ice_ethdev.c | 59 +- 52 files changed, 9797 insertions(+), 5224 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