Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp116489lqa; Fri, 26 Apr 2024 16:56:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSraXnOb3B/+0q71v5q96Nbcva5qjpKkm/fDDuqD7M4I9m8cMh2AnYYIk9hoe0OUxEF5IuZuoa0/0eIrldhVvEKkO1Vog+GFXrLElXIg== X-Google-Smtp-Source: AGHT+IGUiZPQCkbvKLY0irWk1M4llFf42ILHpSlNgKlJGBvb1xZ9eEFWJ25PuLeWFPysrvtLaBl5 X-Received: by 2002:ae9:f447:0:b0:78d:5ef2:81a5 with SMTP id z7-20020ae9f447000000b0078d5ef281a5mr4950064qkl.70.1714175774899; Fri, 26 Apr 2024 16:56:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714175774; cv=pass; d=google.com; s=arc-20160816; b=VbOgXQ8pqgsVoWLaQZYfFg208OIem8/gI8ibasZeNmzodyhcpOZFd9o+PalhmK1z7k CRIpk6HLjheuQRoG1rfSzDCvkrSVVsH60YANzqsYLNgWher6mj94Fo+OqadTYTOwMkml CTVOhdf6IL4OfTzT4OPP6txq7aSubFwHY+wacbgcPcCpITs9yJ+hZHpGYzl1NAImVou7 5FUk7uuWsThqRnYEiG4qg3aJbPXBmtiQII3AYtjQ9Vkf2XnAFfM3KkXRMPW6epNjAzJl dczxDZT0fCo2FgB2HeutUCo7VucLD0k5kakXuL5nE2u6fakyeEBfXuNLLfKgLhqNM4w2 iTuQ== 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:content-language :references:cc:to:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature:message-id; bh=/WB70c0JO1javGJ5ouAAz9GvqmsyBQq5+3gEbrQGxvU=; fh=eeL6EqYOJpOtxC20FB/jSm0nvsMF9BU95SXOWb/C0a0=; b=p64Gc/F07BpFapkF4PjFYuXgArx64qvEURi1VU6tT+4kaF6DjrcIMmX2P4bNehy600 kdvg84FffzSxwoQAdn4GzOJ7QUfrvYtjswJ6fSUdxF/KfbObGv+tfQM6E2GEg9hbc6iU UJO7Dzj13jeOBWExDorU+7qBQfa6yNuK2DcOEsZxPARVHeNEaNOuKuQvtHbOETvfT31T 9WtbyY6pbo1hVu58mG2CJdD0+X6XEnjQaawjSH2SEThWHBz9RR/ZvkxiWrx0F3twxESS zOanVdbUL7stkunUt2Yvfly03uEdaczwFXUzcr8S2EXjNIGVPGUP7kn4WImF9GQhTdws 5p6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=lDVxE0l6; 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-160786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u7-20020a05620a084700b0078be9c26968si20826047qku.463.2024.04.26.16.56.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 16:56:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=lDVxE0l6; 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-160786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160786-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 98F2A1C22637 for ; Fri, 26 Apr 2024 23:56:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0D1C3C46B; Fri, 26 Apr 2024 23:56:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="lDVxE0l6" Received: from out-183.mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183]) (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 128D43A1DB for ; Fri, 26 Apr 2024 23:56:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714175768; cv=none; b=gwdC91WvYW92mb+sO8FrKqcmhUQ5FSzM/imjgQHnZYCUm6k5gshQJrYgb/vqlRoojqNvpD4ShFM/jMsplv3a93CcayXZIEkYyHXmePDt1gTZ4894uoQgVVf73zWssZ/WFlSgwuZnugfbPFLW+xv2q+twVlsWuX77ZwQ2q2GYluY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714175768; c=relaxed/simple; bh=h35Bs0TjvjT5HMdqr6jDsiFes2b5MmRn8YsZIluWb3U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VoU5OLrFFLIuiMLzAhS5bPJWa3eyE8XesTzjh0xOPXbcGw0R4iwtQuZTrmbIR7rpqpURr6yl/a06urQAClwSv7GgEGNp35Z9bPXKvrCRp4Yjd2sZN2u6EnE/kppmzeAFOVuxDQP4eaOC5PeWAX/iTTtn2Dcaz8fUY+YoLTE5qxw= 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=lDVxE0l6; arc=none smtp.client-ip=95.215.58.183 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: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1714175763; 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=/WB70c0JO1javGJ5ouAAz9GvqmsyBQq5+3gEbrQGxvU=; b=lDVxE0l6gvF77tXSsj8hn5zx/V5zIfVbKZonEfyXmEcYVJHUUzs8tEVwYI7ADjFx5zpo8S Ypjefc5ycidSx6N/Y13j8YDZ5++SaTTQkH901geqh/GaTgMG19SQAfEcgcQRyFjNC0KuNz npYdiOPSY6K7kFECeqZbshwnXlD+Q0s= Date: Fri, 26 Apr 2024 16:55:57 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [RFC PATCH bpf-next v5 2/2] net: Add additional bit to support clockid_t timestamp type To: Abhishek Chauhan Cc: "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 , Daniel Borkmann , bpf , kernel@quicinc.com References: <20240424222028.1080134-1-quic_abchauha@quicinc.com> <20240424222028.1080134-3-quic_abchauha@quicinc.com> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau In-Reply-To: <20240424222028.1080134-3-quic_abchauha@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 4/24/24 3:20 PM, Abhishek Chauhan wrote: > diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c > index a9e819115622..63e4cc30d18d 100644 > --- a/net/ipv6/ip6_output.c > +++ b/net/ipv6/ip6_output.c > @@ -955,7 +955,7 @@ int ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, > if (iter.frag) > ip6_fraglist_prepare(skb, &iter); > > - skb_set_delivery_time(skb, tstamp, tstamp_type); > + skb_set_tstamp_type_frm_clkid(skb, tstamp, tstamp_type); > err = output(net, sk, skb); > if (!err) > IP6_INC_STATS(net, ip6_dst_idev(&rt->dst), > @@ -1016,7 +1016,7 @@ int ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, > /* > * Put this fragment into the sending queue. > */ > - skb_set_delivery_time(frag, tstamp, tstamp_type); > + skb_set_tstamp_type_frm_clkid(frag, tstamp, tstamp_type); > err = output(net, sk, frag); > if (err) > goto fail; When replying another thread and looking closer at the ip6 changes, these two line changes should not be needed.