Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp48422lqe; Tue, 9 Apr 2024 14:06:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUj55EELd+GrgQ1OU1PykqMTbxyQn8a087/YD+fdnCAaaXxo9IQ93tGznvgfMszJ+8gu/T7bXWNj6O65saOuVb02XcPYsNtP+FRen6ylA== X-Google-Smtp-Source: AGHT+IFEO3D62YPG4wW0511/dLULF8g+iC3l02UbbNjqQWeEaNA1M1IAtvcF9FVS7y3MvTUxsSDG X-Received: by 2002:a17:90b:1894:b0:2a2:a243:478f with SMTP id mn20-20020a17090b189400b002a2a243478fmr840651pjb.1.1712696787532; Tue, 09 Apr 2024 14:06:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712696787; cv=pass; d=google.com; s=arc-20160816; b=OsL/lhqIpJjHd9175mxrMl69uzEYa6TgISQrDqT4oDW1EEBHnYa6ajK8dKZc5cEa9g F2pjK7hMjd3wrPqq6H+0biPqCVx6fi2kC/Znci8PtqrIDv+Hq3UWhCAiiYvEM5Hq7aae IJ5svEjOKMx7ukffQ2bjc+G2fUFCgAmw3ctYCs5n7NzZecm3RFQocQarQC3HOyHwX4rV 9Fv5jQi4CWXcnlq3r1xbYnCYodPEU/cYUgD5vEO3Z1EDcNUh4CErtAXPJHfA7LR5JZT/ 0Gv88IM8VNoZkbpBCFLcjpzYuHj/QNGNlQYv5kVaGQVHARuwHE5GLCUOrRzN2r4v8GJD H+zw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=V1SuP6eXVBFGYGm7m/1GhxLxiPFrHOkbv1QHcvwMGWc=; fh=/iU0t2Y0Kz3seCRFJNGF+1a02X0rtCsR4mc85nxNZNw=; b=n9CABAJr8WNVSH6yv3kvzzePx5FusNM8/L2+cmulJXlSSG8jxC9gH79IVtfEMJ4PJt T+f/XNGCBi0QJ6DzQBnhgRq1HwgcZM+3Ba+i4SnfIcTiqiQmzTBCDocsTnOEBNzRM+FK F+1qXu/E/7JN/YSUMYFWBwQtWXgZQvdoUuQY9RgV172iUMSypP+TWOsYunnWlw24/+qm mqboJjOMfW7vngp82xry1m8MkF1Sgv7TOw8WQcdFjXdgNvvKaaGUFJl/MipjSnvA9xjg zJIYP3Fzuj9xyPNt5WXwpHel2xTLJ2CHB6PKON7lkdDrX0IlkecR/3Rk1LH/xBO6coSJ z6zw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PGRHbB1y; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-137625-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137625-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s13-20020a6550cd000000b005c69365abc9si9123154pgp.687.2024.04.09.14.06.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 14:06:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137625-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PGRHbB1y; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-137625-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137625-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0E9572844C7 for ; Tue, 9 Apr 2024 21:06:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8D49158A14; Tue, 9 Apr 2024 21:06:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="PGRHbB1y" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 3EDEA15887B; Tue, 9 Apr 2024 21:06:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712696772; cv=none; b=tbfRnRJUqJj/wZmgNuJdX/kjWnELJGElmocGm+MVxNyaZOEENr7XLL9QNWeAWhpy+Dd7MJP94cjLoXaMegnjp5WOQ8bGJCCiiwNkbfMUaemzmmawi9EBSQrqK+gyFC8TkCdqrYnuC07HIFnJFKhE0z8woIPZBmFE1xj0AhVTLhM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712696772; c=relaxed/simple; bh=Jy24e7oy1xu/OFetGGcYd/gTCThcS3dxJIyooq7Oqyc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=RBMmPtrGTecY3+ORViasAN4Qvy6xyW6m5UqmKeh0MRbk0pjUNTWxtFk3s3EHV3p3ACPf220qFO5SN7SqYeR+7ZFgpZrC1Gywap0AjUs8xYH7i7Nqi1J1ABsbHmeO+B2r8J1LUNVR6I93LgDUj53BVaNuRsOU/E3K8anefo356Lo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=PGRHbB1y; arc=none smtp.client-ip=205.220.180.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=qualcomm.com Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 439KZcrF016172; Tue, 9 Apr 2024 21:05:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=qcppdkim1; bh=V1SuP6eXVBFGYGm7m/1G hxLxiPFrHOkbv1QHcvwMGWc=; b=PGRHbB1ywlb7UzhJysUAaEBExh8K43CSbV8f Wx15QmwwQkjYki/2bvpGeoiZqMCXTvAkUv1MUDHVTbypbL52sG1vyiJws4VICY7O kgz4IZUrF1NcyEvCKusNVdHunxp3WG2h4JYssArXJL64IAuAmTywDvggfBPL61u7 5r2Zo3JJNihA33fD++yX8QLCtpJ8UELr2pNG9nZJYYCSYUCI24GB8Tg+BWYNWWLy f4Vj9EfzRCR+01uHjo8hIeVqDNayA8TVipDzhpwtUGHPAn4YmCZZDvl/NF3uege6 zkuA4HeaukzrvgshdC7C6Ex12d6fg3R7Yj0jpWuQdqzyW8mwAg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xd3dy9f7w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Apr 2024 21:05:49 +0000 (GMT) Received: from pps.filterd (NALASPPMTA01.qualcomm.com [127.0.0.1]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 439L5mZF025389; Tue, 9 Apr 2024 21:05:48 GMT Received: from pps.reinject (localhost [127.0.0.1]) by NALASPPMTA01.qualcomm.com (PPS) with ESMTPS id 3xayfmk1ed-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Apr 2024 21:05:48 +0000 Received: from NALASPPMTA01.qualcomm.com (NALASPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 439L5lpB025383; Tue, 9 Apr 2024 21:05:47 GMT Received: from hu-devc-lv-u20-a-new.qualcomm.com (hu-abchauha-lv.qualcomm.com [10.81.25.35]) by NALASPPMTA01.qualcomm.com (PPS) with ESMTPS id 439L5l6S025379 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Apr 2024 21:05:47 +0000 Received: by hu-devc-lv-u20-a-new.qualcomm.com (Postfix, from userid 214165) id 4F182220AB; Tue, 9 Apr 2024 14:05:47 -0700 (PDT) From: Abhishek Chauhan To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Halaney , Willem de Bruijn , Martin KaFai Lau , Martin KaFai Lau , Daniel Borkmann , bpf Cc: kernel@quicinc.com Subject: [RFC PATCH bpf-next v1 0/3] Rename mono_delivery_time to Date: Tue, 9 Apr 2024 14:05:44 -0700 Message-Id: <20240409210547.3815806-1-quic_abchauha@quicinc.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: QX38xT3t_NKNPLtQtrd_2YlODkrC3Axh X-Proofpoint-ORIG-GUID: QX38xT3t_NKNPLtQtrd_2YlODkrC3Axh 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-04-09_12,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=688 malwarescore=0 impostorscore=0 phishscore=0 bulkscore=0 clxscore=1011 adultscore=0 spamscore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404090142 Patch 1 :- This patch takes care of only renaming the mono delivery timestamp to tstamp_type with no change in functionality of existing available code in kernel. Patch 2 :- Starts assigning tstamp_type with either mono or real and introduces a new enum in the skbuff.h, again no change in functionality of the existing available code in kernel , just making the code scalable Patch 3 :- Additional bit was added to support userspace timestamp to avoid tstamp drops in the forwarding path when testing TC-ETF. With this patch i am not sure what impacts it has towards BPF code. I need upstream BPF community to help me in adding the necessary BPF changes to avoid any BPF test case failures. I haven't changed any of the BPF functionalities and hence i need upstream BPF help to assist me with those changes so i can make them as part of this patch. Abhishek Chauhan (3): net: Rename mono_delivery_time to tstamp_type for scalibilty net: assign enum to skb->tstamp_type to distinguish between tstamp net: Add additional bit to support userspace timestamp type include/linux/skbuff.h | 40 ++++++++++++++++------ include/net/inet_frag.h | 4 +-- net/bridge/netfilter/nf_conntrack_bridge.c | 6 ++-- net/core/dev.c | 2 +- net/core/filter.c | 8 ++--- net/ipv4/inet_fragment.c | 2 +- net/ipv4/ip_fragment.c | 2 +- net/ipv4/ip_output.c | 10 +++--- net/ipv4/raw.c | 2 +- net/ipv4/tcp_output.c | 14 ++++---- net/ipv6/ip6_output.c | 8 ++--- net/ipv6/netfilter.c | 6 ++-- net/ipv6/netfilter/nf_conntrack_reasm.c | 2 +- net/ipv6/raw.c | 2 +- net/ipv6/reassembly.c | 2 +- net/ipv6/tcp_ipv6.c | 2 +- net/packet/af_packet.c | 6 ++-- net/sched/act_bpf.c | 4 +-- net/sched/cls_bpf.c | 4 +-- 19 files changed, 73 insertions(+), 53 deletions(-) -- 2.25.1