From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net_sched: sch_fq: add dctcp-like marking Date: Sun, 11 Nov 2018 13:59:36 -0800 (PST) Message-ID: <20181111.135936.548398364245184169.davem@davemloft.net> References: <20181111171131.24115-1-edumazet@google.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com To: edumazet@google.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:40684 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726674AbeKLHt2 (ORCPT ); Mon, 12 Nov 2018 02:49:28 -0500 In-Reply-To: <20181111171131.24115-1-edumazet@google.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Eric Dumazet Date: Sun, 11 Nov 2018 09:11:31 -0800 > Similar to 80ba92fa1a92 ("codel: add ce_threshold attribute") > > After EDT adoption, it became easier to implement DCTCP-like CE marking. > > In many cases, queues are not building in the network fabric but on > the hosts themselves. > > If packets leaving fq missed their Earliest Departure Time by XXX usec, > we mark them with ECN CE. This gives a feedback (after one RTT) to > the sender to slow down and find better operating mode. > > Example : > > tc qd replace dev eth0 root fq ce_threshold 2.5ms > > Signed-off-by: Eric Dumazet Applied, thanks Eric.