On Mon, Oct 25, 2021 at 3:48 AM Toke Høiland-Jørgensen <toke@xxxxxxxxxx> wrote: > > Jun Hu <hujun.work@xxxxxxxxx> writes: > > > Hi, > > I want to put a timestamp in the egress packets, and I want to use > > AF_XDP socket for both sending and receiving packets; since a XDP > > kernel program only work in ingress direction, I wonder if I could use > > a tc kernel program to change a packet sent out via an AF_XDP socket? > > I searched around, but couldn't find any direct answer... > > Nope, AF_XDP bypasses the stack completely, so TC won't see the packet > on egress... > > -Toke Ok, thanks for the clarification, I guess I have to wait for the XDP egress support ...