* 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