Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2509935imm; Mon, 24 Sep 2018 05:41:01 -0700 (PDT) X-Google-Smtp-Source: ACcGV60laje6foLJHG59qoiXvRaFtMw32s5yqqgHq0R8KM8RqcmQmMpgrvzgKcoByCKQHlad6nSP X-Received: by 2002:a65:498b:: with SMTP id r11-v6mr9607415pgs.153.1537792861871; Mon, 24 Sep 2018 05:41:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537792861; cv=none; d=google.com; s=arc-20160816; b=v/ICdRhTtnCTuV04GIooLVfzVNbVB6hBFfuWVzN0WkwqzSn7UkcBz7m9Kgk1Iyut3S 4rO3nuU50nXHRMhvU4gsBWEW507xxmyF8jP0pgz3+CN/GTTzY1DSaYsRVSbOcFUWnNza 8+vj6KpTacn0m7pB8sOnvp9Tz5YyIMfRFi88TI0xrTgRYb5xPr/3yJ3iRGkwc8fUlE/1 qHtaTmVQa7TR3sCt5u7Cq7L3drEMBDZcyEMXfii7iQykdpR7OM8hOk5cEvtzgu1TaY0w 7TNTT65GmqkfNgJ71GwIvnTuFXSfUnVH7Y3uivD+TdGuCm2orDC9wJvDmW+44Xd/VUmR 5UHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=n0//hVXTNS1DGJH8wyRgkNyLszpkkaC60IjslwhoXow=; b=A78WiEZbNPhEb+rznimCHeCzsmG8Hf5mhKVYfTkeDe2L1CE24Mzo1nEC6Mb5Or5AOY cu2Bd4PI/ABDJlKN2HdCGuYg1GABgshlU6qRibKFAi1/gx75eBLr9qCAfGjukaVqJiTF BpBdu4rwjngDJ5CBMmWjJ/eILJ9rFlGuFASRGKQRBxoWnnl+jZ+Be3gN3A5K7o3vEBnT KZNP+OzYBMNQhZMOqTHfL+AJKNMWGuPV16Vfuk6ZAMHg0Swb9pm9lzvWfHMHTzJJEk3a uoIfc+Vd4kQZlJMRe09Mmhn9dEz64xjRFRxHg5jfOmW8jMXyrIypizFOLbQWK5dx3AiU /Twg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N72Ua5PA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9-v6si36401415pfg.234.2018.09.24.05.40.46; Mon, 24 Sep 2018 05:41:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N72Ua5PA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388518AbeIXSlq (ORCPT + 99 others); Mon, 24 Sep 2018 14:41:46 -0400 Received: from mail-it1-f195.google.com ([209.85.166.195]:37770 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731070AbeIXSlp (ORCPT ); Mon, 24 Sep 2018 14:41:45 -0400 Received: by mail-it1-f195.google.com with SMTP id h20-v6so10229590itf.2; Mon, 24 Sep 2018 05:39:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=n0//hVXTNS1DGJH8wyRgkNyLszpkkaC60IjslwhoXow=; b=N72Ua5PARZtldHI2+Tzs/Xo974oQJMFin1JUubv8E5+iQ2D3TgxjqOOB9q0PsAaFBd 9D8tZkJKnakq5KDpVRzp3Futy+x7ciMIax8sQiEU+rfTMXvu8f7OCV27e99iJn0vTKf3 4evm3oTH6uFglxuGlmVYWHQp3LOOF851goq22R/MBwWS1Rq9PJiHxFRxft5EywN61iCO x6qqjeRGn12EYRkF2azKN3P357by2dyWorwGnFRn9DvHNmn2qK4DTp/OxqXOAV5yTzVw vnDKjRNhMG1JfM+9p4aafgLeYuncimUHP5TgJkY6B3pu8o+4llgCofgDlkuHFFCjy8i/ t3Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=n0//hVXTNS1DGJH8wyRgkNyLszpkkaC60IjslwhoXow=; b=UqUk20wfLcpT30KGJ4FS++XXOzEvuvbffbnorNq1sx5uUa22c2uTpFHEHqzCN+RDeB tzFzkQjW7SPhyDzUq18CnLQfs9oawxhw+gJfBKpixKLtPAzUGPCmJTtkXaHBKp/2OHoI Uo40L27qjCqXU7//jAYnNM1Jd08/khkzy87dHQ2JFjncULm0cL/iO9D8zdt2aecHJm2H coRVUtgNFuUynBnTVUIl3F85ONMa5aUv3sehCAMdh/J7MGjyy1M7F4BnrlVFPFn/DES4 XisUnEft1lOZPajzxqljID6kSW9QfSr8u2y0gdFYdWRpzDhrxtBMIxJxneSUrvd4ZSVz jVYA== X-Gm-Message-State: APzg51DB1H6CMTVavW4f2zIg7lE434cC+srPLEfUEt8ErxE/LLF/Y7dQ 1DQWr9YC/ml/DZwP2VtK41vRKRInDEvWPJGgV1c= X-Received: by 2002:a02:c881:: with SMTP id m1-v6mr5532551jao.43.1537792788386; Mon, 24 Sep 2018 05:39:48 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:7315:0:0:0:0:0 with HTTP; Mon, 24 Sep 2018 05:39:08 -0700 (PDT) In-Reply-To: <375c389d-f391-5b72-bc52-9a82d61c6bd7@gmail.com> References: <1537732141-22468-1-git-send-email-laoar.shao@gmail.com> <375c389d-f391-5b72-bc52-9a82d61c6bd7@gmail.com> From: Yafang Shao Date: Mon, 24 Sep 2018 20:39:08 +0800 Message-ID: Subject: Re: [PATCH net-next] tcp: expose sk_state in tcp_retransmit_skb tracepoint To: Eric Dumazet Cc: Eric Dumazet , David Miller , netdev , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 24, 2018 at 5:42 AM, Eric Dumazet wrote: > > > On 09/23/2018 12:49 PM, Yafang Shao wrote: >> With sk_state, we can know whether this connection is in SYN_SENT state >> or ESTBLISHED state. >> The reason to distinguish between these two scenario is that the >> retransmission in ESTABLISHED state always mean network congestion while >> in SYN_SENT state it always mean server issue, i.e. the syn packet is >> dropped due to syn backlog queue full. > > You mean, a packet drop on the remote peer ? > Yes, I mean drop on the remote peer. > It could also be a packet drop in the network. > Yes of course. > Your patch is good, but changelog is quite misleading. Will modify the changelog. Thanks Yafang