🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #15334

Re: [PATCH net] selftests: net: udpgso_bench_tx: honor CPU zero in the affinity option

#15334
From: patchwork-bot+netdevbpf
Date: Thu, 12 Nov 2026 17:20
29 lines
8997 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 10 Nov 2026 03:39:20 +0000 you wrote:
> The -C option accepts a CPU number, with -1 meaning that affinity was
> not requested. Testing cfg_cpu > 0 ignores an explicit -C 0, so the
> benchmark can run on other CPUs despite the requested pinning.
> 
> Accept zero as well, keeping the negative default unchanged.
> 
> Discovered by Codex-assisted code inspection. Validated before and after
> the fix with loopback UDP traffic, inheriting CPUs 0 and 1 and reading
> the process affinity with sched_getaffinity(). Before the fix, -C 0
> retains both CPUs; after it, only CPU 0 is allowed. The default and -C 1
> cases retain their expected masks. Built with GCC using -Wall -Werror.
> 
> [...]

Here is the summary with links:
  - [net] selftests: net: udpgso_bench_tx: honor CPU zero in the affinity option
    https://git.kernel.org/netdev/net-next/c/c2d5ef7e600b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179450400877.546493.115415908512112502.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362058-linux-kernel-netdev=dewy.ru
References: <20261110033920.49267-1-xujingjing@cmss.chinamobile.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362058-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] selftests: net: udpgso_bench_tx: honor CPU zero in
 the
 affinity option
