From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) (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 9EBDF225408 for ; Tue, 17 Jun 2025 14:52:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750171959; cv=none; b=R6D9MRVa+lTMwRaz7s4HCeyVqgbmd0DF51Qtx5I9PlP1jGQhu/BaPT7WmGH4t23oJWm60jgWykj7HOkzd3HnDhQNIfKJFotUpTAE9ujDsapA5NUcB/ndHqB3VwGkHsr2AxJLQdGBz8z6w84glFLXqlTc9AOXHjjqMYxGOGt7K0o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750171959; c=relaxed/simple; bh=blM95uT8B+cxS5ztOG+k5xAfAAOljYJVM8Ia1mKIbjQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ijTn2NcH1PeCeGdByeDdSjlsnnOlv+vK13GqnAtoOw4GazejbZwyPCmlgzmYGwdElS1gz3l//1NVPmuiFnlU1zRbg30DWtO8+qWz35O+rXRZxLgnUXqUSptVghjzQIKcHzyUbABzSoGxC4OfOh+hju8+eOWwMb5Q+zXc5MvPzY4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=V/uTsTgX; arc=none smtp.client-ip=209.85.166.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="V/uTsTgX" Received: by mail-io1-f51.google.com with SMTP id ca18e2360f4ac-87404493fd2so534512739f.3 for ; Tue, 17 Jun 2025 07:52:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1750171957; x=1750776757; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fWCG+sGWx5UUfUHFdKWAfONPLhy8eh9JOvq/qxi8XZc=; b=V/uTsTgXs4XPGqt+uWnbUGwAhcQVAfW3YKlte+4gioRxraK/n9MrUEttMyn0AWeJzp NQUMFZBOVESoI5SRT1mZc0IwlDiw0oHxDToysS+SxQ5ZRP01Km3kHTnrIT8l4kqUfZeo zeezrtM2AAQMurpYCdKMV1T3vSFoHsXF/vgnpvpOGDM0JOv2CuUPo7dwLBP4MRr1CElv XReQkLzibkZYbbdS1axSE+7dmaUfNXnDu0d/widU19ERlFUPpOxn4AwkeEmG4MVe1T5F RpWMS4kphSxvqtQpQxDVErOi5GziKqqYs4+6a8RzeRNjGbEW6b4R/cj8QpI/986TApYY eI/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750171957; x=1750776757; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fWCG+sGWx5UUfUHFdKWAfONPLhy8eh9JOvq/qxi8XZc=; b=pFlFaQgdmw9EtRYrc2JDzy7waFi41NnpszQiQY3m51khLx+liz2YaPfCpcRxxwbxBe kx0wFHQnxBKGo+DQNJRCdEM1F95B1UPyS1FtwesgTiPKWq6qkvDqsDCGrgXpWOC5xA5t aDPBvtBigGIQ/1dHRP74EOM4aY9LxPrk/lhUIHxs+D5kcfK9ujCkQ/pZ3CfcblC32Wqa O1YhTei2i8A/2rDSfM9TL6N2qOD53XGmGbfTY0IkFHcK0uHqCTgKfcRYZvPkqqHyC/EC wg3WcpvLVqzLWHbbY/HwsKv25l50UNpU52Dl42nFJ2Swc56BYvQwXYV3Wvj2DEIreYhC Dd2g== X-Gm-Message-State: AOJu0YyskWnaYl3NOWwZ/fBKtpmAjV2PnE1kvGmpFphowJq+xjFD9vZ3 IedMBj1o4YC3prYuskbMiLD73Ww7QC0EMlZnZ9yUTLJ/a5va0T5jBixstyQiuXjliDk= X-Gm-Gg: ASbGnctFqH+lKh0GPp70EMc8dkgelIkcu0jrEeUaYoXBnz3/rxM2DVkcFBe3vnrg0Cp aKbeuuCmisbSOFWAXjj/HwSNi5KndfJZstLXSy5AMQByqPTgyJyfLiAQ/HjS+MOSliTK/5gUMB2 UBkeCYCp17BuMMlBrHyam/1WsdtJROTm63XPSWXOc2TeKmLBWHufrSF8ZnWzo9GmsVekCBgl1u5 hZqnq77s8AH6o7qXeJy8exixNzrmq9F5frh4l9QjDW6ePzRe3Frqs0LGQfSAm55qxhqEc6lB5oN +sUxpfTTOqFuYqJvn476lYSFuoIqSIVz0SNoCkmMfZ4ZkBV6EFbL175JMw== X-Google-Smtp-Source: AGHT+IFrpg+Q8bUDAZ3ZY2cXTx7WowWVqfXMIf8DAS6NR2qmDcAVjJmiDMt79oCTODCrhI7JsZloZQ== X-Received: by 2002:a05:6e02:12c2:b0:3dd:9164:906a with SMTP id e9e14a558f8ab-3de07cc2091mr144104705ab.13.1750171956646; Tue, 17 Jun 2025 07:52:36 -0700 (PDT) Received: from [192.168.1.116] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3de01a4b379sm23864865ab.53.2025.06.17.07.52.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Jun 2025 07:52:36 -0700 (PDT) Message-ID: Date: Tue, 17 Jun 2025 08:52:35 -0600 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 0/5] io_uring cmd for tx timestamps To: Pavel Begunkov , io-uring@vger.kernel.org, Vadim Fedorenko Cc: netdev@vger.kernel.org, Eric Dumazet , Kuniyuki Iwashima , Paolo Abeni , Willem de Bruijn , "David S . Miller" , Jakub Kicinski , Richard Cochran , Stanislav Fomichev , Jason Xing References: Content-Language: en-US From: Jens Axboe In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/16/25 3:46 AM, Pavel Begunkov wrote: > Vadim Fedorenko suggested to add an alternative API for receiving > tx timestamps through io_uring. The series introduces io_uring socket > cmd for fetching tx timestamps, which is a polled multishot request, > i.e. internally polling the socket for POLLERR and posts timestamps > when they're arrives. For the API description see Patch 5. > > It reuses existing timestamp infra and takes them from the socket's > error queue. For networking people the important parts are Patch 1, > and io_uring_cmd_timestamp() from Patch 5 walking the error queue. > > It should be reasonable to take it through the io_uring tree once > we have consensus, but let me know if there are any concerns. Sounds like we're good to queue this up for 6.17? -- Jens Axboe