Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp85528lqk; Wed, 13 Mar 2024 17:37:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/kwP94KBqVi0cVsRQyV6rqhPKJTJwo6u81KNDXv/f76Q2VFq38N1rqyMpzvVtlzHGYhTCXhpog5/J67Pz/iIV5/0u+lPn0tf88yT99Q== X-Google-Smtp-Source: AGHT+IG7yR2ijz0PTkceRvKSh/Et6tmsbWPVyGePER+mbLsRRjwWOOMT6timBScNsWwk1GTusBs5 X-Received: by 2002:a17:903:1205:b0:1dc:b16c:63fd with SMTP id l5-20020a170903120500b001dcb16c63fdmr440691plh.65.1710376675407; Wed, 13 Mar 2024 17:37:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710376675; cv=pass; d=google.com; s=arc-20160816; b=XEcfvdOPVR88WM9v+VELACmRAhnCmseD0897tic/k///oIYY6krYIz/NtcuTGQAu+f oYn5RXf0M6nnCXziEQjckq1nOn0Ku4tV14+UTv3cOZUOiGxC0r64F7HDh+08sg1+u2DX RXmHjHzoGn5JrKG9mdn3Djfi2TcVub6qJ+HxLn+b9B4Vueik8KK37xe45ESDoLCBWVkm YF8uMu/ehvEGZCM/v7fqtZYdOZe0H5b8I7dda0dlXbCo1g5FzBn+i8cSNolJoPffvpJF AeA/xYhUt1NdY54UkGkypfYs4gCv/Dd9Yvxtt/hf2OOGeNDTBBH+fWJemBWBjXnxbzPz JGeQ== 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=u8ydzRm0r66owe3d7mYdN5MVRd4EsoHiZjLgFN6728M=; fh=7SAay9D3vrxD9qqmqOfKRm1xynYwAeTra0r4a8G2avs=; b=LL2yWJC3Rfzjvphjkf4Ew4aYL6EssZlDfh3CTf1Vz6oCelfqcCgAvyMNxh4s9y3yuC KtTHgHSmEBpI5cmQdQ6Dx38d9XoRg2n+tfdtAq1avIv5elsWgc48YaAgp8nrvNXbj0U/ OJT41jmmIbF6dOBXMZ/1HfTUZBKWkhLPCw+Ws9aHThFwLxj6qBeUT94wVbLG3ywQmOW1 ETyMYppH4wf+GkwYL6T4pvjllE6b/G1V8ix9FoY6Aapyw2Bhr+xlsutcwpCl8lBXe0vs ipuCsUI+GzmIIKNryjKG3+Y3X1aUpEPJRvefQpx3+ytejpDlQd3Oo1cvx4pdylvQBtzN PshQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=D1orgEvB; 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-102676-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102676-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. [147.75.48.161]) by mx.google.com with ESMTPS id i15-20020a170902c94f00b001dd7fc45425si405602pla.56.2024.03.13.17.37.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 17:37:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102676-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=D1orgEvB; 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-102676-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102676-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 19E0CB22032 for ; Thu, 14 Mar 2024 00:37:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBCA6440C; Thu, 14 Mar 2024 00:37:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="D1orgEvB" 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 6FC188BEA; Thu, 14 Mar 2024 00:37:36 +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=1710376657; cv=none; b=ayVdXBKjyKlHwlj93oyNUfTw76Vpx2phPIp12y9YmtwLBI/E43JGZ3lWSgbS/isOMnQf2IiHKyYfKEOwR1tPYQTOXTxPX3sRt2gZPQFeR0BrjdPEaq28POXc7oDnRL1Iyp4sK+aRtX484DYImM3wIHv+2B2ZXzSetSCcfA3wmeA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710376657; c=relaxed/simple; bh=1d0zgavVG3HuEPLnvQnvyiWVM0IDIJcLBIZ5ZUMvKQM=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=XFLFaIC6G7GtpwabwmpqGg3O7Henxb0sRmX8Mv0M1TwbRC/tFiDzHJtzKDStmGBNrIxPKwb+kMR+zZHKBYvyo32l4TVWPrrm6StSwMeSHZEMGD89Ahvg7H1MrWp9rotzgZmjpopqwS8PrzZ2Fc3ec0SsOtU5AUEO5h6S0GyNhHg= 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=D1orgEvB; 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 42DNW70s007440; Thu, 14 Mar 2024 00:37:15 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=u8ydzRm0r66owe3d7mYdN5MVRd4EsoHiZjLgFN6728M=; b=D1 orgEvBATetLfZadAW29ZXuEJ6x+1qlKsJeXl/KUCSCLlMa5myDMmhYhDy+Po5hQ6 Ng1OHvF61N2f4Pnl0FTzitzMUCITshesbKI901Nmk04oVRvU3Uok5M9AOtw8Upww 9z3UGfz2YbcsHWs0NDNeqbNn9U3bo63dFBBe2gZaZgr4ax954amS1ggP+oUR8EVC c1thAFdCUgyDOkyVHAqTQWnVWaAHZVx2MCrO77WwhILinvXREyaeE8hWcqhjUtGD H585X6LywbYY7yH9rHoNMvz9Q6gKXBvytDYEaM4d7MxfkPZALuSkCNlv6K/X8qV0 Z9CpKRQ0h3JHOXSEHRww== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wuapeht06-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Mar 2024 00:37:14 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42E0bEOn027253 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Mar 2024 00:37:14 GMT Received: from [10.110.34.216] (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; Wed, 13 Mar 2024 17:37:10 -0700 Message-ID: Date: Wed, 13 Mar 2024 17:37:09 -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 v1] Revert "net: Re-use and set mono_delivery_time bit for userspace tstamp packets" Content-Language: en-US To: Jakub Kicinski CC: "David S. Miller" , Eric Dumazet , Paolo Abeni , , , Andrew Halaney , Willem de Bruijn , Martin KaFai Lau , Martin KaFai Lau , Daniel Borkmann , References: <20240313235003.1354814-1-quic_abchauha@quicinc.com> <20240313171623.51ebb7bd@kernel.org> From: "Abhishek Chauhan (ABC)" In-Reply-To: <20240313171623.51ebb7bd@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-ORIG-GUID: 6h5Elw_gh58SRe5EkBdxqp5TdVIRknIK X-Proofpoint-GUID: 6h5Elw_gh58SRe5EkBdxqp5TdVIRknIK 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-13_11,2024-03-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 suspectscore=0 clxscore=1015 impostorscore=0 mlxlogscore=999 spamscore=0 malwarescore=0 mlxscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403140002 On 3/13/2024 5:16 PM, Jakub Kicinski wrote: > On Wed, 13 Mar 2024 16:50:03 -0700 Abhishek Chauhan wrote: >> Subject: [PATCH net-next v1] Revert "net: Re-use and set mono_delivery_time bit for userspace tstamp packets" >> Date: Wed, 13 Mar 2024 16:50:03 -0700 >> X-Mailer: git-send-email 2.25.1 >> >> This reverts commit 30bb896b98fce7d823a96fc02cd69be30384a5cc. >> >> Signed-off-by: Abhishek Chauhan >> --- >> Reason for revert - >> https://lore.kernel.org/netdev/bc037db4-58bb-4861-ac31-a361a93841d3@linux.dev/ > >> 1. Fallback to design proposed in version 1 to have a seperate user_delivery_time >> bit >> 2. Keep mono_delivery_time as ease >> 3. Add user_delivery_time as a new bitfield will be a seperate patch >> 4. do not reset the time if either mono_delivery_time or user_delivery_time is set >> 5. we will need a user_delivery_time bit and use that to look at sk_clockid > > Could you please spell this out a bit more in the commit message and > add the link as a: > Certainly i can do that and explain more in the Revert commit message and point a link as mentioned below as why we need to fall back to design 1 proposal for adding an extra bit. > Link: https://lore.kernel.org/netdev/bc037db4-58bb-4861-ac31-a361a93841d3@linux.dev/ > > in the commit message rather than the "throw away notes" ? > > (feel free to repost asap, without usual netdev's 24h)