Re: Sending A Separate Packet Out The TX Path In XDP

Toke Høiland-Jørgensen <[email protected]>
Newsgroups org.kernel.vger.xdp-newbies
Message-ID <[email protected]>
Christian Deacon <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.