Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77D403E3D97 for ; Thu, 28 May 2026 11:34:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779968096; cv=none; b=CdiRC9Rqd1k3Uygx5avICypfANu4kCdXyKCxOt/9EFJcGmJxY6e/0wMfql4j8lxZOHKSXlnAs1BggF9KDzyhRer7n+Vfv3BxKVy7aBmpyJnDF89rcphnpiCPM31TB+Dcfxuqxn+9kASVXtBQZ0QC1pzewDVPO45SXZpdlrvzx2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779968096; c=relaxed/simple; bh=Vr3F8YWNbvtd9nRXaVAJ28u+dLriThcyKsljzdEw88Q=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=qCMYtXpH5Z/OQ6ajcNYFaMrgDC1a4jHtaUZQBQtb1XE3SHQqre43V8JfbLeT24ra/A4gIN3EcgidkYW8GvgpnxX9t4wcBJ47RI1iODqozlfS+5nnFQeTaJLY7aIuDqdPZyTxlFJA39SnAY128IMRjLx2jfJWKrKYhR7Zgc3W4e4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CpsHobNF; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CpsHobNF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85CBF1F000E9; Thu, 28 May 2026 11:34:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779968095; bh=yEe80CDijVk4HgC4wAkWsuuvJxZdPWNPX6ZmHnyF+88=; h=Subject:To:Cc:From:Date; b=CpsHobNFBmup54TjHDpeyl9EKfembbZ8hDykUG66XmD0PFWBMSMS+L1mxLUNC7VAk Tp95Vvs2rL85CPNEEsED07MTPqyG4Yjlme3/cS2JGXPO1qZaabBnxwKskKh4EtF2vL 8wate/OVQGXGhSLcHl6n/gCVogN/afO10nid5+D8= Subject: FAILED: patch "[PATCH] ice: restore PTP Rx timestamp config after ethtool" failed to apply to 6.6-stable tree To: grzegorz.nitka@intel.com,aleksandr.loktionov@intel.com,alexander.nowlin@intel.com,anthony.l.nguyen@intel.com,horms@kernel.org,kuba@kernel.org Cc: From: Date: Thu, 28 May 2026 13:32:34 +0200 Message-ID: <2026052834-revolver-pegboard-94c9@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.6-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.6.y git checkout FETCH_HEAD git cherry-pick -x 975b564d195b13ca6ee1ef5e6a9561734898eb17 # git commit -s git send-email --to '' --in-reply-to '2026052834-revolver-pegboard-94c9@gregkh' --subject-prefix 'PATCH 6.6.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From 975b564d195b13ca6ee1ef5e6a9561734898eb17 Mon Sep 17 00:00:00 2001 From: Grzegorz Nitka Date: Fri, 15 May 2026 11:24:13 -0700 Subject: [PATCH] ice: restore PTP Rx timestamp config after ethtool set-channels When ethtool -L changes queue counts, ice_vsi_recfg_qs() closes and rebuilds the VSI, reallocating Rx rings. The newly allocated rings have ptp_rx cleared, so RX hardware timestamps are no longer attached to skb until hwtstamp configuration is applied again. Restore timestamp mode after ice_vsi_open() in the queue reconfiguration path, matching reset/rebuild behavior and ensuring newly rebuilt Rx rings have PTP RX timestamping re-enabled. Testing hints: - run ptp4l application in client synchronization mode: ptp4l -i ethX -m -s - run PTP traffic - change queue number on ethX netdev interface: ethtool -L ethX combined new_queue_size - observe ptp4l output - expected result: no "received DELAY_REQ without timestamp" messages Fixes: 77a781155a65 ("ice: enable receive hardware timestamping") Cc: stable@vger.kernel.org Reviewed-by: Aleksandr Loktionov Signed-off-by: Grzegorz Nitka Reviewed-by: Simon Horman Tested-by: Alexander Nowlin Signed-off-by: Tony Nguyen Link: https://patch.msgid.link/20260515182419.1597859-7-anthony.l.nguyen@intel.com Signed-off-by: Jakub Kicinski diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c index 66642232b282..e2fbe111f849 100644 --- a/drivers/net/ethernet/intel/ice/ice_main.c +++ b/drivers/net/ethernet/intel/ice/ice_main.c @@ -4104,6 +4104,12 @@ int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx, bool locked) } ice_pf_dcb_recfg(pf, locked); ice_vsi_open(vsi); + /* Rx rings are reallocated during VSI rebuild and lose their ptp_rx + * flag. Restore timestamp mode so newly allocated rings are set up + * for hardware Rx timestamping. + */ + if (test_bit(ICE_FLAG_PTP_SUPPORTED, pf->flags)) + ice_ptp_restore_timestamp_mode(pf); goto done; rebuild_err: