From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2F63C64EC4 for ; Fri, 10 Mar 2023 16:51:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231400AbjCJQv0 (ORCPT ); Fri, 10 Mar 2023 11:51:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231792AbjCJQuh (ORCPT ); Fri, 10 Mar 2023 11:50:37 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B665E8AA9 for ; Fri, 10 Mar 2023 08:47:53 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id h17-20020a17090aea9100b0023739b10792so5745508pjz.1 for ; Fri, 10 Mar 2023 08:47:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; t=1678466873; 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=UOq3+9hhBwKi8YAI1z5pWNSeEpaondyeR0mS3XKyWRY=; b=Q6rCUM9FtS9KAQBZ+MORtxJfGK7ZyAS6xKFO6c0qd8N8/MDS7S84NClUoWxENsjHlM musI+Zp9WmVbnuMrFYfbsgVumbO3n/MADHyKsNNZejszs++T3wknF3KjmV/R2ibTBFMO 1koO+R9pfzVlbN1yk2jJ1TCKWlJsnuA0DaBL2eNtn8yc6VQtEkT9own78qLnO/ddBd1B bpUkXaE0fZzniUZBqyvTzufDCgZAhTe/+BflMKrQ0LyYvZqwg2YdZ6o/DYi4w7WxkLIx ysggd9pSIq+FQKguKysj0dJilwQF44aGZywPvxm1LU1ICU8WKsSX9wtsIKAMYL508ME0 HpvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678466873; 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=UOq3+9hhBwKi8YAI1z5pWNSeEpaondyeR0mS3XKyWRY=; b=6swfhHyvBxFDIgYJr6uFl3u1DoVL1m8Db1tKO6SgnUdIDoQxSJ/pY30Rx6WKQtJemQ YFcTv0fTz++hsC/atkpOXll1jO96C3aqYyXsbI2yvvNGN00nGZox3Jy/e9UCte9LWqw2 twxb3XwcnxbnjUyWbbc48NVomom2oERmjc6a5aNyFiDkQ/ncBTGRjz26VImkJx7zzt8n nmOsdtLoEttWdG7++iy/Jkps/T7SghICCQvACZZq0aLC3z8+21rCfOe2ysGyifsOCj3k w+S3YDPuDRRVXgqE7ksuQsyrw0zL1JL+oWHnc1BgReZkwxS/Wsd56atFd8w3qLFqbYfx 60cg== X-Gm-Message-State: AO0yUKVy52YIxQk6iT2uqS8XEERNvsCxFTsgvabyCmi6EWCBlRRt2YSL 9ItILX+3x64UWuj5AyhHudl/dA== X-Google-Smtp-Source: AK7set84KeoRRQtWag/SgYIwQfVfzAYFqVwC7ZtcpaO6AVmM4Exa37I4oTpkg7netGGhyU7YN3LG9A== X-Received: by 2002:a05:6a20:6d04:b0:cd:929d:280a with SMTP id fv4-20020a056a206d0400b000cd929d280amr21362288pzb.18.1678466872708; Fri, 10 Mar 2023 08:47:52 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id j9-20020aa78d09000000b005a8c60ce93bsm42686pfe.149.2023.03.10.08.47.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 08:47:52 -0800 (PST) Date: Fri, 10 Mar 2023 08:47:50 -0800 From: Stephen Hemminger To: Kui-Feng Lee Cc: , , , , , , , Subject: Re: [PATCH bpf-next v6 2/8] net: Update an existing TCP congestion control algorithm. Message-ID: <20230310084750.482e633e@hermes.local> In-Reply-To: <20230310043812.3087672-3-kuifeng@meta.com> References: <20230310043812.3087672-1-kuifeng@meta.com> <20230310043812.3087672-3-kuifeng@meta.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Thu, 9 Mar 2023 20:38:07 -0800 Kui-Feng Lee wrote: > This feature lets you immediately transition to another congestion > control algorithm or implementation with the same name. Once a name > is updated, new connections will apply this new algorithm. > > Signed-off-by: Kui-Feng Lee What is the use case and userspace API for this? The congestion control algorithm normally doesn't allow this because algorithm specific variables (current state of connection) may not work with another algorithm. Seems like you are opening Pandora's box here.