Date: Thu, 12 Nov 2026 17:20:08 +0000
Organization: Usenet Network
Message-ID: <179450400877.546493.115415908512112502.git-patchwork-notify@kernel.org>
References: <20261110033920.49267-1-xujingjing@cmss.chinamobile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1137574"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:BbVPibcpKOM1O3MABSPbSdVbQFw= sha256:mAxai0BABO2N2VZO7bjEGm7ydVNJKRkL34cDg2DKXvA=
	sha1:2SUb5LWTBkWrR1DX8gk/G/0IqZc= sha256:t7ZuvXCwyWYCjmZ0+IfFXBQ4b1m8L35WnIrfmc1YrtE=
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 B5F66114329; Thu, 12 Nov 2026 20:38:15 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	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=kernel.org
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 33fE7VVivy9w;
	Thu, 12 Nov 2026 20:38:12 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-362058-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id B784011431B; Thu, 12 Nov 2026 20:38:03 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 8CCEA145DA7; Thu, 12 Nov 2026 17:20:24 +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=1794504011;
	b=0iPIotrCetHXTKOWPGZAIeCJGL4jCqpg6aXkHsPiG1MonUJA8t17T0opKRFkji11sysg
	 SVT1qrNh8VbiE0cdk30J+asLs+o341tqk8038Z0WXtcKCSIc9RHKYVUpEpoAkbdC4Cm9c
	 tmcaxMHR3VL2fF3BP5uLM8oqmjtj6ScWrq7F/SoaROfb1Q8YKWUlk9wWLQuAz6+k8HuVS
	 DO0Rr77Hm568ffSfstbqpRMLPow8E01XPGdozavWzfQRi2fnG6oLzqsF6mlW9Xgl/eCSf
	 jbkUdfytaHdBNXUPQJaMDGDv+mh1yLog5pclH5/um1OvLa5Y9vW5d93rFfKAW9Gp8ew==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794504011;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=qh1V44/qrjqPJqG2SSMDXw9kPp0UwBbtjC0sXrPB5vM=;
	b=c9z3BdabE9gkgOUKd6AJZ62MCUoc4S5k6OTqWDQXu0phQFOpXGH1geJ7oUaGXG2t0PT6
	 0hzXdOWYODqXE4CEF8yrp3WTlHS274ngWT6vDAcpFMKQOoqEgsZTHhKpFjN/1AZ6QqKGu
	 4KS2krAaIgkJ7F96qs7KHSWqJJ8mwsKzacTfhpfIca65ccI1kNfn9x5NumwDDLxLtrwgO
	 bI8iglF+KHi4sQqL9Lv9ftInhKKNBi9oOUV8JtdXTrvX8OLVomOIIA/VkgN5aE4epUxr+
	 +L894LdM9sGcdH59WZe4dllbc2vhYjqHf9O8/9GifFd0FPjCEzFFc2ExrSCIp8GtnEA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gZ8FCuym;
	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 91FB9606A881;
	Thu, 12 Nov 2026 17:20:11 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gZ8FCuym
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794504010;
	b=pJD3Rq5akf8/xnrFqVNlASvjBf1vR+A7d1lcYMQrP1jWQ0HffEOs/IbuhKadEFgu0f5D
	 p44I/y9p/vf7sfd4Zz7OYAAWh0WX8qFHos+DpINWfhSkE4PIKdTT8inCXJ0HH8oVwjCRQ
	 Esx84Rm5ABs3FkjyPZG5LlKwtAHrUHAnKiVRj4/F3yFrzVsopaPOpubueJowQv87YAcf8
	 5/5LD8UGI/Pgd7rN8l8NJuSLzOctjvEpn2VhMCYlp2nPYlX8ut7iiaUnbdXqzvalOzd+d
	 rsqzBFlPcySW9R6mJWE7xxKqS78AVkTyqA3nqoZIWiHwO8QTbG2Gb/WxpSByxGIlPyA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794504010;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=qh1V44/qrjqPJqG2SSMDXw9kPp0UwBbtjC0sXrPB5vM=;
	b=03Drz9HWyAqvVPa0hMBK38995hiORMp7mpyrLKR642fGE4rHaMxJ1G7ysj93S1AVZmI1
	 4eujUnsixxdDOjIQ7c2EaeY6DO+JFRmYZjYVabFAgl1fDzaIpgJtw9UADv2VpgsHo5XVs
	 4jvkga2SmSNCHmOGEE0hmXG7rAf1VMDg0tpHVU1oAeEn+W0QoB/+TInnuYFJutHM2QB9e
	 7scV6kVIfrrMq4MDoJVSOR64o+obTBF9j4o4SghEJA8JfGek9IfdTU5p4zqtbanJIos8b
	 84TQRsM1sSuKI1/njnmFyAH70KMb3rwxXCONnsjIfDQXSc1xwKCyKx4oOP5Y171fTjQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gZ8FCuym;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFA57606A33B;
	Thu, 12 Nov 2026 17:20:10 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 447291F000C4;
	Thu, 12 Nov 2026 17:20:10 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794504010;
	bh=qh1V44/qrjqPJqG2SSMDXw9kPp0UwBbtjC0sXrPB5vM=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=gZ8FCuymDVmjcoz1OcqeOjHS7kOYvCdzOq90aoKN0D36HBSyYkkLatxsuIxXwwah9
	 Udx182mcaR20iUq3PlCAPfFAqrDbK6srs/UksptS1FZ2CmZE4Q4EhSosyEc3n6J/2e
	 2FaI3WLe5Dc0I4UH09cG6NduPyHbxTjjRFaqM7BnyTIQHiT0s4QdlWgDGijSJHt9Wv
	 xB2gpC0EGOJvIp4nUX64ikz2W02ipmo6AtKk10sCMrejusPxF0+uyFPR0CrnY31CqS
	 29gQBuVsXylCUvXNzC7XlYyS6qz1ZZfmbPHknnnQ6cgw8ESLOsDQdcS21XTNF/mJOH
	 fXgbrUpy6Rv0g==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3A322380AA78;
	Thu, 12 Nov 2026 17:20:10 +0000 (UTC)
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
X-In-Reply-To: <20261110033920.49267-1-xujingjing@cmss.chinamobile.com>
X-Cc: netdev@vger.kernel.org, willemb@google.com, kuba@kernel.org,
 shuah@kernel.org, linux-kselftest@vger.kernel.org, davem@davemloft.net,
 edumazet@kernel.org, pabeni@redhat.com, horms@kernel.org