From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 52BD63B29E for ; Tue, 24 Apr 2018 10:44:34 -0400 (EDT) Received: by mail-pf0-x22f.google.com with SMTP id j5so12446473pfh.2 for ; Tue, 24 Apr 2018 07:44:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xqURiER6OQRAvmCIEtU8ggA2F/ip6hjtwA6ASS09wOA=; b=mfZz03jPr8dEar9c7UH2yoTQVafd6CWdZZKu2XOOQt/3o0GjdHtoyWHjfvfMPalAxp 99L0eMzhOLz4BBijtyvN9Y4BTzw06AB0gSNl9P2zDo0oadiNKRVxk11AGla0uRyFJkED LajVY/R1GTZcziD/DEqrzPvPEpeux7AURT5thVomn3LH3QuF44EaziIM2E0j6VZi3/5q Q6b0DMbjOKAl6MtXcmjd5y2Ax5GL5yHGjpO4U1B7Pa/olCVDlUwrQXYaNE2D594a2G1i o9WG77fWZXTpsR8Ba4zWkN1ofwbHZdYeXDlrqYlXpdmYgE/x2BuZviP6qHJagGVP0W/N Nu0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xqURiER6OQRAvmCIEtU8ggA2F/ip6hjtwA6ASS09wOA=; b=CH4m5kUFCSpyhhY/FgSV6PdwRY4YXtDV/kRoI8cSi+5mJFEheJSv+f/BPWgKqYawc3 +NP7YbOClnqXdvTqZH6/BZWZmYoN2wd9ONaitBo+O6gC5pK/OgZxgLftxwrRDgAL2HTv iC5bWLVxpQVstuFPQQrbisMFaEEBR3akuE/bVLkZkJsFFWx3a1fdyBvoT+TBR6jdcpRg HwbmuUIICQ0f16izBEy45EcwF0HmPFmUbHqPFHJvEVWdvc9YUhYdK70/6sWsmKdrFdNv WP0tNAy73lKEZJU/Y4dJYfe1FlHrURIiVZzembU9+xESt7YX8/pRLlgBSMs7CPpW1nIY IVsw== X-Gm-Message-State: ALQs6tA2RrjvJY7uOmPY/0y45oUtWamR3tpj6KxP/eAa27oe4x5e3CqG 9Pe1IvFZHwTqOdjybG/4c/1hSQ== X-Google-Smtp-Source: AIpwx4/xIlykEhzbFYvCqXw8Mk6fMa1CmZrFCzEdYGHrU6uH/gQExh75Arw3KNZ9iL4aKqxHe6ObhA== X-Received: by 2002:a17:902:7201:: with SMTP id ba1-v6mr24561505plb.283.1524581073362; Tue, 24 Apr 2018 07:44:33 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id s17sm39439560pfk.105.2018.04.24.07.44.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Apr 2018 07:44:33 -0700 (PDT) Date: Tue, 24 Apr 2018 07:44:29 -0700 From: Stephen Hemminger To: Toke =?UTF-8?B?SMO4aWxhbmQtSsO4cmdlbnNlbg==?= Cc: netdev@vger.kernel.org, cake@lists.bufferbloat.net Message-ID: <20180424074429.4e2cebd5@xeon-e3> In-Reply-To: <20180424123046.21247-1-toke@toke.dk> References: <20180424114407.5939-2-toke@toke.dk> <20180424123046.21247-1-toke@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Cake] [PATCH iproute2-next v3] Add support for cake qdisc X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2018 14:44:34 -0000 On Tue, 24 Apr 2018 14:30:46 +0200 Toke H=C3=B8iland-J=C3=B8rgensen wrote: > diff --git a/tc/q_cake.c b/tc/q_cake.c > new file mode 100644 > index 00000000..12263361 > --- /dev/null > +++ b/tc/q_cake.c > @@ -0,0 +1,778 @@ > +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ > +/* > + * Common Applications Kept Enhanced -- CAKE > + * > + * Copyright (C) 2014-2018 Jonathan Morton > + * Copyright (C) 2017-2018 Toke H=C3=B8iland-J=C3=B8rgensen > + * > + * Redistribution and use in source and binary forms, with or without > + * modification, are permitted provided that the following conditions > + * are met: > + * 1. Redistributions of source code must retain the above copyright > + * notice, this list of conditions, and the following disclaimer, > + * without modification. > + * 2. Redistributions in binary form must reproduce the above copyright > + * notice, this list of conditions and the following disclaimer in the > + * documentation and/or other materials provided with the distributio= n. > + * 3. The names of the authors may not be used to endorse or promote pro= ducts > + * derived from this software without specific prior written permissi= on. > + * > + * Alternatively, provided that this notice is retained in full, this > + * software may be distributed under the terms of the GNU General > + * Public License ("GPL") version 2, in which case the provisions of the > + * GPL apply INSTEAD OF those given above. > + * > + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS > + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR > + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT > + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, > + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT > + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, > + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY > + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT > + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE > + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH > + * DAMAGE. > + * > + */ If you have SPDX tag you don't have to have all the GPL boilerplate anymor= e.