[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240913214648.5be02ed3@kernel.org>
Date: Fri, 13 Sep 2024 21:46:48 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Vadim Fedorenko <vadfed@...a.com>
Cc: Vadim Fedorenko <vadim.fedorenko@...ux.dev>, Willem de Bruijn
<willemb@...gle.com>, Paolo Abeni <pabeni@...hat.com>, David Ahern
<dsahern@...nel.org>, Jason Xing <kerneljasonxing@...il.com>, Simon Horman
<horms@...nel.org>, <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next v5 0/3] Add option to provide OPT_ID value via
cmsg
On Wed, 11 Sep 2024 02:13:30 -0700 Vadim Fedorenko wrote:
> SOF_TIMESTAMPING_OPT_ID socket option flag gives a way to correlate TX
> timestamps and packets sent via socket. Unfortunately, there is no way
> to reliably predict socket timestamp ID value in case of error returned
> by sendmsg. For UDP sockets it's impossible because of lockless
> nature of UDP transmit, several threads may send packets in parallel. In
> case of RAW sockets MSG_MORE option makes things complicated. More
> details are in the conversation [1].
> This patch adds new control message type to give user-space
> software an opportunity to control the mapping between packets and
> values by providing ID with each sendmsg.
Does not apply to net-next any more, sorry :(
--
pw-bot: cr
Powered by blists - more mailing lists