[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160225.220140.1022665279243146846.davem@davemloft.net>
Date: Thu, 25 Feb 2016 22:01:40 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: tom@...bertland.com
Cc: netdev@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH net-next] net: Facility to report route quality of
connected sockets
From: Tom Herbert <tom@...bertland.com>
Date: Wed, 24 Feb 2016 10:02:52 -0800
> This patch add the SO_CNX_ADVICE socket option (setsockopt only). The
> purpose is to allow an application to give feedback to the kernel about
> the quality of the network path for a connected socket. The value
> argument indicates the type of quality report. For this initial patch
> the only supported advice is a value of 1 which indicates "bad path,
> please reroute"-- the action taken by the kernel is to call
> dst_negative_advice which will attempt to choose a different ECMP route,
> reset the TX hash for flow label and UDP source port in encapsulation,
> etc.
>
> This facility should be useful for connected UDP sockets where only the
> application can provide any feedback about path quality. It could also
> be useful for TCP applications that have additional knowledge about the
> path outside of the normal TCP control loop.
>
> Signed-off-by: Tom Herbert <tom@...bertland.com>
This looks fine, applied, thanks Tom.
Powered by blists - more mailing lists