Re: AF_XDP socket TX path interact with TC?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: AF_XDP socket TX path interact with TC?
- From: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>
- Date: Mon, 25 Oct 2021 12:48:09 +0200
- In-reply-to: <CAEM4-kAvwt3y9i=bEzPahMhj8Lfvg8oYBsQF_5LcGBmH0CvEpw@mail.gmail.com>
- References: <CAEM4-kAvwt3y9i=bEzPahMhj8Lfvg8oYBsQF_5LcGBmH0CvEpw@mail.gmail.com>
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
[Index of Archives]
[Linux Networking Development]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite Campsites]