Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp191234pxh; Thu, 7 Apr 2022 18:27:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylxXfqmNDpPXg/SKUBIcNWImDWJyb+z4Lat13EreNvj/4mp1sLcCOahRxsm3TFzbdCnkKH X-Received: by 2002:a17:902:ce81:b0:156:ad26:78b1 with SMTP id f1-20020a170902ce8100b00156ad2678b1mr16899123plg.144.1649381264839; Thu, 07 Apr 2022 18:27:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649381264; cv=none; d=google.com; s=arc-20160816; b=NrFHlnpRUjdp89AFlcD6eO0zimpk/ZrgjNSjPGriQsiSzbKJg8onmWzYYjMaDWxLnf JXDg1qUP2qWnwcDSx+76MqnODVh9miQX3ad40r2+VHN6dFRB0VWDaQPzLM8aSGqUiUnN 1MED6uYrfXnforI3cA5HVml8lvetJ44O5Q0hNY6T9XfaUBj57xxmOmnt8rWGGzUBolJ1 7P6Br2dkRnkWsgUDKP7oT8WjFHursqM5hXrrbbACJbIkAGysuJHZKwPv/EQehaD6TyI6 pdWlZJ4zQ/njLOP/zDbIDZKtB38SrteCc80d67tUbMvGxzRdo+icyrhtsTWoceKvyNdo oHyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:reply-to :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=31tFs14/hmEFriPL+huf8+43YyXdMqfNdNECql3AeLY=; b=Eq3ZhNgo/MhcW+Uc+gg8Y7MyhLv10kccz+Z0tQDV5NTjqGaceB2Em9y7qPSXbyOdQX CyHUUPZk9cyIp7sGJAL0LliPZEPUwt02YCTc2z5zzmm8ZC8h4pHVfntO6ornunX5kebd 6nmGN8Q8eUB5y6pie29P2ASn4NcTBvDDGd2OFTYawTngFDVsghzwpql3QiurrmUToyrA WfjwjgzyWm7btBu8Xwv6DQcJOOu69ppKhNMDHccnCfyUcwkeKp2SLJFzGHdw45lMAQJr C2INPgFOWTIN5YzPEfct87I+UxL5tsP26jIwhESO5CMbgsdb1SFY2mEFbRPhFrCh1Ft2 fTnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=GvVZnnvs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id oc1-20020a17090b1c0100b001cb1d512ca7si2808504pjb.165.2022.04.07.18.27.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 18:27:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=GvVZnnvs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9F27031872E; Thu, 7 Apr 2022 17:59:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233180AbiDHBA4 (ORCPT + 99 others); Thu, 7 Apr 2022 21:00:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233290AbiDHBAq (ORCPT ); Thu, 7 Apr 2022 21:00:46 -0400 X-Greylist: delayed 915 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 07 Apr 2022 17:58:40 PDT Received: from m12-11.163.com (m12-11.163.com [220.181.12.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 23E6F30CB90; Thu, 7 Apr 2022 17:58:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=31tFs 14/hmEFriPL+huf8+43YyXdMqfNdNECql3AeLY=; b=GvVZnnvs2HPhWoZWaBWRO gMLwwmYNGA7v2djsGWoUK7aBqwQhFNpRZuTXNuRQTjj9cHMV2TGc3L9FIK5xCERF B+g9xKWszjLFK3DJNjgxbDGW1fBXZL+/osmJiXZI83wercjflJE8ZCapN2RKxEpW nZpCIYpuAnPdl7ksK/1Reg= Received: from localhost.localdomain (unknown [101.86.109.27]) by smtp7 (Coremail) with SMTP id C8CowAAnnmHphE9i3wPwAA--.23557S2; Fri, 08 Apr 2022 08:42:19 +0800 (CST) From: jackygam2001 To: edumazet@google.com Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, rostedt@goodmis.org, mingo@redhat.com, yoshfuji@linux-ipv6.org, dsahern@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, yhs@fb.com, ping.gan@dell.com Subject: Re: [PATCH net-next] tcp: Add tracepoint for tcp_set_ca_state Date: Fri, 8 Apr 2022 08:40:49 +0800 Message-Id: <20220408004050.27292-1-jacky_gam_2001@163.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: Reply-To: edumazet@google.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: C8CowAAnnmHphE9i3wPwAA--.23557S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrKrW5Aw45JF17uF48ArW7XFb_yoW3AFcE9F WIvr1kJrs8Jry8Xan3AryxXrn7GayvgF98Aw17tryFva42yFW8XFnrWrs5urZxW3WxWry3 uwn3Jan0y342gjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUUNzV5UUUUU== X-Originating-IP: [101.86.109.27] X-CM-SenderInfo: 5mdfy55bjdzsisqqiqqrwthudrp/xS2BdAPbKVgi1hfy0AABsd X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SCC_BODY_URI_ONLY,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 At 2022-04-07 14:05:42, "Eric Dumazet" wrote: > 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 Thanks for you comment and review!