From nobody Mon Feb 9 19:52:33 2026 Received: from relay.virtuozzo.com (relay.virtuozzo.com [130.117.225.111]) (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 A712F311972; Tue, 20 Jan 2026 23:02:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=130.117.225.111 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768950161; cv=none; b=PYxNp4m4PjJgYZr+N361eW3cse92/OsKLrin1Anq3dXFr/sY2RlcDAZEGssY4v+GTu4vx9xqPOFI/Gd3ZedMVyV1cJ9atgZI5aZ4OZx3XF4JPWT5J3lPKzpsK+egFzTvQtEKaxwgPbWqd+YsMpq/yx1y+O1HUlpIXE96u0RnyrE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768950161; c=relaxed/simple; bh=OCwAfPLwAsCCwke6bQtbz2A7Oxk3pZd8PJ9HGvkf1Mc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=P15GcYPuH96Wch5fOuGAmJsBRZ11OP+ymZxz5oFC0D+xM5/Ip8Mk0oJ0+4WBumHlijr17XjUP+E698NdtJwnw3MJRJMQVwc6ZPSnUYFhUATirACqqqvmATzihVjaQePMwDjh24jlDbHbqwPyXraRKBFxUe5zUOPOkqEIW5jIso4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=virtuozzo.com; spf=pass smtp.mailfrom=virtuozzo.com; dkim=pass (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b=It+2uwRt; arc=none smtp.client-ip=130.117.225.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=virtuozzo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=virtuozzo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="It+2uwRt" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=MIME-Version:Message-ID:Date:Subject:From: Content-Type; bh=E+QO7Nq2QSQy5D3Nt7P07iR0/YqO3hmPsD8Xcq7CxG8=; b=It+2uwRt3VBZ l3ofSkmswOdZBEIHwOmRtYrRJGZsfbMtpxizEUXOrXYmFmqwyF939KA0OzFnBZUAJ1YnKdePadfFk we4k47GcaN10i9DZQVeY96eL7/0rGDJ7vcfB4Kc3WZ7fSBZffw7ymBgAghqreHRB0DSxwIDfzO/ya Y+VmCDOSbZ7mfdgPrsiaYQhx0Wau2doGD4AHkwX1dbFXO8aumUfbBZ/dMf6KyY9F558VPwXLTzdu4 1KWHfp/TpNwa5tyX/15aJj2gW58Y8E0TA9olU0NYCF+ADiOIkgPvw6dUSprVuEleAK2KCKKvI8hUS 3MzsOgwWUGFEKBL7KN3fNQ==; Received: from [130.117.225.5] (helo=dev004.aci.vzint.dev) by relay.virtuozzo.com with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1viKjZ-00Fh6K-37; Wed, 21 Jan 2026 00:02:22 +0100 Received: from dev004.aci.vzint.dev (localhost [127.0.0.1]) by dev004.aci.vzint.dev (8.16.1/8.16.1) with ESMTPS id 60KN2VRY328376 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 20 Jan 2026 23:02:31 GMT Received: (from root@localhost) by dev004.aci.vzint.dev (8.16.1/8.16.1/Submit) id 60KN2UUf328375; Tue, 20 Jan 2026 23:02:30 GMT From: Aleksei Oladko To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Shuah Khan , Petr Machata , Nikolay Aleksandrov Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Aleksei Oladko Subject: [PATCH 4/6] selftests: forwarding: tc_flower_cfm: skip tests if tools or feats are missing Date: Tue, 20 Jan 2026 23:02:06 +0000 Message-ID: <20260120230208.328337-5-aleksey.oladko@virtuozzo.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260120230208.328337-1-aleksey.oladko@virtuozzo.com> References: <20260120230208.328337-1-aleksey.oladko@virtuozzo.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The tc_flower_cfm.sh selftest assume the presence of iproute2 support for the `cfm` keyword in `tc filter` commands. These assumptions can cause test failures. This patch improves test robustness by skipping the test if tc filter help does not mention CFM Signed-off-by: Aleksei Oladko --- tools/testing/selftests/net/forwarding/tc_flower_cfm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/net/forwarding/tc_flower_cfm.sh b/tool= s/testing/selftests/net/forwarding/tc_flower_cfm.sh index 3ca20df952eb..65f95fe88b38 100755 --- a/tools/testing/selftests/net/forwarding/tc_flower_cfm.sh +++ b/tools/testing/selftests/net/forwarding/tc_flower_cfm.sh @@ -196,6 +196,8 @@ cleanup() vrf_cleanup } =20 +run_cmd_grep 'CFM' tc filter add dev lo ingress flower help || exit $ksft_= skip + trap cleanup EXIT =20 setup_prepare --=20 2.43.0