Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1117205lqt; Tue, 19 Mar 2024 13:13:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVPsc6mHLV3fqzL2Y0VhULH5TrbD334em4cHzSFJ8sDToQMXI9YAbc/YJKTm2PA+cqENBLdU1LHEz3988bnF+C5KZj5t8VyNOh7g8q01w== X-Google-Smtp-Source: AGHT+IGc382h5ZcXhl5rDLk3diraB2rn3Rguv5UiJsmjhAb99fv9ZFO1ZzS99yGObQixuy89PAQN X-Received: by 2002:a17:902:ea10:b0:1e0:12c2:381 with SMTP id s16-20020a170902ea1000b001e012c20381mr274626plg.2.1710879203909; Tue, 19 Mar 2024 13:13:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710879203; cv=pass; d=google.com; s=arc-20160816; b=Fvc8dNIs0l0sLp3mQ3QgzkanOnz+kQT+nK+5fTiSsGVB2P6+kr7kobHzpQ2mygK/X9 ZHTr12oaLQiTSLobX20y2p29X1IKoesN9QHzLIsxJ2EmkpKplxWkCLolVIXXWEQaTsmr DlwKBfZZORi9wyXBpQmNDXokqJXOWAbuoWQTFMGrTUe53NlV5UQ5eR496cgbeALfhH1Q Z98uZZ3oNk2KyV8p7GQacDah+3OEiyUAu734frnqliSTtVD3jnX9bSAQ9NAYTpdovOVE tjMQ3LWZOBTE5FJwuRv3kuuDoTP1hrX/iF8vyagYC0dBw/h8y4ApTJAdWLDJPqwmoYOi nPZQ== 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:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=fmu5THVSphdCzmExKKVkeaiKTgxaANSNFePOX3S7iuw=; fh=UtCPncgmTl1KqIk7V14B62Ji2kDPaPX3KRq08Tfk9d4=; b=OIc+bQousydHg+Hvwhl3omaHh16tOWF2vfeSetqn9fdDJEErkHDsv8k18O7RJ3sIxQ mIdPJ7iKIlfNNhqIoLA7tQTKkZaSwL0OZ4qvKUrw31be36bMNlz46oOGcAjTWkhONWAi OnZ4jj2/xN2fNXQmf+sPMBhxNjixb9c96VSxTq1SGfFYefpPxzfVCwNz1sNK3iWPB45b nrRliyqZWHAACEW6hGXW5/crz6nAqflG+FlJnHzmalvvjVd7aMN9OFODOR78yNIK7V5b sfQyMWY+bNONnFo9taSlBsJKs8fCbqYl0AbS5lIYWP6Z3/uj+cJjtFnXWyX1xWbiwfIF poSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=V7i4Sz+K; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-108097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108097-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id k18-20020a170902c41200b001dcabe5b3absi3294454plk.33.2024.03.19.13.13.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 13:13:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=V7i4Sz+K; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-108097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108097-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CC9F8B21B3C for ; Tue, 19 Mar 2024 20:13:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 483EA59B79; Tue, 19 Mar 2024 20:13:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="V7i4Sz+K" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 E4DC45F860; Tue, 19 Mar 2024 20:13:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710879190; cv=none; b=ldtPOyH0RralXh0Z8+vbs2JY2kVWx+NMOJepFNqM2wFULBvQ7+buOLkfqdc6ETfOKh16AsYFeiHyDmjxDBgjZPC3l7RT6IXxFjmoO+1aTDVBitnKVkKlxYRrz9iXNJmiTZKmolnPvwmtvwGhXB++I05cJ3fVgIC9CyrDq+SWKZ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710879190; c=relaxed/simple; bh=XSo6Qp5+TTIpAtv1z79spgUBfLtasygSqClrv/83aWw=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=WOig6C3vMD0XD7gGs0jtR1ZMItN84oMSUQ99/FR2eBJcwjdk3aldPF8w/GYNgX1BJ1wpnBhKC+jmo+nzvxCNIvIWJ3LjnHWFUHnh5FrMX7yZeujVtbrQdB9Y2YwJr455NhQ7G93boE4nYHhccRPGFHhxAyAS9bV6hrwsm/Bt6us= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=V7i4Sz+K; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42JJh5Vx008725; Tue, 19 Mar 2024 20:12:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=fmu5THVSphdCzmExKKVkeaiKTgxaANSNFePOX3S7iuw=; b=V7 i4Sz+KcchDCEHBZspLgAEOXU+KnHuiJZT0xDDlGpF9brzF27UbCuFY+4c0KauPS1 yYpJtkm5x0+k0/mqNQ2SxJ5yjcMakV8wiM+NLOfngWv9B1SZ7aNfaddrWjJVXSyn gylXSXfmPKewOFBRBMI+9wLFdxOKTqHZXn5v06Bz8wVLmb3ijAi/qpqd/J7eNcWT cEYE/0oBdBzrVV5FnM6LV70W/NX1zhtOffQ27ENuus3XpVOkQJSaZSBA9y4l8/4p UOcKZ7ZRb5CSoxPuhXr68dAA38sRYjysjWvGK8kieX8+J+UWVhknfNAqQrRRVmSm +nVY7m1ud48wjQBugRJA== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wye5n8jsn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Mar 2024 20:12:40 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42JKCexf025944 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Mar 2024 20:12:40 GMT Received: from [10.110.98.255] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 19 Mar 2024 13:12:36 -0700 Message-ID: Date: Tue, 19 Mar 2024 13:12:35 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v4] net: Re-use and set mono_delivery_time bit for userspace tstamp packets Content-Language: en-US To: Martin KaFai Lau CC: Willem de Bruijn , , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , , , 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> <5b1d5758-3510-47c5-97e9-2edc5112d046@linux.dev> From: "Abhishek Chauhan (ABC)" In-Reply-To: <5b1d5758-3510-47c5-97e9-2edc5112d046@linux.dev> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: VMrYGObpInr61SalXL7s6H01AGPAuPip X-Proofpoint-ORIG-GUID: VMrYGObpInr61SalXL7s6H01AGPAuPip X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-19_08,2024-03-18_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 spamscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 mlxlogscore=876 mlxscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403140001 definitions=main-2403190155 On 3/19/2024 12:46 PM, Martin KaFai Lau wrote: > 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. > Thats what i was planning to do. This is more or like the patch 3 - when brings in the changes of two bits. Thanks Martin for clarification. >