XDP hardware hints discussion mail archive
 help / color / mirror / Atom feed
* Re: AF_XDP socket TX path interact with TC?
       [not found]           ` <ee690d7f-322f-ab51-2c13-06919c10d3ad@redhat.com>
@ 2021-10-27 15:48             ` Jun Hu
  0 siblings, 0 replies; only message in thread
From: Jun Hu @ 2021-10-27 15:48 UTC (permalink / raw)
  To: Jesper Dangaard Brouer
  Cc: Toke Høiland-Jørgensen, Konrad Zemek, brouer,
	xdp-newbies, xdp-hints, Freysteinn Alfredsson

> What is your use-case for adding a TX-timestamp to the packet?
>
> --Jesper
my use case is rather simple, I want to use AF_XDP for traffic tester
type of application, essentially, this application generates testing
traffic, egress via NIC-1, goes into a DUT, and DUT forward the
traffic back into NIC-2, the application need to measure the DUT's
forwarding latency for each packet, so it needs to know the timestamp
of test traffic TX on NIC-1 and RX on NIC-2

                  +-----+
|---------------- | DUT |----------------|
|                 +-----+                |
|                                        |
|          +-------------------+         |
|  <-----  |                   |  <----  |
+----------|NIC-1        NIC-2 |---------+
           |                   |
           +-------------------+

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-27 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAEM4-kAvwt3y9i=bEzPahMhj8Lfvg8oYBsQF_5LcGBmH0CvEpw@mail.gmail.com>
     [not found] ` <875ytlcrdi.fsf@toke.dk>
     [not found]   ` <CAEM4-kBWUK=BatL+CguHyey9S8Fb4dSD0-CvbvVT+JtaAn_sng@mail.gmail.com>
     [not found]     ` <oM1Y-n6UaYUi_6m-lAXmxeqxarfyIBRoZcEpq5WObujvHCCFRZZNwjrBIn0ycTo5oevKJvw6JtlR2UeE2qqzwtKV_QNrpxHBfFgJ_EQLdfQ=@zemek.io>
     [not found]       ` <CAEM4-kBho+aUNNSAoGWWF-Ou=2QC+7b6OD6m+JixOHCcye9RFw@mail.gmail.com>
     [not found]         ` <87pmrqaeep.fsf@toke.dk>
     [not found]           ` <ee690d7f-322f-ab51-2c13-06919c10d3ad@redhat.com>
2021-10-27 15:48             ` AF_XDP socket TX path interact with TC? Jun Hu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox