From: Jun Hu <hujun.work@gmail.com>
To: xdp-newbies@vger.kernel.org
Subject: AF_XDP socket TX path interact with TC?
Date: Thu, 21 Oct 2021 15:41:45 -0700 [thread overview]
Message-ID: <CAEM4-kAvwt3y9i=bEzPahMhj8Lfvg8oYBsQF_5LcGBmH0CvEpw@mail.gmail.com> (raw)
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...
HJ
next reply other threads:[~2021-10-21 22:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-21 22:41 Jun Hu [this message]
2021-10-25 10:48 ` AF_XDP socket TX path interact with TC? Toke Høiland-Jørgensen
2021-10-25 18:26 ` Jun Hu
2021-10-26 11:08 ` Konrad Zemek
2021-10-26 18:34 ` Jun Hu
2021-10-27 11:35 ` Toke Høiland-Jørgensen
2021-10-27 14:03 ` Jesper Dangaard Brouer
2021-10-27 15:48 ` Jun Hu
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='CAEM4-kAvwt3y9i=bEzPahMhj8Lfvg8oYBsQF_5LcGBmH0CvEpw@mail.gmail.com' \
--to=hujun.work@gmail.com \
--cc=xdp-newbies@vger.kernel.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).