From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (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 D43003B2A4 for ; Wed, 27 Sep 2023 16:27:35 -0400 (EDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-68bed2c786eso9649992b3a.0 for ; Wed, 27 Sep 2023 13:27:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1695846454; x=1696451254; darn=lists.bufferbloat.net; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=PlBu5/FMSs4RxSjR1w5ejb+i7cz0cdZ+OH5A1t6R28Y=; b=Li8x2ny1UdUROqiFkrYjH90xxAtPypVBX/3dGptr8LxtD2e6CtmngsWtwyL5HrGeaZ bvW4Exp3SJkgESRJnBjpSXsH09d7wEHP83CYE/+XX/IVLVKt1m2cSVQ8Je6aRpJRXpNf KWQyiCmYJyXkx9tO0dfDw2Y+2w21/5UL89Uph1bjApMrxkIdi1BhjV8hMEwDC2ppQEls WXTJoD9yC4amrkSCQFyTVEvJsOUUXrioMCFmjWJNa1v85BUtS93Va7bAU+95JavoBXVR 9QzNk/3AzFwzYgTeXKdaLu8AuMlmYllXC0RviDfdtT96FBRBWckRs2e26aH2z+xuM8ux SLmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695846454; x=1696451254; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PlBu5/FMSs4RxSjR1w5ejb+i7cz0cdZ+OH5A1t6R28Y=; b=QulWZP0bk2yXAhnCiSK1IjDgkIcwpOKZuX9zuExvDDWvpWKMl99myDPvu6lSyEOOEQ VCYjCJrOw31cT6QYc/pAcBZnuCSYXnZYZW4sC8hENwNYhcfPV6QccZY0v7XHGNpPb33s ZBC9xlg6lo3nqHe7DGx04SUs+Q3qIZ8fV0QyG8cubQp0jwU3MTILRxVIZur122XavihI ZiUjMvdS3wMhppk6M5ytmQv8F0exdrNFs/YrLo4oPJtztAofO1kt29JlX4nPeApn3+aT SpYuZ+z4ZHMSFKXG20XDbNA0atS3n0+T/MBcKRik2fM190rtkxfM0feXHDMvF4ofpTuh fC6g== X-Gm-Message-State: AOJu0YzNVxTmvlgR0N9zXrYlfeVV+j5c85V5dElsRNI0izywYCTxzq8o gMzmNOSCM00FzX8GWfaYkMPv4Zr9Y2wv6ge8Yv/Iaw== X-Google-Smtp-Source: AGHT+IE1pRBEDvH/HkikHfPWnkv+Z07IVMAzpYo5KQVetYLH48qgOAQtTLAZgDmf5nudIHj9c80kIA== X-Received: by 2002:a05:6a20:258e:b0:153:8754:8a7f with SMTP id k14-20020a056a20258e00b0015387548a7fmr3120903pzd.4.1695846454476; Wed, 27 Sep 2023 13:27:34 -0700 (PDT) Received: from hermes.local (204-195-112-131.wavecable.com. [204.195.112.131]) by smtp.gmail.com with ESMTPSA id u10-20020aa7848a000000b0069343e474bcsm574362pfn.104.2023.09.27.13.27.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 13:27:34 -0700 (PDT) Date: Wed, 27 Sep 2023 13:27:32 -0700 From: Stephen Hemminger To: Jan Rovner via Cake Message-ID: <20230927132732.6585172a@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Cake] Cake - flow (or host) weight request - how to implement 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: Wed, 27 Sep 2023 20:27:36 -0000 On Wed, 27 Sep 2023 17:48:06 +0000 Jan Rovner via Cake wrote: > Hello, > > I am trying to experiment with sch_cake.c, my goal is to ad-hoc prioritize / deprioritize traffic served to specified a host(s). The prioritization would be controlled by an external system and it should handle well the situation where a host has active flow(s). Is it possible to use one or more existing BPF hooks to change DCSP bits for that paths you wish to adjust. The point is that changes to upstream base code are hard to maintain, and that is what BPF initial hooks were meant to provide.