From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com [209.85.128.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 25B5331F983 for ; Wed, 4 Mar 2026 15:21:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772637714; cv=none; b=dMjAPXx8acEangxFfuH6qb43Dt/YKHArmC0M8yjzOBhPPp1jecuKU3f//p9taHP/igrtemeebcE4CWUyIzsOfxtAetylRKjx0pj+LMDSiy6ndjfYzYQOgKMIQj/5DSJL/P/AJCXxbhm72wV9SuAq5X6oEk9Dfyy0fcYDdOZeC5E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772637714; c=relaxed/simple; bh=X+MrOn8A3alDK6hokfy5pbgtE/0qQg0SeeRk65wPZrw=; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject: Mime-Version:Content-Type; b=YNQEUY/QKS1IwnzDdOUYj48JtzS5wXQtg7hWTAeegbCpvgrJ1VaHjUMsghGo+7F4FtkvLf4s4ND+3uuDVJQ6lu2ms8mK/mK1dDHnaHI+WP6Xz6PD3qMEN+TiaM0M866edumofdWiOq1SLmUZbWYxYXgqbZ4Br1TK021/wDFXb+o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Jha4+EjQ; arc=none smtp.client-ip=209.85.128.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Jha4+EjQ" Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-78fc4425b6bso68484137b3.1 for ; Wed, 04 Mar 2026 07:21:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772637712; x=1773242512; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Tv/wdgzsTRsWDy11eN8RXuT/n3lWh4LTwHzB4w5y18Y=; b=Jha4+EjQRRAdqAk0fENlsbOyi9PdX7SSOal1DZS49i4zah4cY0+UzoO0ero8rbG+71 ZZ8hj1M7Dp0Cxbcy908cLFBqvAoFaQRrcCWrUw0MLKCC4S2ZZJt65rf+vZizmWODTO7+ sF+oT6kcmG/t2Z2nwzkx8lwx/SjulyOUJVJD6XM52P4hovnFqn6rV8DMA1hk5nZfPEuZ eK3Fl/ceMK5QsDRIJJx0n5Ua3tthOHEYjhD43hmNnnDj7YtEDaVi3i8HWmhJbPYkq+Id i7Kpgh9BQjcdlRjmZdV+phW0kF7vawGq1XwFKaU81qtk5rH6pmI/GV/bFW3LHN7RQSki uBWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772637712; x=1773242512; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Tv/wdgzsTRsWDy11eN8RXuT/n3lWh4LTwHzB4w5y18Y=; b=SoBdk3cbIcTA6AdeYsL93PBlPtUs4+SGl3U9dO/A+N7W1yQIwLHrP6T3WSMWQTMvyo wnRX76AuMvptintMBB3MghE7laQEefNczgM+hoSbHQVn148x83FOJCFfWLuHY7AocRkJ HS6E/JUaF0Igqmuk1q7URBtl+lDNMbGZUla3hTguwp1z/0wkvLn62UrIigjVIIRYr/M3 aMaAMpl3Qlt1eZc+v6sgpLRs4Vvwh+4hFC33kgolMwSyBMkxtbqQA6qtgzSrpU6v5Dw7 qtWoORlsutgcx7CCNfpewtfQ2K/2j/3XcasTDQXexmErfJoZxSDecRO1Gs3l+yuFejFg 3aBw== X-Forwarded-Encrypted: i=1; AJvYcCUEcIQr2jZ0kkjh89MdkAlqLQnxnSjjHonhQoyuGOJIyVLr9L333/sX42WeFw1ailXlRJykl6U=@vger.kernel.org X-Gm-Message-State: AOJu0YxElM6+u1+ROUMcFPUOzZlYpZ2spEnIj1BcgwVn7dELh/jXXVp0 55bkQ8eNb4qewXHQPkvz2rfU5NbP4Uq71CQ0/EdRB33xo3Geizwlcdlz X-Gm-Gg: ATEYQzyGdRHZZ8ZPu9TKq15gzOWAm1JUn5pGbyjJ975SAoS+vMooCOWYTsveOu1bDj2 /L8si/EheIpss2nxdkM3TdWsDwULNNa3iMskz0x1+LMlTtTQoKt7ePAV6PLPdeYwtDN1fn+3rDH FYmoPYoGkW3s1M4Q83ONl2Rr7wMM9F5G576aiuTR5gyWVCuYJJstQCm2EOxrtLClyKOwc/mvSkW F+/h6XxT7bF4bxTkomuguMAfyUWWpkW4gHj1l+sLYc/tjmEG3dzRgG54rUrs+cdrGABu0/xcD7m SEm2SGYA6Bnm5ZM2p0OPgnx1CT7ltpeH3OdZ82sLbXMbBSr8qwKYrgT5WpZZWziE9lkwJbmT45b EdNPggmBG/cFfspZPNBw1kW0EOxYDNpYUSrxaWncZC17X1suxSvVwTsy912Vg83nuOLJ7BVOKe3 rSMDh/Gy14xLbIj0XBEiTY2p1ZXx20T18rGbWXgZM2jALffoKTkpQDLO4lcJJpQgLNNRWb7jI= X-Received: by 2002:a05:690c:ed5:b0:798:3a5:5a76 with SMTP id 00721157ae682-798c6bd6922mr20350917b3.17.1772637712097; Wed, 04 Mar 2026 07:21:52 -0800 (PST) Received: from gmail.com (15.60.86.34.bc.googleusercontent.com. [34.86.60.15]) by smtp.gmail.com with UTF8SMTPSA id 00721157ae682-79876c87140sm74888377b3.47.2026.03.04.07.21.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2026 07:21:51 -0800 (PST) Date: Wed, 04 Mar 2026 10:21:51 -0500 From: Willem de Bruijn To: Maciek Machnikowski , netdev@vger.kernel.org Cc: kuba@kernel.org, maciek@machnikowski.net, richardcochran@gmail.com, milena.olech@intel.com, willemdebruijn.kernel@gmail.com, andrew@lunn.ch, vadim.fedorenko@linux.dev, horms@kernel.org Message-ID: In-Reply-To: <20260225153858.29486-4-maciek@machnikowski.net> References: <20260225153858.29486-1-maciek@machnikowski.net> <20260225153858.29486-4-maciek@machnikowski.net> Subject: Re: [PATCH v3 net-next 3/3] selftests:net: Implement ptp4l sync test using netdevsim Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Maciek Machnikowski wrote: > Add PTP synchronization test using ptp4l and netdevsim. > > The test creates two netdevsim adapters, links them together > and runs the ptp4l leader and ptp4l follower on two ends > of the netdevsim link and waits for the follower to report the > synchronized state (s2) in its output log. > > This implementation runs the test runs over IPv4 link. > > Signed-off-by: Maciek Machnikowski > +if [ ! -x "$(command -v ptp4l)" ]; then > + echo "ptp4l command not found. Skipping PTP sync test" > + exit 4 Prefer to include ktap_helpers.sh and use named exit code KSFT_SKIP