From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH net-next v14 3/7] sch_cake: Add optional ACK filter Date: Mon, 21 May 2018 14:15:11 -0700 Message-ID: <92cf4a80-8e26-8a08-1b8f-e8f0c131e9e6@gmail.com> References: <152693459693.32668.4272129427997495747.stgit@alrua-kau> <152693495862.32668.11914023983598526087.stgit@alrua-kau> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Yuchung Cheng , Neal Cardwell To: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , netdev@vger.kernel.org, cake@lists.bufferbloat.net Return-path: Received: from mail-pg0-f46.google.com ([74.125.83.46]:36271 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752640AbeEUVPN (ORCPT ); Mon, 21 May 2018 17:15:13 -0400 Received: by mail-pg0-f46.google.com with SMTP id 63-v6so4729657pgg.3 for ; Mon, 21 May 2018 14:15:12 -0700 (PDT) In-Reply-To: <152693495862.32668.11914023983598526087.stgit@alrua-kau> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 05/21/2018 01:35 PM, Toke Høiland-Jørgensen wrote: > + > + /* 3 reserved flags must be unset to avoid future breakage > + * ECE/CWR/NS can be safely ignored > + * ACK must be set > + * All other flags URG/PSH/RST/SYN/FIN must be unset > + * 0x0FFF0000 = all TCP flags (confirm ACK=1, others zero) > + * 0x01C00000 = NS/CWR/ECE (safe to ignore) > + * 0x0E3F0000 = 0x0FFF0000 & ~0x01C00000 > + */ > + if (((tcp_flag_word(tcph) & > + cpu_to_be32(0x0E3F0000)) != TCP_FLAG_ACK)) > + return false; > Why ECE/CWR/NS can be ignored ? DCTCP would disagree, and maybe BBR soon.