Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp934492rdb; Tue, 30 Jan 2024 03:11:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IGN6zdbLvnwr2mLxDdIIrrYgOkRZhPzBdalS8V2vok+7tHzNAtRZI7wjj7OMAa8/REJE9CG X-Received: by 2002:a17:906:3c4d:b0:a35:69a4:130a with SMTP id i13-20020a1709063c4d00b00a3569a4130amr5802111ejg.38.1706613098262; Tue, 30 Jan 2024 03:11:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706613098; cv=pass; d=google.com; s=arc-20160816; b=j4zMTDuDk3BhWW9rjgddEvzALsKmhTbGdaGnozo+8p8tk4XK7uFDzQyWepA5HPDDvf nwLEmiVakTERJj58FXFtPMbwURBU8QPGUeDp2W5GJuqB7mmZIecyyUeT5WgFqSZjpdpZ u0WCUA4RXkbShCpnIcAyHLCoHCzR3OTYM3ckYtmC1FEfxSryV0kVVvYy/9GOVeR42deO v/+nH0UsYNisxQFyvndX4Zui2wWglC4MWKiAvuS5f52ZlLRrKdsP/mASsbplFefVYGLZ q4+U/+Pp1JCAHqMMAHDObcuGTZF8FeBGsr0dJVNb4+kttRQhcV75PCmrV90XdfhdTO23 sSvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=TBut687+CngC1V6DybLvMuvksVlDvFsuQn4kKeFoRRc=; fh=bpIGXzY3Zo8JN/I8hIILII9NUwbqkjduUw3uUjTOc40=; b=Gw/+UYbontDW3jtEMDG5BRUf6rQpAeEw4QH6R0c6FywjmucYeWk2jXs051evlmWHse G0y1iXyHPBNMMOo9k9JL3NOgBWoCAvic85lc8TyjncFal3VP19RqXZPAXVZVcJkpKa5m RZ/zjtNXVZiingJ1Dd7IRdBAhJ5O6Lc/Pf82nsTUXMjLJyD7WLUurz47nRJWtPXDhm5h lFX0/B1mdehb9LZrrkjBtE1Keb7lj4zJzGJBPYzZKmnvAZUOQs7LVVg7et7bBQI8wdXd TGuDoGGMwA3GS+VQW+KGNXoUuDAQ0hV0GxYOMcUlMrFqnsKoCUHk9imaLHPsm1GV99Ou qeFA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u6+qj4Cv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-44463-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44463-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id um15-20020a170906cf8f00b00a2adc52f10fsi4429453ejb.876.2024.01.30.03.11.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 03:11:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44463-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u6+qj4Cv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-44463-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44463-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 993FE1F20582 for ; Tue, 30 Jan 2024 11:11:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 701E266B47; Tue, 30 Jan 2024 11:10:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="u6+qj4Cv" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9441A664D9; Tue, 30 Jan 2024 11:10:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706613032; cv=none; b=QKftqG841fGesiIdiuwPfR/dSGA9z8WDzCVCFPvr9KVkfFU5fokZk9Pl8oxAx1xgCmAw0PFmT9wgwW/STjSnR/06kYh334k/9TaXRfsFtB9bdZ9M43BkF8fBRQcjjg3KKrsDLCCH6cfUqQZ9u98YcZrgvbHVlhidrRy6GdaRakk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706613032; c=relaxed/simple; bh=jaw4K6A04pMut7r0Mu9LnNd3WREiAQkRJloYXC3dL08=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=k3OaR5Bkho+0cyTOyp9L8LgEiuzdMH+5x9c3N/4u/2Va0rzi75D4jrY38ag+Su5biQOUBH0VPgvvGlCxXwGeiXbxbUYx0g7P5TCR9Kdi8ZnAbQeo4tXnZU/KqlyZNvLZowK4cQ3Q8lzFAxIxjsKJs5W/a1u3dBFoCIZXpdmNb1I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=u6+qj4Cv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 0D2D0C433F1; Tue, 30 Jan 2024 11:10:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706613032; bh=jaw4K6A04pMut7r0Mu9LnNd3WREiAQkRJloYXC3dL08=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=u6+qj4Cvjks+U/iSA3T9mHO69j6Nf5ISA1so79/Iz6u3jTG9Kfysw8OMFTX3MVu5l RecpZOsvk0aseYB7eBCtHVn/gNqwNqxx3Rpf1Q3HULmPKzO7OhyBGXRpwBF3AoJCLK 932Q+F3HcNMiMcNkOU82hl7FUj+2Ksm6c3GG93+2BLdc9A4g6PLZb4nEqpJKp8I8Mz 8p9qP7tQ4QoROb3wHfnllHLiZMYu3EMtfQsewz6gNVTq121WKdTrIzXKPB9eoNaRSZ isStjdumkKBxnDhr/IJ7DAZKAb2TN5+f/8UpmSwZzyRfCEBnBc0UoPa2bC6XNrk5Hv zDMgBT5VAJlng== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id DF9EFE3237E; Tue, 30 Jan 2024 11:10:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net/tun: use reciprocal_scale From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170661303191.21939.5608794279879592159.git-patchwork-notify@kernel.org> Date: Tue, 30 Jan 2024 11:10:31 +0000 References: <20240126002550.169608-1-stephen@networkplumber.org> In-Reply-To: <20240126002550.169608-1-stephen@networkplumber.org> To: Stephen Hemminger Cc: netdev@vger.kernel.org, willemdebruijn.kernel@gmail.com, jasowang@redhat.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (main) by Paolo Abeni : On Thu, 25 Jan 2024 16:25:11 -0800 you wrote: > Use the inline function reciprocal_scale rather than open coding > the scale optimization. Also, remove unnecessary initializations. > Resulting compiled code is unchanged (according to godbolt). > > Signed-off-by: Stephen Hemminger > --- > drivers/net/tun.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) Here is the summary with links: - net/tun: use reciprocal_scale https://git.kernel.org/netdev/net-next/c/3f3ebe536208 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html