From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id CB72421F091 for ; Thu, 28 Jun 2012 21:53:18 -0700 (PDT) Received: by eeke50 with SMTP id e50so1945248eek.16 for ; Thu, 28 Jun 2012 21:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; bh=1CvRW5dCxCGDER6ApnRvE2FYKVlCU/ojtr9lQLmx4Uo=; b=0Uq7aM5MSLvysVcq1s8ngxnBDerE14IOkD8kVjm9+N+/Yo1hyFvaCNAKl20g05rdiF eP7Rabwq6qAUeYrAj5zplTQTJ/M1MeQL2UMp/gu1NO2/ass3SeNZbAvFr8HMW8bNpedp avOpiy6uXyh2dSrmOzJVGcuu7YPCuwMSdlNkTK+p/OF7GEMFHvDLHe42rzhf+iiNr7Z7 A2Bj/BxUsHaoWnhR4kYvc+x1qpHskvJjCNFYAaJ0AITz8gPTKyt1Y7PbGby3ITt8X60e oS553fG65oqBAKYqbcuoYv5Eh6Jad2642W/YID7ZwggdpFdC38E6K8E4Zxylj+3w6OrN LgDw== Received: by 10.180.87.232 with SMTP id bb8mr1708835wib.0.1340945596789; Thu, 28 Jun 2012 21:53:16 -0700 (PDT) Received: from [172.28.88.52] ([74.125.122.49]) by mx.google.com with ESMTPS id fw4sm3877441wib.0.2012.06.28.21.53.13 (version=SSLv3 cipher=OTHER); Thu, 28 Jun 2012 21:53:14 -0700 (PDT) From: Eric Dumazet To: David Miller In-Reply-To: <1340903237.13187.151.camel@edumazet-glaptop> References: <1340903237.13187.151.camel@edumazet-glaptop> Content-Type: text/plain; charset="UTF-8" Date: Fri, 29 Jun 2012 06:53:12 +0200 Message-ID: <1340945592.29822.8.camel@edumazet-glaptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Cc: Nandita Dukkipati , netdev , codel@lists.bufferbloat.net, Yuchung Cheng , Neal Cardwell , Matt Mathis Subject: Re: [Codel] [PATCH net-next] fq_codel: report congestion notification at enqueue time X-BeenThere: codel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: CoDel AQM discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 04:53:19 -0000 On Thu, 2012-06-28 at 19:07 +0200, Eric Dumazet wrote: > From: Eric Dumazet > > At enqueue time, check sojourn time of packet at head of the queue, > and return NET_XMIT_CN instead of NET_XMIT_SUCCESS if this sejourn > time is above codel @target. > > This permits local TCP stack to call tcp_enter_cwr() and reduce its cwnd > without drops (for example if ECN is not enabled for the flow) > > Signed-off-by: Eric Dumazet > Cc: Dave Taht > Cc: Tom Herbert > Cc: Matt Mathis > Cc: Yuchung Cheng > Cc: Nandita Dukkipati > Cc: Neal Cardwell > --- Please dont apply this patch, I'll submit an updated version later. Thanks