Article View: linux.kernel.netdev
Article #19297Re: [PATCH iproute2-next 3/5] tc: remove eBPF map export and exec bpf import
From: Stephen Hemminger
Date: Thu, 19 Nov 2026 17:47
Date: Thu, 19 Nov 2026 17:47
25 lines
12226 bytes
12226 bytes
On Thu, 19 Nov 2026 04:19:50 -0500
Jamal Hadi Salim <jhs@mojatatu.com> wrote:
> I dont think this code changes in iproute2-next (didnt try iproute2
> tree) - but for tc testing i use:
> https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git
> (origin/main = 9eee7bb8 ("Merge remote-tracking branch 'main/main'
> into next", 2026-11-18))
> libbpf 1.3.0 default and LIBBPF_FORCE=off
>
> m_bpf.c:107:25: error: 'bpf_obj' undeclared (first use in this function)
> m_bpf.c:108:25: error: 'bpf_uds_name' undeclared (first use in
> this function)
> m_bpf.c:108:43: error: 'struct bpf_cfg_in' has no member named 'uds'
> make[1]: *** [../config.mk:47: m_bpf.o] Error 1
> make: *** [Makefile:67: all] Error 2
>
> suspect: the patch removes this declaration?
> - const char *bpf_obj = NULL, *bpf_uds_name = NULL;
>
> Attached fixes it.
I suspect you need to do a "make distclean" and rebuild.
There should no longer be and --libbpf options in config and no way to force off.
Technical Details
Message-ID:
<20261119094711.6049b21a@phoenix.local>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367221-linux-kernel-netdev=dewy.ruReferences:
<20261119001539.2868072-1-stephen@networkplumber.org> <20261119001539.2868072-4-stephen@networkplumber.org> <CAM0EoMkLUeJdzCBxsknqxSKAZ2Q7WhAB9ifV_tKXne4fPxY7YA@mail.gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367221-linux-kernel-netdev=dewy.ru
From: stephen@networkplumber.org (Stephen Hemminger)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH iproute2-next 3/5] tc: remove eBPF map export and exec
bpf import
Date: Thu, 19 Nov 2026 09:47:11 -0800
Organization: Usenet Network
Message-ID: <20261119094711.6049b21a@phoenix.local>
References: <20261119001539.2868072-1-stephen@networkplumber.org>
<20261119001539.2868072-4-stephen@networkplumber.org>
<CAM0EoMkLUeJdzCBxsknqxSKAZ2Q7WhAB9ifV_tKXne4fPxY7YA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="2943134"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ivhafoE3YHs7xf82bEgVMcEnHV0= sha256:2C+DeA+1xvQysAwN49ym8zrudNckNonDyMLhkH5PKRk=
sha1:MnKrBKMl9wurQ00yqA0pCnPaJrM= sha256:yXhquZClq/QmcMEXNThOxtZBjUEOfqaaEGXB3SqUh1w=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 7E607115720; Thu, 19 Nov 2026 20:47:29 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.951
X-Spam-Status: No, score=-2.951 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=networkplumber-org.20260707.gappssmtp.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 4lAkIamPWozl;
Thu, 19 Nov 2026 20:47:25 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-367221-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=quarantine dis=none) header.from=networkplumber.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 06A92115704; Thu, 19 Nov 2026 20:47:16 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 7E6631C7793; Thu, 19 Nov 2026 17:47:15 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1795110435;
b=Xb8XVWaBJzBTp1WRn/7rieGgbyTeHTDnbeXiR4vY9itDY5xYOFZTYIJhjvCEAfI/SNjm
lIdMf5mwIGrN8nj7NsjHFX53cT0nXwwqTHTw6+H1DETBVrk2Z0OhCWDGU0AikuIluJKwU
hFoOQXlE3Fr2m80OGqCrNm+ybk/vurKiVZifZGYIq8bzJKLInnmxLGzr8lat0lye2CteG
nMhzj1CQ2bK5/g6dmF3jaBvoUYQbBvHN7CJEr0FQxNs8QR+RHM1NGcwWL+2qBpkMbKZAW
AOK4+xrSxgxVxyO3R5TAAIFfDLx2rBQol1CEdjV/Uc7ci2Ekf7O0FgOxmuTOOEzMToA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795110435;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
Received:Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:
X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
Content-Transfer-Encoding;
bh=jA7L51eZFG4wqsC1MFVIKmRTCU9z9tkqrhEZ8kU+Blk=;
b=EIu0ngu5gwjuMrXusZb6+TYGU3ZjFaJr+Ip2Gf5GG+un9naI4uN4iNrfblq24rvV24oP
zeS4MGoAUPMR1Od2rPNVkN+yTuJopGCincAkkzsK7SG2bjPAgk6jmUnyJHDQ2jGennVGs
4VlBvFqtamHvdJZUecV3eBA+L4AL7gsnJZ7rnK4ljbDBNziafhDN+pqCDEoN9VU7WXmwb
s0RXx42hkH4/05ivxuAtsCoJ8VD6L50Ne8RCUrux0H1obZiG/iqnRgBw2qm09CllWxwKA
hvwjH/7rSXrqVujvD/wOqJKktPuATF7VA0p6W8m6PTZ3pT/GWeGl8H5Kmm0YNstAVIQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=oDueYk7u;
dmarc=pass header.from=networkplumber.org;
spf=pass smtp.mailfrom=networkplumber.org;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C374606A332;
Thu, 19 Nov 2026 17:47:15 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=oDueYk7u
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.50
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1795110434;
b=15TEzgnHOspTCuDwmCoFFUdpUS3cmNMwMt6aKT1fOj2AofA/cOk6sG67k5j9DYkPTgm9
v+fn/XcURDqI81Mfl/B5ds6IbWNVa04jObITBP4VI55JUZEXBpiUjkziqCay4xZlGiWfw
AaDpKVSH+k2MsIU62ffwWkx2Fz12a718bpnQ0ZyPfK7TWLVWV5hGqDEFEO6b3Q+oPGXGK
hWS3/ay2daQ+5geUrhraIB2irGpFcMq9lGHyURmCwVeP0mzo0vbdlqaLJqS6XGkeyM2sz
e+zPASBHvsSQQIJyCLHIJb2k6cAXKOTptty0xHIabWzVsV4e/Gl8ZmWjrZlmlaBLDLw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795110434;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Date:From:To:Cc:
Subject:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:
Content-Transfer-Encoding;
bh=jA7L51eZFG4wqsC1MFVIKmRTCU9z9tkqrhEZ8kU+Blk=;
b=3DXHebGh/TaK91DTGfoiqvmbk6Pkd003FwAbFlnPZcwHddLgO/Vo705cb51lI2IgcX6V
3xHUaK+q53kmz2ugSKVWfJxVSStzE+i4OEp/Yxgj9o0W0xQMyWL0foQ8JU2LXVOawfziA
EAnfcIimGap9Y1Y6o53ms6fQqJSL4TMWjWoxqqc1mqRU/MCZl/by75UkNn5dTa/b233xI
c2CpISrxz8Y/3TDhHwQgXVMrKJ6aOBXvFv3H0I8kTTQAJM+a4J37V5yVWc8ubhJHzb8Nk
XEyx4SzRnrQ7MACAVIJFBRCOHRdgI+T+CF8D/tVwQpckDNZ6bxtWji7DwQVy7hzmlCA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=networkplumber.org;
spf=pass smtp.mailfrom=networkplumber.org;
dkim=pass header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=oDueYk7u;
arc=none smtp.remote-ip=209.85.216.50
X-Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC234606A32A
for <netdev@vger.kernel.org>; Thu, 19 Nov 2026 17:47:13 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CC234606A32A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=networkplumber.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=networkplumber.org
X-Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-3b3e85baf7cso72530a91.0
for <netdev@vger.kernel.org>; Thu, 19 Nov 2026 09:47:13 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1795110433; x=1795715233; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:mime-version:references
:in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=jA7L51eZFG4wqsC1MFVIKmRTCU9z9tkqrhEZ8kU+Blk=;
b=oDueYk7uG7QpLXBSnsvPBynfqerujgz25M9iCIQlQm5Q9k5JXnEKvNmXl+C/In2Vqg
KTO8m8bssuhLM1YQltPNRvhzpp0l3aibGHmtqCnTtYYMkYM/8X4SooY8T3PG9amimivS
WvOXzEOdBaYBGOaKiAKANTuRuvsAo4akje9WvJsK+BIlx8YPFxzOsnDsa+nQtWB2rwfr
zQnriJMPj4dCubTMbkcvemmc7hrlFQuXJiNE07T0pyPFbMuLNzBeVno/ocyHUczrqa+r
O5pBDzONoHKGrg8vkqEKIT+WWdkBP0UfQXoX8ZppwPTr43TwMvtQD+DDM0rRffkV6TSI
Jgiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1795110433; x=1795715233;
h=content-transfer-encoding:content-type:mime-version:references
:in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=jA7L51eZFG4wqsC1MFVIKmRTCU9z9tkqrhEZ8kU+Blk=;
b=GbyjiMwNtui1EFtDiTGUNt95KrI4xep336Dx2W8nSccgaHiHdUSaEL3jjdMbwVgnHJ
7GEkaoQrQcf1Vdbgv6dG7kIZqxc6i2yy2S3eujOIdnIoeJPCp7FfcSIz8kINiHhH/Qq3
6Oi1hctxazSjSm0oY8gsvh6+3a4Q1I5UvrbHfEuUNdKw5EsMB7/jIueR5D+2nVjCKu5L
yHQG0pP6lFA7w0lCexERqF+TEFYKVVCed9JF2T+JBiUP6GT0zILKLmOWEbB2cUcXtaoi
r7wjajuGnWBXHw6FTq0IlbPALfGML7TEVOrlx0kWwHOX+OTI9oxB3Ed+0dyQsVj48XTX
oDpQ==
X-Gm-Message-State: APuU4Z8oWPjD57/QcJuX5klOLnrc4BgnbHPIFcvdxWBlxQCo/NLfKOP7
pTTRKrb2vVAz75sPee6eWtURH9JfyKZzto7yTLd5i1KmliNtn5plbFEpHxm7LTjCgYXVuocI/4p
TURC+26w=
X-Gm-Gg: AZFdTZdzEmq/QcOeCIeI3x+YOeST5WolQeKQq/NMbGA5gZEtDB416tseF5UGycNgQik
/Se5eJlnbS23/v07Jv+s4vCA/+RqxvKPkKNt70XAzAsQbMMW3pSpGhdK0TDtkD9crg+ngRd/uWD
gr8ZSqhC5E+KkgypRQvXGT0tVTNPcye7ItTw5rRf6N1TW56GguoO9Gta27yD4+IRDVH7/3cTzNg
I0Kyt6H9fOChW1IC6mroeQf0ge8qYdItG2XQxsAmr0oUegE8UtKksAiUPhg9zOlKnrtmvwfI6gb
aVD6T2SRrpNdLms/SfrCQvGi829Pd1XGci6ntwO7diajq6dCa5gO8Yl5wzYkwWgPxm1wMAF/XlK
BsgngEtf1u4EKrDcs90ZjrHqGBz6Qi50+w33x6bTyluvRKhe8zBMJ/ZteBqCCNff6iJmkUFyegY
JwTL03jnpxvNSQEb1TuuhYTNOm8gj3ECrj8NY+Wb46bdAloRE1Tleb8VWbtTMcYXPkpLuESnp9b
h9gSOimAHeMBWCtzpmSGzZnssmFkV9CCXu8Q7mPgLKfn62SdyVjouX++aKv7HuJd6PWHh5xH5S+
IAdNiN7+aP/N9i0dj9I1mdn1p5jIRjNULDO4BWj9rjegZKdU+Q3Enoe18GfUFbFCSEw2h9U=
X-Received: by 2002:a17:90b:48d1:b0:3b1:832b:bb3d with SMTP id 98e67ed59e1d1-3b41c9817dfmr76906a91.57.1795110433087;
Thu, 19 Nov 2026 09:47:13 -0800 (PST)
X-Received: from phoenix.local (204-195-112-43.wavecable.com. [204.195.112.43])
by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b41ad92c13sm326249a91.14.2026.11.19.09.47.12
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 19 Nov 2026 09:47:12 -0800 (PST)
X-Cc: netdev@vger.kernel.org, dsahern@kernel.org, Thomas Graf <tgraf@suug.ch>,
Daniel Borkmann <daniel@iogearbox.net>, Alexei Starovoitov
<ast@plumgrid.com>, Jiri Pirko <jiri@resnulli.us>
X-In-Reply-To: <CAM0EoMkLUeJdzCBxsknqxSKAZ2Q7WhAB9ifV_tKXne4fPxY7YA@mail.gmail.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list