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 D056725C80E for ; Thu, 28 May 2026 10:04:29 +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=1779962670; cv=none; b=mMCBGgZwNO+9jaFFCkEG9jsTy2st5eu8D10EvOOBps5WFCFUIGcd+4hjpTGxxtPpcHGT7ReV+P/xPBeME72iA+CFOqALgrKTYFC4HasLivSeEsJ9DmTc2cbF0/2ojMyV1I+GxTx92Ry3rqSTywE3F4wWtu4RKppI4rFsqilCtoU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779962670; c=relaxed/simple; bh=jqbhBdi5LfX9BqLO5GfhlS67CL3MRdeFIC0UxTxubdU=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=dJot0ZqZHEZHb1DhzZgF0qiFwT0sYy/FyqND6n4YwXkgQZGbOhJVMG1bMo3bZhQr2K6XQJh4+/evRvw8cegu1ot759EMrqGG1wlJ8lgkKrNpLsK9GQmJzE8M3lm/n/41WpRX+51xJb/vVXbQr4GFenuvFl3hw3mXOl1MTq7mUzE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QtoeFpRr; 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="QtoeFpRr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D0651F000E9; Thu, 28 May 2026 10:04:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779962669; bh=NyKY2LUtwOU0r+q0Z2RFPcsnXXJXv60pwseW7FyVP/s=; h=Subject:To:Cc:From:Date; b=QtoeFpRrDxuX2Cq47er9eElMOJy//0WSlR+O0SXcS8khyLo4BnGMos+eRtFte2g5q fJGJH65dlP4MKSmVdHyUBHmBAboE7VgxJUAdYAm29STqBBAbM1+NuWe1ht3vukfw1u QRWFK51655sJh8Ij95whJzyC8HePuYJaDWsejQ7w= Subject: FAILED: patch "[PATCH] ice: restore PTP Rx timestamp config after ethtool" failed to apply to 5.15-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 12:03:28 +0200 Message-ID: <2026052828-prognosis-numbing-7ee7@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 5.15-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-5.15.y git checkout FETCH_HEAD git cherry-pick -x 975b564d195b13ca6ee1ef5e6a9561734898eb17 # git commit -s git send-email --to '' --in-reply-to '2026052828-prognosis-numbing-7ee7@gregkh' --subject-prefix 'PATCH 5.15.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: