[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zs3sEHhFKIyyY9NJ@debian>
Date: Tue, 27 Aug 2024 17:09:04 +0200
From: Guillaume Nault <gnault@...hat.com>
To: Ido Schimmel <idosch@...dia.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, edumazet@...gle.com, dsahern@...nel.org,
ast@...nel.org, daniel@...earbox.net, martin.lau@...ux.dev,
john.fastabend@...il.com, steffen.klassert@...unet.com,
herbert@...dor.apana.org.au, bpf@...r.kernel.org
Subject: Re: [PATCH net-next 08/12] ipv4: Unmask upper DSCP bits in
ip_send_unicast_reply()
On Tue, Aug 27, 2024 at 02:18:09PM +0300, Ido Schimmel wrote:
> The function calls flowi4_init_output() to initialize an IPv4 flow key
> with which it then performs a FIB lookup using ip_route_output_flow().
>
> 'arg->tos' with which the TOS value in the IPv4 flow key (flowi4_tos) is
> initialized contains the full DS field. Unmask the upper DSCP bits so
> that in the future the FIB lookup could be performed according to the
> full DSCP value.
Reviewed-by: Guillaume Nault <gnault@...hat.com>
Powered by blists - more mailing lists