Re: Redirect from NIC to TAP

David Ahern <[email protected]>
Newsgroups org.kernel.vger.xdp-newbies
Message-ID <[email protected]>
On 2/9/21 2:41 AM, Maciej Fijalkowski wrote:
> On Tue, Feb 09, 2021 at 11:26:06AM +0200, Radu Stoenescu wrote:
>> Hello
>>
>> My physical NIC is a Netronome (I can come back with exact model type
>> and driver version).
>>
>> Redirect NIC to TAP doesn't work when XDP is attached in driver mode.
>> It works when they are both in generic mode. I haven't tried other
>> combinations of attachment modes (one driver, other generic etc.).
> 

If the driver supports XDP_REDIRECT, it does work.

Take a look at this slide deck for gotcha's with this use case:

https://netdevconf.info/0x14/pub/slides/24/netdev-0x14-XDP-and-the-cloud.pdf
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.