[ovs-dev] [PATCH] bfd: Send BFD packets with DSCP CS6
Zoltán Balogh
zoltan.balogh at ericsson.com
Tue Jan 16 09:55:18 UTC 2018
Hi,
Acked-by: Zoltan Balogh <zoltan.balogh at ericsson.com>
Ben, is there a chance to get this into 2.9?
Best regards,
Zoltan
> -----Original Message-----
> From: ovs-dev-bounces at openvswitch.org [mailto:ovs-dev-bounces at openvswitch.org] On Behalf Of Venkatesan Pradeep
> Sent: Wednesday, January 10, 2018 6:02 AM
> To: dev at openvswitch.org
> Subject: Re: [ovs-dev] [PATCH] bfd: Send BFD packets with DSCP CS6
>
> Gentle reminder to review this patch.
>
> Regards,
>
> Pradeep
>
> -----Original Message-----
> From: ovs-dev-bounces at openvswitch.org [mailto:ovs-dev-bounces at openvswitch.org] On Behalf Of Venkatesan Pradeep
> Sent: Monday, December 25, 2017 10:29 PM
> To: dev at openvswitch.org
> Subject: [ovs-dev] [PATCH] bfd: Send BFD packets with DSCP CS6
>
> Send BFD packets with TOS value equivalent to DSCP CS6 so that the network can apply the right QoS for those
> packets. This can help avoid BFD flaps due to network congestion.
>
> Signed-off-by: Venkatesan Pradeep <venkatesan.pradeep at ericsson.com>
> ---
> lib/bfd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/bfd.c b/lib/bfd.c
> index 40cd0be..8d291bb 100644
> --- a/lib/bfd.c
> +++ b/lib/bfd.c
> @@ -612,7 +612,7 @@ bfd_put_packet(struct bfd *bfd, struct dp_packet *p,
> ip->ip_ihl_ver = IP_IHL_VER(5, 4);
> ip->ip_tot_len = htons(sizeof *ip + sizeof *udp + sizeof *msg);
> ip->ip_ttl = MAXTTL;
> - ip->ip_tos = IPTOS_LOWDELAY | IPTOS_THROUGHPUT;
> + ip->ip_tos = IPTOS_PREC_INTERNETCONTROL;
> ip->ip_proto = IPPROTO_UDP;
> put_16aligned_be32(&ip->ip_src, bfd->ip_src);
> put_16aligned_be32(&ip->ip_dst, bfd->ip_dst); _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
More information about the dev
mailing list