Re: [net-next v5 1/2] seg6: inherit DSCP of inner IPv4 packets

From: David Ahern
Date: Tue Aug 25 2020 - 12:45:59 EST


On 8/25/20 10:02 AM, Ahmed Abdelsalam wrote:
> This patch allows SRv6 encapsulation to inherit the DSCP value of
> the inner IPv4 packet.
>
> This allows forwarding packet across the SRv6 fabric based on their
> original traffic class.
>
> The option is controlled through a sysctl (seg6_inherit_inner_ipv4_dscp).
> The sysctl has to be set to 1 to enable this feature.
>

rather than adding another sysctl, can this be done as a SEG6_LOCAL
attribute and managed via seg6_local_lwt?