Received: from out30-111.freemail.mail.aliyun.com (out30-111.freemail.mail.aliyun.com [115.124.30.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A08D113B2AD for ; Fri, 14 Jun 2024 11:27:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.111 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718364463; cv=none; b=H7Ayi+40tven2iHuVUbWWi6l1YGMDLoOaHHPFoZE2+8EVi/vaZGFgjB8qDvLiAC3W7q5eEDgH5fDDh+WXyfVAWN5SGPXF5gG8dZ0Kvlxj1UNZLqtIS6+jPKAOSD/BhioApFTJmE55IycbAKDltAedupoI1ca/fLiIMpVf7/n14Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718364463; c=relaxed/simple; bh=qJoytK/Xjas/UAvR+XGvkcsE5M2lOqZ5ixpvyfacx8o=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=DG4S44QdPKHnoKobkSDiJ9st109CoTT7ttym8en5uZP8VKllAtixAvyA0GMc/fQQXdw6eO8DWfiSDaS+NohgP8oLDSFCNbFVQotjhxaC6UeI66qBa1P+k7aAXFcFS8lFhjdSbGVTZ0KuOhPogJZAXe3oOX3xA6Ef/hV53Cx4Yc0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=EKJLlbFT; arc=none smtp.client-ip=115.124.30.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="EKJLlbFT" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1718364459; h=Message-ID:Date:MIME-Version:From:Subject:To:Content-Type; bh=/xi0LH0zFdkGfjRZOqxRRwbakY81T/y0b5hCkzGfw9U=; b=EKJLlbFT6KL4Sj1ZjhNuBcV5NgxPK1l6QYW2/7fDSjVG/HHIlMoPv31rAQLX+95vRtKO6u3oAmekURZaihxoOHJ+fTriSzd9a0AJoydMk28VfbI+9anILLVBf8FDjSSH0T8HAdxIU5I+6UJmXwn9HcbmF6ZJIuYGQB+f4dvJw4A= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R541e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033037067110;MF=lulie@linux.alibaba.com;NM=1;PH=DS;RN=11;SR=0;TI=SMTPD_---0W8R.y7A_1718364457; Received: from 30.221.128.116(mailfrom:lulie@linux.alibaba.com fp:SMTPD_---0W8R.y7A_1718364457) by smtp.aliyun-inc.com; Fri, 14 Jun 2024 19:27:38 +0800 Message-ID: <86515ee3-13d7-4bed-8e04-3c519278d314@linux.alibaba.com> Date: Fri, 14 Jun 2024 19:27:37 +0800 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Philo Lu Subject: Re: [PATCH net-next] tcp: Add tracepoint for rxtstamp coalescing To: Paolo Abeni , netdev@vger.kernel.org, edumazet@google.com Cc: rostedt@goodmis.org, mhiramat@kernel.org, mathieu.desnoyers@efficios.com, davem@davemloft.net, dsahern@kernel.org, kuba@kernel.org, xuanzhuo@linux.alibaba.com, dust.li@linux.alibaba.com References: <20240611045830.67640-1-lulie@linux.alibaba.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/6/14 16:09, Paolo Abeni wrote: > On Tue, 2024-06-11 at 12:58 +0800, Philo Lu wrote: >> During tcp coalescence, rx timestamps of the former skb ("to" in >> tcp_try_coalesce), will be lost. This may lead to inaccurate >> timestamping results if skbs come out of order. >> >> Here is an example. >> Assume a message consists of 3 skbs, namely A, B, and C. And these skbs >> are processed by tcp in the following order: >> A -(1us)-> C -(1ms)-> B > > IMHO the above order makes the changelog confusing > Thank you for pointing out this, I'll try to explain it in another way. Here it means these packets come in order of A-C-B, and B comes much later than C, such as 1ms later. Currently, the 1ms delay would be lost because of tcp coalescing. -- Philo