Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1103804lqt; Tue, 19 Mar 2024 12:46:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXHenvcYz4icrbFFvOamih4fJqYAQe+py87IXXLmQAn+Mm/c+vnofy7xODHApMaCv5RqWBkkOPJ6guu7WjMAUZuIZPGeZc+git5pyJrFA== X-Google-Smtp-Source: AGHT+IH3mlctXX9++pMbRNdctrr2xZxUAUpiXZ6IuCVlnCdky1jZU2vCLZIRDwOZENnfcjkHJJok X-Received: by 2002:a50:ec97:0:b0:566:ac71:97c5 with SMTP id e23-20020a50ec97000000b00566ac7197c5mr2235741edr.18.1710877616147; Tue, 19 Mar 2024 12:46:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710877616; cv=pass; d=google.com; s=arc-20160816; b=XHxu8T/Eb2l/Z4pb6hCDoeCC5rhjU+ePrkHKkekosMJyN71qj6NdsCfLL8SNCsQHgB caITrcvGgSk4JZMmBtjRgKHlPcMltSrqWk5Rkz0amucAULNoWgP9dTQwJYABZOGixJ5f skIgumMwCJDM5EiUu/IEpGIioYOQ8tMCChQd9/uHE+iMqg5NL+5Td4MMn9MFwG5RPFof Ho/JUH0BmV9aIn82uDlOSK2GT1W9/lnQsPSxv9L2lRSYyWL9JDeCUadhhyNijzYazeRA W7Vefz4g5y2+lzJkvKR95IbPLR/G+X6RejQR1Nn/Od1kGZ+JZXBdPosHa35hvl6FSR2B vTkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature:message-id; bh=+GT3KW1575UJ01KouvR9HZva7hTJApu0idB1GvqPOVU=; fh=3gMWNgjP5byqlKT9be8iAic4qOtB3dFjR6Zow6F4/Ew=; b=P44q6ta10FJJMO5jqGiy0dluu4THuoabt8SUwdjV6zkpSR5GdCXCwgj88DiQzMNj4t ItCt6uMomnJd+LV7HM2SOk5+DqgDNak2jRXQezMYHIDqfpk44Ql2OsQ7+Sjpp/A+/WmF TyILEqKj0qPDfy/cH/VPNNnKjRxf0qtTlLc80+SUsViVUYMApaaPc2oG8pGnDWzkHFEM f1bB2M9w8XYkUoj0Z7nID16/thnBPXPHh1pB4piuIC0fD/9r1extOta0EGOhjD66IUk/ gANGeVhPtBZrNrmVNOHSP0PUSsj95lx8gPxr/ERxhrLCC/W+TKpbAHkm7rA3ocSFTqe5 DJBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=uSjosQNn; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-108077-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108077-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f9-20020a50d549000000b00568a511a08fsi5423376edj.679.2024.03.19.12.46.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 12:46:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108077-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=uSjosQNn; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-108077-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108077-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DA5001F203B0 for ; Tue, 19 Mar 2024 19:46:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF3773B781; Tue, 19 Mar 2024 19:46:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="uSjosQNn" Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) (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 7C3173B298 for ; Tue, 19 Mar 2024 19:46:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710877599; cv=none; b=bG5qwBVoymxJlPNM/5OQlfcZX6W8FmDvI40LM99aEnVSRAp41XaDQ3prLizB7OIcvtNlIDF0nq3z2vrn53mG+vjnF9sqsAdSDxOxaVAROTETtPWrx+rLklCd+T+gbjd4DLGe5i4uLjbR8TCq+hhtBHjbxpSq0IpVobc0HB2tY0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710877599; c=relaxed/simple; bh=kXd2i+AOWYw8mNhkzMSPRsJ1BAfSMk5UbmtyY1hKQ4g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cZyHVFEH1583JcXK9GcG8ENaTc4cqsggOML6nmcuzTbWF7WCumcOC6YJX+z5S0ouXNampNPQp68gK1UbxkdsMdUayzdL4zEcE5qgCbnQMNP9dVzD4m52FoMAmCKQXjKQ1OB4bqjvDjhf5QrFTJ9Lgehq0twtXU43p2+BSO2qRxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=uSjosQNn; arc=none smtp.client-ip=95.215.58.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Message-ID: <5b1d5758-3510-47c5-97e9-2edc5112d046@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1710877595; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+GT3KW1575UJ01KouvR9HZva7hTJApu0idB1GvqPOVU=; b=uSjosQNnzCRjKn06REIRfbqr6tgrO2Qo7zhAniZ0awIiRTtfyEWuK2Hyi3ndgcrNlR3s+w ZZLB/PTPqMx6mhyh1DRVV0unlZHqRqMg2r379g286Z/TbO9uUPvq8ttVj2HDOUzKivnUYi XHBwD6NqJEhyHn5e/0kAGO1a08uXSn8= Date: Tue, 19 Mar 2024 12:46:26 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH net-next v4] net: Re-use and set mono_delivery_time bit for userspace tstamp packets Content-Language: en-US To: "Abhishek Chauhan (ABC)" Cc: Willem de Bruijn , kernel@quicinc.com, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Halaney , Martin KaFai Lau , bpf , Daniel Borkmann , Alexei Starovoitov , Andrii Nakryiko References: <20240301201348.2815102-1-quic_abchauha@quicinc.com> <2a4cb416-5d95-459d-8c1c-3fb225240363@linux.dev> <65f16946cd33e_344ff1294fc@willemb.c.googlers.com.notmuch> <28282905-065a-4233-a0a2-53aa9b85f381@linux.dev> <65f2004e65802_3d1e792943e@willemb.c.googlers.com.notmuch> <0dff8f05-e18d-47c8-9f19-351c44ea8624@linux.dev> <65f21d65820fc_3d934129463@willemb.c.googlers.com.notmuch> <65f2c81fc7988_3ee61729465@willemb.c.googlers.com.notmuch> <5692ddb3-9558-4440-a7bf-47fcc47401ed@linux.dev> <65f35e00a83c0_2132294f5@willemb.c.googlers.com.notmuch> <8d245f5a-0c75-4634-9513-3d420eb2c88f@linux.dev> <66ad9e5b-0126-476e-bf0f-6a33f446c976@quicinc.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau In-Reply-To: <66ad9e5b-0126-476e-bf0f-6a33f446c976@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 3/18/24 12:02 PM, Abhishek Chauhan (ABC) wrote: >>>>>> I think the "struct inet_frag_queue" also needs a new "user_delivery_time" >>>>>> field. "mono_delivery_time" is already in there. >>> [ ... ] >>> > Martin, Do we really need to add user_delivery_time as part of inet_frag_queue struct? I was wondering why is this required since we are using tstamp_type:2 to > distinguish between timestamp anyway . The context for this was before combining mono_delivery_time:1 and user_delivery_time:1 into tstamp_type:2. No need to add user_delivery_time to inet_frag_queue because it is combined into tstamp_type:2. If mono_delivery_time:1 is replaced with tstamp_type:2 in sk_buff, the same should be done in inet_frag_queue.