From 0a2340396f682a8e9815a89aa017819d39855676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Thu, 30 Jan 2025 12:32:16 -0800 Subject: [PATCH] add kernel version comment for R/S pre-bpf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test: N/A Signed-off-by: Maciej Żenczykowski Change-Id: Ifad1bb0928ad71be6ddacbe62cff4573323db521 --- bpf/progs/netd.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bpf/progs/netd.c b/bpf/progs/netd.c index aab9c26487..08635b3468 100644 --- a/bpf/progs/netd.c +++ b/bpf/progs/netd.c @@ -594,9 +594,13 @@ static __always_inline inline int bpf_traffic_account(struct __sk_buff* skb, // // | 4.9 | 4.14 | 4.19 | 5.4 | 5.10 | 5.15 | 6.1 | 6.6 | 6.12 | // 25Q2 | | | | x | x | x | x | x | x | -// V | | | x | x | x | x | x | x | | +// V | | | x | x | x | x | x | x | | (netbpfload) // U | | x | x | x | x | x | x | | | -// T | x | x | x | x | x | x | | | | +// T | x | x | x | x | x | x | | | | (magic netbpfload) +// S | x | x | x | x | x | | | | | (platform loads offload) +// R | x | x | x | x | | | | | | (no mainline ebpf) +// +// Not relevant for eBPF, but R can also run on 4.4 // ----- cgroupskb/ingress/stats -----