From: "Toke Høiland-Jørgensen" <toke@redhat.com>
To: Christian Deacon <gamemann@gflclan.com>, xdp-newbies@vger.kernel.org
Subject: Re: Sending A Separate Packet Out The TX Path In XDP
Date: Tue, 27 Apr 2021 22:14:56 +0200 [thread overview]
Message-ID: <87wnsn8oxr.fsf@toke.dk> (raw)
In-Reply-To: <d153ed73-3a46-cbf9-c9b7-947926083027@gflclan.com>
Christian Deacon <gamemann@gflclan.com> writes:
> Hey everyone,
>
>
> I had a quick question. Is it possible to send a packet separate from
> the original out of the TX path within an XDP program? I would imagine
> this isn't possible, but I just wanted to make sure.
Not from within XDP, no...
> If this isn't possible within the XDP program itself, is it possible to
> do this with AF_XDP sockets or can AF_XDP sockets only handle packets
> redirected via the fast-path XDP creates? I wasn't sure if I'd need to
> make another Linux socket inside of the AF_XDP program in this case to
> send a separate packet out.
...but AF_XDP sockets can send whatever you want :)
-Toke
next prev parent reply other threads:[~2021-04-27 20:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-27 19:57 Sending A Separate Packet Out The TX Path In XDP Christian Deacon
2021-04-27 20:14 ` Toke Høiland-Jørgensen [this message]
2021-04-28 16:28 ` Christian Deacon
2021-04-29 9:27 ` Toke Høiland-Jørgensen
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=87wnsn8oxr.fsf@toke.dk \
--to=toke@redhat.com \
--cc=gamemann@gflclan.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