Subject: Re: [PATCH v2 1/3] ynl: samples: add tc filter example

From: Jakub Kicinski <[email-masked]>
Date: Mon, 10 Nov 2025 17:17:39 -0800

On Thu,  6 Nov 2025 16:15:27 +0100 Zahari Doychev wrote:
> diff --git a/tools/net/ynl/Makefile.deps b/tools/net/ynl/Makefile.deps
> index 865fd2e8519e..96c390af060e 100644
> --- a/tools/net/ynl/Makefile.deps
> +++ b/tools/net/ynl/Makefile.deps
> @@ -47,4 +47,5 @@ CFLAGS_tc:= $(call get_hdr_inc,__LINUX_RTNETLINK_H,rtnetlink.h) \
>  	$(call get_hdr_inc,_TC_MIRRED_H,tc_act/tc_mirred.h) \
>  	$(call get_hdr_inc,_TC_SKBEDIT_H,tc_act/tc_skbedit.h) \
>  	$(call get_hdr_inc,_TC_TUNNEL_KEY_H,tc_act/tc_tunnel_key.h)
> +CFLAGS_tc-filter-add:=$(CFLAGS_tc)

Why do we need this? This file is intended for families themselves,
if sample needs flags it should be specified in samples/Makefile ?

>  CFLAGS_tcp_metrics:=$(call get_hdr_inc,_LINUX_TCP_METRICS_H,tcp_metrics.h)