[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zs3uC1rpGScO4Cvn@debian>
Date: Tue, 27 Aug 2024 17:17:31 +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 09/12] ipv6: sit: Unmask upper DSCP bits in
ipip6_tunnel_xmit()
On Tue, Aug 27, 2024 at 02:18:10PM +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().
>
> The 'tos' variable 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