[prev in list] [next in list] [prev in thread] [next in thread]
List: xdp-newbies
Subject: Re: XDP_PASS and XDP_REDIRECT
From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= <toke () redhat ! com>
Date: 2020-05-18 18:02:08
Message-ID: 87eerhnmu7.fsf () toke ! dk
[Download RAW message or body]
"Main, George" <mainge@rose-hulman.edu> writes:
> Hello All,
>
> I am working on an XDP Content Based Router project. The basic concept
> is that a machine running an XDP program acts as a gateway and accepts
> TCP connections from outside machines. Upon receiving a message it
> converts the packet to UDP and uses bpf_redirect_map to send the
> packet out through another interface.
>
> The problem I am encountering is that I want to be able to pass the
> message to userspace (where the TCP server resides) using XDP_PASS in
> addition to the redirect. I'm somewhat looking for a way to emulate
> the functionality of bpf_clone_redirect, but with support for XDP
> driver mode.
>
> Is this even possible right now? Are there any workarounds?
I am not sure I quite understand what it is you're trying to do, but no,
there is currently no way to get more than a single action for the same
packet.
-Toke
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic