[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y+OJeyIey9DvsKcy@corigine.com>
Date: Wed, 8 Feb 2023 12:37:31 +0100
From: Simon Horman <simon.horman@...igine.com>
To: Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Eric Dumazet <edumazet@...gle.com>,
Jonathan Corbet <corbet@....net>, Shuah Khan <shuah@...nel.org>
Subject: Re: [PATCH v4 net-next 1/4] net-sysctl: factor out cpumask parsing
helper
On Tue, Feb 07, 2023 at 07:44:55PM +0100, Paolo Abeni wrote:
> Will be used by the following patch to avoid code
> duplication. No functional changes intended.
>
> The only difference is that now flow_limit_cpu_sysctl() will
> always compute the flow limit mask on each read operation,
> even when read() will not return any byte to user-space.
>
> Note that the new helper is placed under a new #ifdef at
> the file start to better fit the usage in the later patch
>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Reviewed-by: Simon Horman <simon.horman@...igine.com>
Powered by blists - more mailing lists