Netdev List
 help / color / mirror / Atom feed
From: "Abhishek Chauhan (ABC)" <quic_abchauha@quicinc.com>
To: Paolo Abeni <pabeni@redhat.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, <netdev@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,
	Andrew Halaney <ahalaney@redhat.com>,
	Willem de Bruijn <willemdebruijn.kernel@gmail.com>,
	Martin KaFai Lau <martin.lau@kernel.org>,
	Martin KaFai Lau <martin.lau@linux.dev>
Cc: <kernel@quicinc.com>
Subject: Re: [PATCH net-next v2] net: Modify mono_delivery_time with clockid_delivery_time
Date: Thu, 29 Feb 2024 15:15:04 -0800	[thread overview]
Message-ID: <a43feb58-5fa2-4b39-8aa1-04085cd5a8d6@quicinc.com> (raw)
In-Reply-To: <2fc6a4f7ea0308626cfd06d95564486d187b16e0.camel@redhat.com>



On 2/29/2024 1:30 AM, Paolo Abeni wrote:
> 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.
>>
>> Existing functionality of mono_delivery_time is not altered here
>> instead just extended with userspace tstamp support for bridge
>> forwarding path.
>>
>> Signed-off-by: Abhishek Chauhan <quic_abchauha@quicinc.com>
> 
> Since this is touching a quite sensitive code path, I think v3 would
> deserve some paired self-tests.
> 

I did verify the existing so_txtime selftest for the same which does FQ 
and ETF tests which sends/recieve packets with both mono and tai clocks. 

OK. All tests passed (so_txtime.sh) 
Sometimes i saw resource temporarily unavailable in RX which i believe is a 
known issue 
https://www.mail-archive.com/linux-kselftest@vger.kernel.org/msg06792.html

Along with this i also did mqprio + etf offload testing on internal platform. 
1. iperf3 best effort testing UDP/TCP 
2. Sent ETF packets from userspace application just like so_txtime.c but 
with SO_PRIORITY and added dumpstack to check the flow of packets. I saw no
issues on internal platform.  
3. I will mention all the testing in Tx/Rx path done for v3 patch. 

> Thanks!
> 
> Paolo
> 

  reply	other threads:[~2024-02-29 23:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28  1:12 [PATCH net-next v2] net: Modify mono_delivery_time with clockid_delivery_time Abhishek Chauhan
2024-02-28 15:53 ` Willem de Bruijn
2024-02-28 20:03   ` Abhishek Chauhan (ABC)
2024-02-28 20:14     ` Willem de Bruijn
2024-02-28 21:53       ` Abhishek Chauhan (ABC)
2024-02-29  0:09         ` Willem de Bruijn
2024-02-29  0:13           ` Abhishek Chauhan (ABC)
2024-02-29  3:06   ` Martin KaFai Lau
2024-02-29 14:44     ` Willem de Bruijn
2024-02-29 23:00       ` Abhishek Chauhan (ABC)
2024-02-29  9:30 ` Paolo Abeni
2024-02-29 23:15   ` Abhishek Chauhan (ABC) [this message]
2024-02-29 14:40 ` Andrew Halaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a43feb58-5fa2-4b39-8aa1-04085cd5a8d6@quicinc.com \
    --to=quic_abchauha@quicinc.com \
    --cc=ahalaney@redhat.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kernel@quicinc.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.lau@kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=willemdebruijn.kernel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox