Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp584574lqg; Fri, 1 Mar 2024 14:32:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWn8YOFfVSKnqVF+9gQ66tcEVBTrbjAxLS+k3jT6RNOHb0KhPtEUpIOKrGHVt4O/VQ2cOZ8wgJOe3u+5l2QgOIhu2z3egirZfy/f4tGJg== X-Google-Smtp-Source: AGHT+IF3met7m+Np2RGBap7HDqQypBBt/pQxK+iiFzx4gsgjvATbMU4tTH5Nbl8Z5V1fwXFQMJab X-Received: by 2002:a17:903:486:b0:1dc:6e06:7685 with SMTP id jj6-20020a170903048600b001dc6e067685mr6448589plb.29.1709332333986; Fri, 01 Mar 2024 14:32:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709332333; cv=pass; d=google.com; s=arc-20160816; b=upPk5EWm5bHADY5Re6PBpK1FtiXAo86qlQ8QrDvSge4OljKtfYrSv7+R/B3sHPmEVq ofj4UhkoP2S54+UB2VSs2dnKrVxMT1yMyw9Q5WyqHhYJDlCJfJJOK2fUP5qrkqrpRzp7 PpDSM+P0bFJUgQExq9juFannoAPZe0OtfD005SeaDt8s8hcNZBA/dVnL8fndcNtvu5w2 bHjZQSPvSUURcOECCAQlIrNCvH+ROZolXlRL0Q1so/ZcxwvUtlgpjoM+2gMstxqA7rh1 7cBF6LMYxvxP3LAc2PslQtruGgZbsY2dsIKp3lharQTRzrtZQovZ+v58DZ5FH6PsoEJR AVIg== 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:subject:references:in-reply-to :message-id:cc:to:from:date:dkim-signature; bh=Z7JfMhQCQePfKKf1uRWjRuFfK5uAA07CGHpzBysCxmM=; fh=TKV6tcQuDyzK5MmXUrXrBus3/qs3WUeznRDVFuZWxwU=; b=xGoF/rxQeSLzyKoYfvA8bkvtiuJefg69Sh/3CNKrmQreM4howbm50Jj9TrlmRCUxRf mZ5WuEaDXo/p5+CTM0QCRtZjgh0T5S88PI+16m0dGKgsCnS6PInGhDwQPIH8JD5VuvmL 7WkVW3WzdiN360X/vfHoaevdYsdT/D/sXLTk3NeDUT7PsR4SwTfVGh+c62sKeuCgokh0 cVw7jjSFdh6RtrRKNprrjqzgdk41yE+I4hy1hm8F3oGrmTrL00XqcKE9xJGyWLr0OhIX TU+74oxwczYdOpmkL6AqC6KUW3mMUHmqzPq8B/GsiauQFDMPRYE/wbV5PgJNntFtyFA2 mmDw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gv3Aatpn; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-89194-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89194-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u64-20020a637943000000b005dcd2963f82si4436267pgc.626.2024.03.01.14.32.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 14:32:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89194-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gv3Aatpn; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-89194-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89194-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 03E7028A00F for ; Fri, 1 Mar 2024 22:23:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8DB85A115; Fri, 1 Mar 2024 22:21:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gv3Aatpn" Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EBE859B52; Fri, 1 Mar 2024 22:21:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709331697; cv=none; b=ZLiDAz6uFc7CBgxcDB601PTpq5knGc+UBYqrlec/aQPIiVxadTy7nDnhJf7RNOQoRr67Akzu+zBvf+m2cddccYA5x6wtix0v2X4vDUEuHTDrU+ehbFKTVcWKUp79ydNwryJ5qOU25CdnRxFT/CmtZCYz6Lw32Xqy4twkICVnR8g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709331697; c=relaxed/simple; bh=QHD6wdc2FcjJAuPr9twXZPAxgmO6Qo4sSe6LZC/0f8Y=; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject: Mime-Version:Content-Type; b=qLoFKDrH1D1V+RXwWRkh1119p5XpEGdv9ZhNeSuRoRxBH5JeIqL3lGsDINC7zgI5GN5/0Cgoqmoa4F2WtVAB16bH80TNNDiOf6eqPsE8Ytnnx60ctFRrPWR3ODeZ+YTPYy8tFNKen2Qyt5lkq7znY3vQZK09O7iwb2LvsU/X81Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gv3Aatpn; arc=none smtp.client-ip=209.85.160.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-42ea808d0f8so18426241cf.0; Fri, 01 Mar 2024 14:21:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709331694; x=1709936494; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Z7JfMhQCQePfKKf1uRWjRuFfK5uAA07CGHpzBysCxmM=; b=gv3Aatpnyzjx9YuW+U6KWZBdYkauwPCd/ZVVsksPKK4xAXnXH2rLcRUeN3ZhHOILVY idaLPQWTMdxhvh1q9LZA2SUAd9TmbiaNpNRFAeJqHWRX1LVRT6CV8JOA8UZqcA23YbF5 ivhgslC0Ihl2yaCDsqcbN+u+vQ2s9ffUHLAjOpW3p2IOPGcRkGEO7u7RxXW5LD0ms4Nh ji3AjGeon8tCrj7wx6eWbNsh18drmvZZ+w4W1cuHQOYV4a3PhiaLYM2dvHJIlQxxEaqU 1OyPEk4cQZE9RXbFgGvEgj4hDXHnAdt1qixtH0wkSZR5dhMniNp5XsrAe7LuD37zQYjk CL6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709331694; x=1709936494; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Z7JfMhQCQePfKKf1uRWjRuFfK5uAA07CGHpzBysCxmM=; b=VmJSaoxmiheRLmZPOD0BkMo7+0kQboTvrBtOmOHXQbbABDhM9xOaGbWd4svdtdQSyH jj854btLguT69MMrVh3XqWAwBi4Pm5FYak+p2vtMNinGgezDDwhrJqrkaySvytNqMZ9P BMWQ0vt/XsncoGOjpFUrHPUaki5aFkYJ6YXsSRFbP8lWvbpVCG8dih/DGDyJejUNhzOE ZpMg3BaJgOXgKVBvApFMd18ImVTUJYnUj07+4mRIQK4yBQ7QNNjjonmi0COunHRiQrfy wUCfHyRO0k+eAwH4xtyfKiEwN6dzwzo1JAKGhuPNNAUl2Bgn3/j5NVNKXATx0y0II2vZ LfMQ== X-Forwarded-Encrypted: i=1; AJvYcCUa9RlWnBGs+MK8S3YuniImmfx54t/Ij52QsX7qKWNSbURsiIApFJIG2tdI1DlCeTLatRmqSnVc5v2gyK713bPA9h0+CdOmjOuz+lmYwO/aIKt4ETJVds1kHG6XmL6VA5nk8Vkv X-Gm-Message-State: AOJu0Yw3t9NXWkkDHpXjdd1Qbc4FLT3D5pSU7o5RZwGg7XVRZdFgr7Cm XFcyuvwg/h4PuY33hkCAs+YgyLcDnyuIcYEuNFn9xLB8mTD83n3O X-Received: by 2002:ac8:5715:0:b0:42e:dad2:fc58 with SMTP id 21-20020ac85715000000b0042edad2fc58mr89942qtw.5.1709331694494; Fri, 01 Mar 2024 14:21:34 -0800 (PST) Received: from localhost (56.148.86.34.bc.googleusercontent.com. [34.86.148.56]) by smtp.gmail.com with ESMTPSA id m15-20020ac8688f000000b0042eae33debfsm2081296qtq.89.2024.03.01.14.21.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 14:21:34 -0800 (PST) Date: Fri, 01 Mar 2024 17:21:33 -0500 From: Willem de Bruijn To: Abhishek Chauhan , "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 Cc: kernel@quicinc.com Message-ID: <65e254edea4d2_15e0d629462@willemb.c.googlers.com.notmuch> In-Reply-To: <20240301201348.2815102-1-quic_abchauha@quicinc.com> References: <20240301201348.2815102-1-quic_abchauha@quicinc.com> Subject: Re: [PATCH net-next v4] net: Re-use and set mono_delivery_time bit for userspace tstamp packets Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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. > > Setting the same bit (mono_delivery_time) to avoid dropping of > userspace tstamp packets in the forwarding path. > > Existing functionality of mono_delivery_time remains unaltered here, > instead just extended with userspace tstamp support for bridge > forwarding path. > > Signed-off-by: Abhishek Chauhan Reviewed-by: Willem de Bruijn