Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp365939rbe; Thu, 29 Feb 2024 01:41:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWcgS/RP+HdHriboFl1OAjTxxeH/mpiEKKjPf70dqeDu0pDevreuxdwjYHklNvrODQiYUgLm/fcmxV+03JFYLEizVt2q45N50EToVJdzw== X-Google-Smtp-Source: AGHT+IE4rd4XepOFvfRTUcXimUaordMDzqmuaEwd26MaEYUwTxF/y6TkGBDc8Wj/YomjmIdrxkTz X-Received: by 2002:a17:902:fc4e:b0:1db:ecf1:3b83 with SMTP id me14-20020a170902fc4e00b001dbecf13b83mr2206320plb.23.1709199695565; Thu, 29 Feb 2024 01:41:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709199695; cv=pass; d=google.com; s=arc-20160816; b=FFPBTaJIDRboO2yv+36cpQ70zx0s5GI0I3EVW4UfdV8OzaSaiENUvabfmLc2eEV5ry WRN4zfkM/H+zlNk2yEmx5Ghy5q8SzmSd71hXnD4FuDBdDNGarW/rjO0KtOGMhrEesyBx zbcPcwfF1xGCUb4F6VoIC6IFE2hd0tHF0HH1v2ZUbSu06YHIWunh2F6C0Gsjf3++0uTc EvPdxxF1Idx5M4AgjDayxScTevnTKqOXdJl006N9nEMktF8coL2f3Egjms11s9GayOc4 bV2+fm02W5WEOZk3GnO27sOoKYefpR0eMkt5XQy11BxPSufRNTun1BSWWlb3m1Dakg3K Xd8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=J54H/uh13Y+M+2G/ErtbMohc9y1aCVSoOZ0Yj1zPpBU=; fh=7gDeNufr/yceCFbY0yH+2oYjRgF3o7EgA2JHptoeSg4=; b=UqAlnkeVN4nwFDs27alo8DIdhXSHdaX24HFHVuj2k20AbXfHz3z7fxDKiVRfoS1YUE ZaoeIz6UKLRY8jmlX96gJcobUICToFNqSbxAowLJULGYPOZ2JsEaKTuRX/NYeDepnBjs QzTMt/Gv2kfFgLxrBqn98PeA3TFeuJ99WyHDUpy8L9FSUFtmsvpWLJZbE/bgsoRbrH2z 9OBoU9pzXJZ8fBwoXOeYgs3X+j2NuuzUi2u1yyGd8WCWML6jnl62pwV/lllxXMZTQ8PE F6GcQ37XT7Wt/IZ4+8Zst9o/VKw5I29xFNK+4SNNi0VTOAia3vM8os8eB5b2PzRpE2BV gAew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=f6t2X0ub; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-86427-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86427-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 b4-20020a170903228400b001dca82fc6b9si970833plh.546.2024.02.29.01.41.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:41:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86427-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=@redhat.com header.s=mimecast20190719 header.b=f6t2X0ub; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-86427-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86427-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 422FAB2217F for ; Thu, 29 Feb 2024 09:30:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A62CD56B7E; Thu, 29 Feb 2024 09:30:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="f6t2X0ub" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 BDE5F5CDF2 for ; Thu, 29 Feb 2024 09:30:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199047; cv=none; b=m6YkE0ZrFBJFIfVJkOFOyp7WAnHz7tJNjsoQjBgtTydLMCFinwqL3m26gpRpLj+xrYUIreb3+7cBWuRs7hcFLkl8fVzZ7ozQl/DnqBopJB2OAF1h876lY+M25bGEblspjTfG1LwHRFoF2rFLgKw9LQAjp9prrtxXm7LJv6QTgMQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199047; c=relaxed/simple; bh=J54H/uh13Y+M+2G/ErtbMohc9y1aCVSoOZ0Yj1zPpBU=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=Slzhys9j2ANWFLOOlrPIhanV1Jp5vK0w1bZRErwOVxVmUEbwB3oH2fcg84rs7K5m+XJ38zzwdZrbvLx6VG1esEXOsE19Gn+5htYU+3fcinnasSyoMnNu6/1ClSe6mm2Gsx44tyHcbAd3ZXkF4m7v1XMoVhhoP4QXhZX07QbIOOI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=f6t2X0ub; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709199044; 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:autocrypt:autocrypt; bh=J54H/uh13Y+M+2G/ErtbMohc9y1aCVSoOZ0Yj1zPpBU=; b=f6t2X0ubEWvxlfOwIjDCf/nYK4N/bbccekNrKN+EdQOySgEW1Gt2s1T9Ee4pDkEopvbKJE 49lpMNeb/tl000WjUpcWYFe14umEt18kL8sBjl3tr57Q6UcjFeEyJWdXX0CAHb1I2cgiO0 zsVNe6RggizXB6mHfk4Yi64sqwSBIO8= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-551-dPfbyM8GPWuE9vQCGl_LWA-1; Thu, 29 Feb 2024 04:30:42 -0500 X-MC-Unique: dPfbyM8GPWuE9vQCGl_LWA-1 Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2d2a83b6628so616241fa.1 for ; Thu, 29 Feb 2024 01:30:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709199041; x=1709803841; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=J54H/uh13Y+M+2G/ErtbMohc9y1aCVSoOZ0Yj1zPpBU=; b=DMT98Gl0DcScAwbnFBuV7xRMTsacoBCDqUVP52+3ohLD10FHKCIfVLEiM5DKVeKFWa S4Rwtnp2s35WjFm7nIXo2XzNTJF+w1aH9r/8O8V8yQviaTp16eEld4dpfeezYHBWV+59 DCyQn7vuGfOeV0jv8+Pb2YlIwkcN/L6QkjrX+QKAPi38DWfIhWHogXenDsqaX1xyVQxK EEt5/k+9mf0LUQpKgMQvEbeaHHNOZkhqPe1f+C2gREMYh7ShlS7Kx+CRsYNbDD3JHw2B 7Ld+849FVeiIe/Q+AuLjHBZBLmSjN4+5O0XAbOq4ATSUKLlNnzgtBh5AoP7unCZNS/2W LiWg== X-Forwarded-Encrypted: i=1; AJvYcCXEkVbeOzoXWA7F/TjrzdW13IwON5bfUK08PLguBf2I85iJ9R2AKZ5ZUn2Uyfhbv8hvZCNacMmnVSi7fFMsQnsMH2SJJm0HT8pxqXdG X-Gm-Message-State: AOJu0YzFH1kt/vhkKKO657EDe89sso86Hwzf6DUTD0NyoLT2YxUB6i7j jIM2t4wNfH2HQ5QfI0jjRwT4UoryY7Rmu7IzD9hYZvG5uL1oIgIqgUGeoi78V3GzVb5m2pisW2l nYlHMyyC7N3TUAix4u3aGhE5CjH2EEGI8G4GhJN9ixigF0CvSS94NsS0KJvEcwg== X-Received: by 2002:a2e:9993:0:b0:2d2:a2f6:c75b with SMTP id w19-20020a2e9993000000b002d2a2f6c75bmr822893lji.4.1709199041469; Thu, 29 Feb 2024 01:30:41 -0800 (PST) X-Received: by 2002:a2e:9993:0:b0:2d2:a2f6:c75b with SMTP id w19-20020a2e9993000000b002d2a2f6c75bmr822876lji.4.1709199041086; Thu, 29 Feb 2024 01:30:41 -0800 (PST) Received: from gerbillo.redhat.com (146-241-250-174.dyn.eolo.it. [146.241.250.174]) by smtp.gmail.com with ESMTPSA id iv11-20020a05600c548b00b00412a9a60f83sm1506441wmb.3.2024.02.29.01.30.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:30:40 -0800 (PST) Message-ID: <2fc6a4f7ea0308626cfd06d95564486d187b16e0.camel@redhat.com> Subject: Re: [PATCH net-next v2] net: Modify mono_delivery_time with clockid_delivery_time From: Paolo Abeni To: Abhishek Chauhan , "David S. Miller" , Eric Dumazet , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Halaney , Willem de Bruijn , Martin KaFai Lau , Martin KaFai Lau Cc: kernel@quicinc.com Date: Thu, 29 Feb 2024 10:30:39 +0100 In-Reply-To: <20240228011219.1119105-1-quic_abchauha@quicinc.com> References: <20240228011219.1119105-1-quic_abchauha@quicinc.com> Autocrypt: addr=pabeni@redhat.com; prefer-encrypt=mutual; keydata=mQINBGISiDUBEAC5uMdJicjm3ZlWQJG4u2EU1EhWUSx8IZLUTmEE8zmjPJFSYDcjtfGcbzLPb63BvX7FADmTOkO7gwtDgm501XnQaZgBUnCOUT8qv5MkKsFH20h1XJyqjPeGM55YFAXc+a4WD0YyO5M0+KhDeRLoildeRna1ey944VlZ6Inf67zMYw9vfE5XozBtytFIrRyGEWkQwkjaYhr1cGM8ia24QQVQid3P7SPkR78kJmrT32sGk+TdR4YnZzBvVaojX4AroZrrAQVdOLQWR+w4w1mONfJvahNdjq73tKv51nIpu4SAC1Zmnm3x4u9r22mbMDr0uWqDqwhsvkanYmn4umDKc1ZkBnDIbbumd40x9CKgG6ogVlLYeJa9WyfVMOHDF6f0wRjFjxVoPO6p/ZDkuEa67KCpJnXNYipLJ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hQq8d3hB/Ww2A0H0PBTN1REVw8pRLNApEA7C2nX6RW0XmA53PIQvAP0EAakWsqHoKZ5WdpeOcH9iVlUQhRgemQSkhfNaP9LqR1XKujlTuUTpoyT3xwAzkmSxN1nABoutHEO/N87fpIbpbZaIdinF7b9srwUvDOKsywfs5HMiUZhLKoZzCcU/AEFjQsPTATACGsWf3JYPnWxL9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Tue, 2024-02-27 at 17:12 -0800, Abhishek Chauhan wrote: > Bridge driver today has no support to forward the userspace timestamp > packets and ends up resetting the timestamp. ETF qdisc checks the > packet coming from userspace and encounters to be 0 thereby dropping > time sensitive packets. These changes will allow userspace timestamps > packets to be forwarded from the bridge to NIC drivers. >=20 > Existing functionality of mono_delivery_time is not altered here > instead just extended with userspace tstamp support for bridge > forwarding path. >=20 > Signed-off-by: Abhishek Chauhan Since this is touching a quite sensitive code path, I think v3 would deserve some paired self-tests. Thanks! Paolo