Re: [net-next v2] seg6: using DSCP of inner IPv4 packets

2020-08-04 Thread Ahmed Abdelsalam
The problem was the declaration of tos. Fixed and new patch is sent. On 03/08/2020 21:48, Jakub Kicinski wrote: On Mon, 3 Aug 2020 18:14:17 + Ahmed Abdelsalam wrote: This patch allows copying the DSCP from inner IPv4 header to the outer IPv6 header, when doing SRv6 Encapsulation. This all

Re: [net-next v2] seg6: using DSCP of inner IPv4 packets

2020-08-03 Thread Jakub Kicinski
On Mon, 3 Aug 2020 18:14:17 + Ahmed Abdelsalam wrote: > This patch allows copying the DSCP from inner IPv4 header to the > outer IPv6 header, when doing SRv6 Encapsulation. > > This allows forwarding packet across the SRv6 fabric based on their > original traffic class. > > Signed-off-by: Ah

[net-next v2] seg6: using DSCP of inner IPv4 packets

2020-08-03 Thread Ahmed Abdelsalam
This patch allows copying the DSCP from inner IPv4 header to the outer IPv6 header, when doing SRv6 Encapsulation. This allows forwarding packet across the SRv6 fabric based on their original traffic class. Signed-off-by: Ahmed Abdelsalam --- net/ipv6/seg6_iptunnel.c | 37 ++