Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5624074pxb; Mon, 28 Mar 2022 15:07:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJthDcY0im6YK1MoytlivDRYoAssQYW4vNWixskoG8P7Wrm+QsgwP+/OpgNTaRRFj67Hia X-Received: by 2002:a05:6102:b0d:b0:325:8172:9859 with SMTP id b13-20020a0561020b0d00b0032581729859mr7849997vst.27.1648505248575; Mon, 28 Mar 2022 15:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648505248; cv=none; d=google.com; s=arc-20160816; b=D+OK4oZApPW7Tg5cFaUMSX/DGvlPLpTlxOG33dCDrrw7AHsQSM3rIa9ur/foeoA9u4 vA53ckEnIpApDUwj0eTbZaR6Lvu9EZHQBOKDAdXRG4qpqGN1v4Ox/rOF/fGP0p6XCn/t IzFAaY+1/gr+klhIAFQyBB63VyvmdIrxaHI2x4pzcAJy2PHfermnQOxTE8jlFcoJsDeB 0DiqfES9uNBo/lubUrfmXfjy70bk0MPEun1aKZmEfECmhtbLW/ktH8n6nRoLubE4dErq UZk6qeipUsyDY3pcBCg5Qio5fUG4TPdxYirkY7Bm/OSbGaYVfOwh/A6QLpQ7kfhWDtr9 RG8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:from; bh=JCpqMHJ6otYgfj2zSfXB9RBHyVtJRWFIKxZQ4Fk3YvI=; b=Dtep+lgK6eqPktHi8kzfyyCBN0SRB7G/Wjc1ju/tYORjkGytL6z2NznxuPvCT2v44H 7VE4w7gBWl65jWvgwCgUfKqZUGaklUI+IYeRaSHGRpeFTkDO/n9HkF2glOtluNA2NJU+ TeJLMsnq3VCS3W6+YopcWA1H0p1qKynEvATPCN1FxPiDq2M5W61jL7uk+gRmasAHAWVJ s7QuVlvM2u5DRv62Ixx9ChP1T6vtYzzJAlAQljMzxBCHvBfr8/EsM/Lmw4VA1dcX064s e6WFO39PJXg5k8lRelrsM799E4EhNVAC8H7OQTx24o7kOgVVhSo2hzb7eA5nGGgtAE0J No4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=XgTSl9cv; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id p26-20020ab02a5a000000b0034c07a93acdsi3275063uar.104.2022.03.28.15.07.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 15:07:28 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=XgTSl9cv; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 64AD7972BB; Mon, 28 Mar 2022 14:29:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238561AbiC1Ppc (ORCPT + 99 others); Mon, 28 Mar 2022 11:45:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238455AbiC1Pp3 (ORCPT ); Mon, 28 Mar 2022 11:45:29 -0400 Received: from mail.toke.dk (mail.toke.dk [45.145.95.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E81B4888A; Mon, 28 Mar 2022 08:43:48 -0700 (PDT) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1648482226; bh=JCpqMHJ6otYgfj2zSfXB9RBHyVtJRWFIKxZQ4Fk3YvI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=XgTSl9cvKEL5rwjrGQY4S32YWBWp8Iqjd/z/0ehjHwdD2AxisgQxeITwsWiX+I/4Z zL2PJtSiqPD/ituh8X/SnMhDZHiGha6c3ha9J9fMV4cLXp+Z/RATrWRn/LhB7Agcjm qGW4Fi5WJjAPi9Ah9zz1ZQHuwYuwnNwtmcQG62l4a8yg8AkN4sql3AdUAFUowCQ60F b39Zg2FDEZffGWiqyGui3JKNcXVKAVmFoMzhn7A9zRrN9wxZeg2mCWgyzJjWIRJZaT ayyw6GR9BZsouydytE7ZNruFHXfvbcSr+KqvsvEMOhIStdD1sPN0DmPiDGmdxiBpNb VXJLG47mw36rw== To: Christophe Leroy , "David S. Miller" , Jakub Kicinski , Jamal Hadi Salim , Cong Wang , Jiri Pirko , Paolo Abeni Cc: Christophe Leroy , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, cake@lists.bufferbloat.net Subject: Re: [PATCH net-next] sch_cake: Take into account guideline DEF/DGSIC/36 from French Administration In-Reply-To: <356a242a964fabbdf876a18c7640eb6ead6d0e6b.1648468695.git.christophe.leroy@csgroup.eu> References: <356a242a964fabbdf876a18c7640eb6ead6d0e6b.1648468695.git.christophe.leroy@csgroup.eu> Date: Mon, 28 Mar 2022 17:43:46 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87bkxq5bgt.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > French Administration has written a guideline that defines additional > DSCP values for use in its networks. Huh, that's interesting! > Add new CAKE diffserv tables to take those new values into account > and add CONFIG_NET_SCH_CAKE_DGSIC to select those tables instead of > the default ones. ...however I don't think we should be including something this special-purpose into the qdisc kernel code, and certainly we shouldn't have a config option that changes the meaning of the existing diffserv keywords! Rather, this is something that is best specified from userspace; and in fact Cake already has no less than two different ways to do this: the 'fwmark' option, and setting the skb->priority field. Have you tried using those? -Toke