Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp306986pxb; Thu, 7 Apr 2022 06:18:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1fuptBPfS93uw5vq9V0GVdOjTwNUeZ8rvxier80qj+XqsA0PRHaY+pGzMyAy6O0FMOVFc X-Received: by 2002:a17:902:8f81:b0:154:be2d:1948 with SMTP id z1-20020a1709028f8100b00154be2d1948mr13775364plo.110.1649337502541; Thu, 07 Apr 2022 06:18:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649337502; cv=none; d=google.com; s=arc-20160816; b=umFXWLIVqwGb7tl0wHJJxSAWNy5o/8j4/LG0C/GtAzkVpUh/QYF9iPfeJKro6RyliR ymyp7RJhvo101B137Pt97oaBdOnWv+FFNUDQqEEs9RhdpF2UtuMCGMwZ5mgbOQqnU3u5 ltIc3IlBaF3pYcoX9aKotj9Lh2yAjxedSiqZrR/5KUVav8/YE2M32rKgMzERQGhZDDGM frdLkdgEO0aVDD3hDC2LqlIhDQbZ+PKfqwQsbr8Pg0i22/+TlnM9Yz4mSc/1vIYyziWx 5TjP65NhVjfCh5mWWKeJEae943wj6+U3pPYgPtyGxf8qlVzJTUH3cHP8nmF/8rYRdgRv 9GLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VBaUL5Qo8tgk860spwGfzbrtob87B4KJ2+FsDkmq6/U=; b=iIFlIZh5vQwDro1bgEp6VZdpqT24Eut4wj5/80rrgc0AToz2RiHDiTcELP/weAFzml KXULn/fOYEVC1HmasDGM6ARSR1Iph8AfM4OwvmJYhWHys2efZsNWzINPgJ9cJJrhZHPi oKd925C3oa8K2QyM/yoKgZdVV0kxs8Ymf4oEOw45kDT4Mo3UbK4LZhIyQSSBCHXZ5yEC R0QNHj17VUzKvNqVCV5YAuj0Li91UA4ylPMQFu0o3uYQTPfAZ4AF47g2efrvJd0iR8xM AF0yVux2weZTI/Me71yiNEgUB6sOiRbkHmiWy3WSRljp0ZDr2aLI6wOyq/fYBLJaa3Fk v+mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=qLcr54HT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020a170902e94d00b00153b2d1656esi18158951pll.374.2022.04.07.06.17.41; Thu, 07 Apr 2022 06:18:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=qLcr54HT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229902AbiDGGH7 (ORCPT + 99 others); Thu, 7 Apr 2022 02:07:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229954AbiDGGH4 (ORCPT ); Thu, 7 Apr 2022 02:07:56 -0400 Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33A89176658 for ; Wed, 6 Apr 2022 23:05:55 -0700 (PDT) Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-2eb3db5b172so50413887b3.6 for ; Wed, 06 Apr 2022 23:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VBaUL5Qo8tgk860spwGfzbrtob87B4KJ2+FsDkmq6/U=; b=qLcr54HTJ7zWVVtv7O9dWIHN7PZYJyY8/tEUmzyxotg68nszvqSwd+5tHxUsZvm8/l 0GUi2h+qNt03C1iiikBD8KDPlJWCijpyk3ldmOTTIbhI2B9P2xQbgHyedekAde71w4En 8DHFBqh4c49PopW448YZ55FUTAx8AIFgu0kMd+XFX4UhcApLSdurXPywGjOss0wOlcjc FT/qWyt0WLF+mdF6vKzrKWdPcTuHuuB+6v3Uq6GccKEf0/sXKPUBKg1yXmsk+gX857jz n5GjKhToQyh8tH/2b3rWt0L2jVCVvxbVzGGb4IO0qfsabjq+wMzdHSerpXPS01ccNeFD 58qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VBaUL5Qo8tgk860spwGfzbrtob87B4KJ2+FsDkmq6/U=; b=ReEMZp+fHR/Wi/sMkkl8D0t24KpmbNQWGfplxy/ZebR8OQPmvzbMpXhr4HAVSU27dz jMlOgV5FbAxUci1Vxo4YL/OUobfHRtcVFPJ4+89hFGh+ipfX0nce/1bHSvgNQ8DyWHma j219ehRHOmzz9JFXsASQq1E9aoF+8KZQhvY4YoweQQR7vSo8YjGnqLsXpRvA7U9Ffjqx pA3ib9jbXTY0BqWZCSaQsLHJsUENjCsYDzvRPvZgbQ7yGeM1zZt+K96muY2flnrX+PJ4 pKZ+XJ3qBWOBRcXr9yQsO7BzloytKUZcF7YjXJcf4z/fm9HfmDAyM1AoHZ9PJ+nNgzvp Djug== X-Gm-Message-State: AOAM530UF7Jbquj6OkjJGsZifrItneulXzmJ9x0Hp7zrutxh9CgJHkUI AgOVGuzwIPRueH9t45BH23O68SG+XBK5YBTja9aIdw== X-Received: by 2002:a81:4f87:0:b0:2e5:dc8f:b4e with SMTP id d129-20020a814f87000000b002e5dc8f0b4emr9600169ywb.467.1649311554173; Wed, 06 Apr 2022 23:05:54 -0700 (PDT) MIME-Version: 1.0 References: <20220406010956.19656-1-jacky_gam_2001@163.com> In-Reply-To: <20220406010956.19656-1-jacky_gam_2001@163.com> From: Eric Dumazet Date: Wed, 6 Apr 2022 23:05:42 -0700 Message-ID: Subject: Re: [PATCH net-next] tcp: Add tracepoint for tcp_set_ca_state To: jackygam2001 Cc: David Miller , Jakub Kicinski , Paolo Abeni , Steven Rostedt , Ingo Molnar , Hideaki YOSHIFUJI , David Ahern , netdev , LKML , Yonghong Song , ping.gan@dell.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 On Tue, Apr 5, 2022 at 6:12 PM jackygam2001 wrote: > > From: Ping Gan > > The congestion status of a tcp flow may be updated since there > is congestion between tcp sender and receiver. It makes sense to > add tracepoint for congestion status set function to summate cc > status duration and evaluate the performance of network > and congestion algorithm. the backgound of this patch is below. > > Link: https://github.com/iovisor/bcc/pull/3899 > > Signed-off-by: Ping Gan > --- This seems good to me, thanks. Reviewed-by: Eric Dumazet