[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9e2a0a83-844c-49c1-bc87-ea5dcbe0b846@kernel.org>
Date: Tue, 1 Oct 2024 20:45:10 -0600
From: David Ahern <dsahern@...nel.org>
To: Guillaume Nault <gnault@...hat.com>, David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Eric Dumazet <edumazet@...gle.com>
Cc: netdev@...r.kernel.org, Ido Schimmel <idosch@...dia.com>,
Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...filter.org>, Roopa Prabhu <roopa@...dia.com>,
Nikolay Aleksandrov <razor@...ckwall.org>,
Steffen Klassert <steffen.klassert@...unet.com>,
Herbert Xu <herbert@...dor.apana.org.au>
Subject: Re: [PATCH net-next 0/5] ipv4: Convert ip_route_input_slow() and its
callers to dscp_t.
On 10/1/24 1:28 PM, Guillaume Nault wrote:
> Prepare ip_route_input_slow() and its call chain to future conversion
> of ->flowi4_tos.
>
> The ->flowi4_tos field of "struct flowi4" is used in many different
> places, which makes it hard to convert it from __u8 to dscp_t.
>
> In order to avoid a big patch updating all its users at once, this
> patch series gradually converts some users to dscp_t. Those users now
> set ->flowi4_tos from a dscp_t variable that is converted to __u8 using
> inet_dscp_to_dsfield().
>
> When all users of ->flowi4_tos will use a dscp_t variable, converting
> that field to dscp_t will just be a matter of removing all the
> inet_dscp_to_dsfield() conversions.
>
> This series concentrates on ip_route_input_slow() and its direct and
> indirect callers.
>
> Guillaume Nault (5):
> ipv4: Convert icmp_route_lookup() to dscp_t.
> ipv4: Convert ip_route_input() to dscp_t.
> ipv4: Convert ip_route_input_noref() to dscp_t.
> ipv4: Convert ip_route_input_rcu() to dscp_t.
> ipv4: Convert ip_route_input_slow() to dscp_t.
>
LGTM:
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists