From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795077095; b=ZZdhu+iVzO+Fa9xHK7MH1Wr6IwINRley3nZZk5zbyIqV0t8Ey/dGWpXhfXm/8PCAwhDw S5oJkbMcI745YPPJpzkSstLPZii9rwMYkDhhBjbBe9e9bjOxDoR2Exn2/kNFmdzyyghqQ dogyXnYpc0djhb1V2/V6dWQgEXO02+o+94LCUyqg6x98eU20L01vAbr8XXaVG0BB9SeZc jInIDD2IFVVN0IQL3Ib0y3fpsROV8OqINrkSESBPt7xgZyrmKcA5DKrirmmwV06rFC7Tx 3/CtP7IMS3OjqVyyGPuSUdMjnywUGxNTS0Szc/H9ecYIj4qJSFNzIVawmYMPaTYKuQQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795077095; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received: X-Received:Received:Message-ID:Date:MIME-Version:User-Agent:Subject: To:Cc:References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=vaPFVpL/9If37STR/jB8Rs5zzcu3i/Qfukaxf8Ff5Jg=; b=pzz2acINRLhHrNUPJnsgch41CNFLc8I/qdKh5bJF5OitLyTtXrjNqVlBJkfmvPkgMHMe qK5UEElxLHB/bpc+oXkpwyuDoLx2sT+Oiftn3v2Lg9rLn6AX7HwreOmMz4ELzIyV4iliG 7iIpCIYeo/4aVUY98lu9MSvI+iJrZGG8GZykLtDbpOzIGOfqfZo7M1iN1YztkGvEptw65 b9KLLLxNRuuulFYGgaGYZElS21DlXV3XGg+PpJ4WpqRUSZdM1d8lxa0ms4CL1/pdynRz5 Rij7UjJ29ARpwd5VC2ok5qt+G8N2iIuFg/mU2pDBbA0ZPQioGo48wn1e7OfpN11ioHQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=GIx7CChS; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=H71ilNIZ; arc=none smtp.remote-ip=170.10.133.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C37B9606A326 for ; Thu, 19 Nov 2026 08:31:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C37B9606A326 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=GIx7CChS; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=H71ilNIZ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1795077093; 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=vaPFVpL/9If37STR/jB8Rs5zzcu3i/Qfukaxf8Ff5Jg=; b=GIx7CChSRqmu7r4lIxiZkCphn8R/HMoGfQLPQIbCv0rn/linnVGwDAA/6jbPJu/Nmv3904 8SShlM2233GN1JHIMnKL7XnToeexZWP7ZsdN0cTd+PNNolfh/qUTvdDPyTIRnwJwJkzBmJ Blc08t93zkhTr7mK9j1eg3SqnXuamF0= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-10-V_8lza5UOVW6PJQJKP5oBg-1; Thu, 19 Nov 2026 08:31:32 +0000 X-MC-Unique: V_8lza5UOVW6PJQJKP5oBg-1 X-Mimecast-MFC-AGG-ID: V_8lza5UOVW6PJQJKP5oBg_1795077091 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-490c1867460so1150616f8f.2 for ; Thu, 19 Nov 2026 00:31:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1795077091; x=1795681891; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=vaPFVpL/9If37STR/jB8Rs5zzcu3i/Qfukaxf8Ff5Jg=; b=H71ilNIZiYQSYWQFSHTAVFLdeR/zdYUxy/I6kF+095WIJaeAaVRgVXliryYM7KlTCO 1ICPmhQ50M5KQw5cbXIT9IzsuncvdQhwon8eMBuJpZMHh5k9i3+GFEq2nkYNrPgCe670 kFMRCbzoiahF0K5nAJKsgG+Gt70brBR18AqRf3l1JX8fbLQPnBmXcrh7Rbsw4SK6F+Is CO+pGiVuo7flmq9gamNZ2d4RyVtx9lv/LwHryf3c4eNh8/tqgJ1RhaqpC2Exg9l3pPSZ 4KV4rKmRN+vqhoGP4VTW5qdLd/7wKZVvgdmcZ6+t/zppFy8ptYho+iNeiQW9kRLat5Mp shuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795077091; x=1795681891; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=vaPFVpL/9If37STR/jB8Rs5zzcu3i/Qfukaxf8Ff5Jg=; b=S1sv0ZRtce1lc92ClqJNDCBIl1KtxGKJhSDwYzf8YdgV/edsA5WtXxVOmTDqj1Jnch pGbFm+LmkjKkpehQEU5XHn5k/XIN8pBXsP9Kt3JZo6Q0OkwGFxANwLFAUNOSKUUkLSSI AI8fSinVt3hoAXFEBXClXYEnkJeZ06SPZ3GeTQW/iKzxLVr648twmc/Hn/pI/+1AB58b UZMbrgF/r6cPJ2MoGLHQUfSYyS/MuwJaaGAaPN0F/w62IagrHNaJ7WXhVswWbxB+YHRd oG6cfKZfZy4LamEBgwBshneVsD3VIewYrTdeGlK0QOppW2/gCi4n5GAjpx/dbpZeBvWV d8wg== X-Forwarded-Encrypted: i=1; AL+hErHK+EtPS1dPXU+ksNcp3e9WtZMvzQzWBG3SIgkLi8LwQ/A2PBM6mV3r+mi8763UgD99KVFwJYQ=@vger.kernel.org X-Gm-Message-State: APuU4Z+twNm4l6bFZd7mRwG1W3/V3+GjaetK9PzPk6zv76vioTOs978m DsCxh+8KEOy/p8NAn9+wpQdb7HgiSzan9XDDQ2CWt7HQuU8HfpXpFWoI3MSMk23KU4e5R0tptXP fKA+xGdLGcE3jMHK91sdkNtI6WZNquLPA+IMS9LxQVBHjjPp68Iq4MOhEOw== X-Gm-Gg: AZFdTZeMEw34mW9RUtysTGeKnnm1GiyVd/iF6bUlyoLbSMXT1yyrEeYfxU9x8JAeanA Z+bnwRME9DAPs7EAIHfDbKTLtxt1VFDCFB951kJT2rO9dm9FKpevZ2DKGzotPCP0dq09XgwNznR Z0XljkZju42qZ1qtDdpKQgHdC+3VlKFegqqQep1O4w5vq9hXGR/EcASh9lMm4xnFpB/VmG1gg0m RXPUTCv8vqT2ivU4hGtcNhpMWR6ZO3zq1L9UTHWPfo0TBOBnEi1UCgTw51kztNsMqU+mmxKlL+X PAhQK6UpaiP10NSPF9DrMBQUnFcMdsNS1Soae1j55n2eB4L+KFIGzLP+rU2x4tTeU/uT7+V/28s 5mjqjeLuIOqben6DGsuNKnNby+/spq3cgs5/9F1ZUeQon5DmqKHAgCtmnK4UCXDylk+lgZRuvwL 1/ABXBVzNNKerbckqRkNWJSKvhteDpAA1t7ZnPMGNDaesG X-Received: by 2002:a05:6000:430b:b0:4a7:790c:4a34 with SMTP id ffacd0b85a97d-4a7790c4b13mr8112543f8f.20.1795077090760; Thu, 19 Nov 2026 00:31:30 -0800 (PST) X-Received: by 2002:a05:6000:430b:b0:4a7:790c:4a34 with SMTP id ffacd0b85a97d-4a7790c4b13mr8112361f8f.20.1795077089781; Thu, 19 Nov 2026 00:31:29 -0800 (PST) Received: from [192.168.88.30] (ip231-128-192-82.pool-bba.aruba.it. [82.192.128.231]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4a654a8c37fsm9141506f8f.18.2026.11.19.00.31.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Nov 2026 00:31:29 -0800 (PST) Message-ID: Date: Thu, 19 Nov 2026 09:31:25 +0100 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v2 11/11] selftests: net: tx_extra_headroom: test the veth attribute To: Tianyi Gao , netdev@vger.kernel.org, Jakub Kicinski , Eric Dumazet Cc: "David S. Miller" , Simon Horman , David Keogh , Jesper Dangaard Brouer , Daniel Borkmann , David Woodhouse , Dragos Tatulea , Nimrod Oren , Alasdair McWilliam , Willem de Bruijn , Maciej Fijalkowski , Stanislav Fomichev , Magnus Karlsson , David Ahern , Ido Schimmel , Alexei Starovoitov , John Fastabend , Donald Hunter , Andrew Lunn , Jonathan Corbet , Shuah Khan , Shuah Khan , Randy Dunlap , Breno Leitao , =?UTF-8?Q?Asbj=C3=B8rn_Sloth_T=C3=B8nnesen?= , Danielle Ratson , Kuniyuki Iwashima , bpf@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@cloudflare.com, nh-open-source@amazon.com, Stephen Hemminger , "Gustavo A. R. Silva" , "Remy D. Farley" , Amery Hung , Andrii Nakryiko , Andy Roulin , Anil Kaushik , Demos Ra , Eduard Zingerman , Emil Tsalapatis , Hangbin Liu , Ihor Solodrai , Jiayuan Chen , Jiri Olsa , Joe Damato , Kumar Kartikeya Dwivedi , Li RongQing , Louis Scalbert , Marc Kleine-Budde , Martin KaFai Lau , Martin Karsten , Matt Bobrowski , Michael Bommarito , Nikolay Aleksandrov , Runyu Xiao , Song Liu , Thorsten Leemhuis , Wang Zhan , Yonghong Song , Zhou Qiuyue , Tianyi Gao References: <20261119013830.36935-1-tianyi@cloudflare.com> <20261119013830.36935-12-tianyi@cloudflare.com> Content-Language: en-US From: Paolo Abeni In-Reply-To: <20261119013830.36935-12-tianyi@cloudflare.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/19/26 02:38, Tianyi Gao wrote: > Create a veth pair with VETH_INFO_TX_EXTRA_HEADROOM set to 64 bytes > through YNL and move the peer to another netns. Check that both ends > report 64, and that tx_extra_headroom of the sending end is 64. With XDP > on the peer it is 64 + 256, because the two values are added. Also check > that a value above 512 is rejected. > > The helpers leave the RtnlFamily socket to garbage collection, as > link_netns.py does. > > Signed-off-by: Tianyi Gao Self-tests are failing: # selftests: net: tx_extra_headroom.py # 0.06 [+0.06] TAP version 13 # 0.06 [+0.00] 1..20 # 0.15 [+0.09] # Exception| Traceback (most recent call last): # 0.16 [+0.00] # Exception| File "/srv/vmksft/testing/wt-1/tools/testing/selftests/net/lib/py/ksft.py", line 440, in ksft_run # 0.17 [+0.01] # Exception| func(*args) # 0.17 [+0.00] # Exception| ~~~~^^^^^^^ # 0.17 [+0.00] # Exception| File "/srv/vmksft/testing/wt-1/tools/testing/selftests/net/./tx_extra_headroom.py", line 195, in test_peer_xdp # 0.18 [+0.01] # Exception| map_id = _load_progs() # 0.18 [+0.00] # Exception| File "/srv/vmksft/testing/wt-1/tools/testing/selftests/net/./tx_extra_headroom.py", line 83, in _load_progs # 0.19 [+0.01] # Exception| bpftool(f"prog loadall {BPF_OBJ} {PIN_DIR}") # 0.20 [+0.00] # Exception| ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # 0.20 [+0.00] # Exception| File "/srv/vmksft/testing/wt-1/tools/testing/selftests/net/lib/py/utils.py", line 259, in bpftool # 0.21 [+0.01] # Exception| return tool('bpftool', args, json=json, ns=ns, host=host) # 0.22 [+0.01] # Exception| File "/srv/vmksft/testing/wt-1/tools/testing/selftests/net/lib/py/utils.py", line 252, in tool # 0.23 [+0.01] # Exception| cmd_obj = cmd(cmd_str, ns=ns, host=host) # 0.23 [+0.00] # Exception| File "/srv/vmksft/testing/wt-1/tools/testing/selftests/net/lib/py/utils.py", line 101, in __init__ # 0.24 [+0.01] # Exception| self.process(terminate=False, fail=fail, expect_fail=expect_fail, # 0.25 [+0.01] # Exception| ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # 0.25 [+0.01] # Exception| timeout=timeout) # 0.26 [+0.00] # Exception| ^^^^^^^^^^^^^^^^ # 0.26 [+0.00] # Exception| File "/srv/vmksft/testing/wt-1/tools/testing/selftests/net/lib/py/utils.py", line 134, in process # 0.27 [+0.01] # Exception| raise CmdExitFailure("Command failed", self) # 0.27 [+0.00] # Exception| lib.py.utils.CmdExitFailure: Command failed # 0.28 [+0.00] # Exception| CMD: bpftool prog loadall /srv/vmksft/testing/wt-1/tools/testing/selftests/net/tx_extra_headroom.bpf.o /sys/fs/bpf/tx_extra_headroom # 0.29 [+0.01] # Exception| EXIT: 255 # 0.29 [+0.00] # Exception| STDERR: Error: failed to create dir '/sys/fs/bpf/tx_extra_headroom': No such file or directory # 0.30 [+0.01] # Exception| full log here: https://netdev-ctrl.bots.linux.dev/logview.html?f=/logs/vmksft/net/results/917806/169-tx-extra-headroom-py/stdout I'm dropping the series from PW, please wait for AI review feedback before resubmit. /P