From patchwork Wed Nov 13 13:53:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alexis_Lothor=C3=A9?= X-Patchwork-Id: 13873779 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 85B5B204027; Wed, 13 Nov 2024 13:54:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731506054; cv=none; b=eXyAAuvkijNdURtN07nP8v+Nilh+f3l2NVwy1RQMEWdNa+iyt2OpdDajZ6rsrkA/lKKN2sLtpnGR4PC7AUuT/9DkuX0WuNiuf/fQOCxUCBD2FICCxp86Q4tk+tOwpBVdKJcXDT5u/IpWZOHWtr8aqS7/SeUaSG3CpVxcg/2dMr4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731506054; c=relaxed/simple; bh=mAO07X+covGLJLGKAAcX5Ah/uyyAbdxtjCTFS0+RRac=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PnkO4v1oJVO8D49vaVQGypPMkR5InaUUIn6OIicmNzYqMZhV4D26ug6hp59ZdO548TQ6oZ79FQREV3OBgRAhNhH28osZr6iPcgjzRIQ5ZrdAc29AlA2pzFv0xToaK45zPRICqaX/Rr4FTUYph+4t65LA/am8fsXrnQVab5t0YDQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=ndcO+nxu; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="ndcO+nxu" Received: by mail.gandi.net (Postfix) with ESMTPSA id CDD0520012; Wed, 13 Nov 2024 13:54:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1731506051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SpGhBhHZ7VLh+hxah2PHVC8IPwB2ITRf9W8F5JgyEMk=; b=ndcO+nxulFsGegfeISwdXsLKEURv9P0bDjGIAnjNZbuU7dT4WjOEtHZ/pTIrBmh8EMPdK1 zfvVgah8SyPfKF70EtQOVL5XIS1rXBvQZdqR30v6N28Hr557oHOqV6tibZ0wx9yvpJwXpt EJCJAvWqksoF4TV4zqBsyv+jXhgZDQ2erpUmx3cP05MSX9/ea6hGaGWnnu3s4Iwns3vJAv ELr0L7BMtKLk1Vv/fa79F8m0M/P1wsuUt5fDfVN3dobdJn9dH/ImuiCWI/7ivUEdu242Az FgStzM1OD5qXPc4aaUn8Qb4yi8dsmUDVj8MLj1tt312MpjwGu28SuYIRYycqGg== From: =?utf-8?q?Alexis_Lothor=C3=A9_=28eBPF_Foundation=29?= Date: Wed, 13 Nov 2024 14:53:31 +0100 Subject: [PATCH bpf-next 08/10] selftests/bpf: Enable generic tc actions in selftests config Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241113-flow_dissector-v1-8-27c4df0592dc@bootlin.com> References: <20241113-flow_dissector-v1-0-27c4df0592dc@bootlin.com> In-Reply-To: <20241113-flow_dissector-v1-0-27c4df0592dc@bootlin.com> To: Andrii Nakryiko , Eduard Zingerman , Mykola Lysenko , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Shuah Khan Cc: ebpf@linuxfoundation.org, Thomas Petazzoni , Bastien Curutchet , Petar Penkov , bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?A?= =?utf-8?q?lexis_Lothor=C3=A9_=28eBPF_Foundation=29?= X-Mailer: b4 0.14.2 X-GND-Sasl: alexis.lothore@bootlin.com Enable CONFIG_NET_ACT_GACT to allow adding simple actions with tc filters. This is for example needed to migrate test_flow_dissector into the automated testing performed in CI. Signed-off-by: Alexis Lothoré (eBPF Foundation) Acked-by: Stanislav Fomichev --- tools/testing/selftests/bpf/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config index 4ca84c8d9116a48b1ebf04488ebf7ebfcb633282..c378d5d07e029109061fcd433cec223280a525a4 100644 --- a/tools/testing/selftests/bpf/config +++ b/tools/testing/selftests/bpf/config @@ -58,6 +58,7 @@ CONFIG_MPLS=y CONFIG_MPLS_IPTUNNEL=y CONFIG_MPLS_ROUTING=y CONFIG_MPTCP=y +CONFIG_NET_ACT_GACT=y CONFIG_NET_ACT_SKBMOD=y CONFIG_NET_CLS=y CONFIG_NET_CLS_ACT=y