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=fVwIgeHhbFMLW6lXkks2nbplFP47EFtsgqF/Xe68iDPrCjs34PxhoZ77O2QeCc081cpM g2n80pirTXskAVQbR3Jrg2jSGoRRH5grs9SjDyiu9ei9hhrmycLkPDJqgm6gDBZOB629O 5sYc9bPOviimPq+ousIC42vCn/d+RvUzFYTB5tnenZlQ9bvHQxVWEO58INtuCUSsDAtOb NZku9D7f1Wcb4HTyC0wDwg35zBlOyIzdz3sXLxM9Nu+E0Pu3Rcv3mihysdgSFHQ7Jt7mz LJOtbhx9jJ205J90BKjQAxiL3lgo0GR1dqXbzzgfOQHM/iOGjXAOCcRckx1S2+mGYgQ== 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=FlCnrD0TUDjBfPzH9fyn4k3kjgTuHFHph9i383Erbx+zGJVCbjw//0j5NldWQTYN3Xcw uLinGW/vr2nP0gkN5TflDvXjp/aQUeIW5bHzwx4bCO1FnlTs7AzRsNTKPaqoUKU8pmjRc uri45Yq6kDPhorNSGerB0WOh+WDeLaml6AfXEBwEucW1nteZJ+sau+ynpUZgsy7geJXgx g0A4B1/NxqaHs1Dlli5asWTz3Jc5SzSGyJnka7L8B5tjcbpnhf5BvFp11czC5D2Ejn3/x e0cMXa5dM8LTG2enVDIL/Oeugz0KTCp9wJOcR4COT416Nj51FgkiRYphZG0IzDz/pjQ== 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 935BC606A320 for ; Thu, 19 Nov 2026 08:31:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 935BC606A320 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-654--A9nQumFPieAWNxCoeC5Ww-1; Thu, 19 Nov 2026 03:31:32 -0500 X-MC-Unique: -A9nQumFPieAWNxCoeC5Ww-1 X-Mimecast-MFC-AGG-ID: -A9nQumFPieAWNxCoeC5Ww_1795077091 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-49337a224a8so1307798f8f.3 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=M3wSmygZAahvZNNLk1YA1TDVTU1nPwPMjrZekW52UX6vyr+DFt7biY8k1/ola++czJ 6ySzmTklB9Djcizb5ck/scGXtPPw/SvKRsJhPwaKm+LbltaALdrm7XB/UlpLxv4Cdppb sSSX5O9+c+BKmD30iUm/LM9c97dOHGZeTg6k9GkuAMJw4ebax+kzXdLZtravC36HOd9G ywrCEG0chXTA1WTcOk6tGWoqebG8txYvTYryAaBUG07Ktdy0abnPrZ4zAURZqWKfaAH2 AKWK3YpZ24z6JMz6pVl+XKpc3dmyLxLrXH0RnCpH1HAeaHn659tj/BlhrA3gnY1yUNWT 35Uw== X-Forwarded-Encrypted: i=1; AL+hErESduz0TLJlckX/0LF/XY7jTN1M3Z8tkGDyWHD7QA/Ot6fLsc3GcJL+lWnlX7w7OMdK6e4=@vger.kernel.org X-Gm-Message-State: APuU4Z9TiArHrGxxPxOpWmgu4i5KhLI3QEuPhMJx8rU1rkkOSWm7myJ3 3/0xxqoKh3Ae3RlCzxTJ2FPK3GQkYobk3ZJdOh1+NwBOm6jkwv607LeEkvK2D9im/wo4+ikzyRM xhGtzJLa5+VtvNYIjic5r2N+sJbO6LtQCQ7jYu8pQTtRKJX0oVo48JA== X-Gm-Gg: AZFdTZd+hrrKhJr2HKLdibUFxFQijaVC0/KLS1L5R1QZ55t3sRsM4ghso6GX3pEioEp cx1pvKkdpGuXwyp2zIM9Xi2uXR3NRhUmmH3OQyIpsJ9OifTRbD3GuKUPyD/rxLRvMq2GMIkul6C O2APZ7f7Aj5kD9Pbzk55o0Z3mbAfYDQceME3/cyTBMWJLpJp3FD2VkM/y5oRSQVI1gCs8GNJgke quytb7tT0lgr8xcZK2KWXmnS6fwzSUSQ7s/YeD2Z+EMrFJbfb2lMCWH5C+274GA3kLPFEDN0o5z Gc3wXltX2h51F0TUCqz2O4wVP2v7/oUPUvlEixXA0jnCA0cSrW5ILrSqBBb9WFS9qZkG8nnXDkj Xuvf6/KaEDLMSod6QZmm3qCzzGC2caXcmhX7LmeDBb0/Z5naR2/cFrlgXyKyiYnwAhIhoIG9tMU aBWHg2l1UsbQs2yRVV7jIq2TKlo/cq4dSNvqYYPyERx7Na X-Received: by 2002:a05:6000:430b:b0:4a7:790c:4a34 with SMTP id ffacd0b85a97d-4a7790c4b13mr8112485f8f.20.1795077090578; 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: bpf@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