Re: Redirect from NIC to TAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.).

Thanks

On Tue, Feb 9, 2021 at 11:21 AM Jesper Dangaard Brouer
<brouer@xxxxxxxxxx> wrote:
>
> On Tue, 9 Feb 2021 10:31:50 +0200
> Radu Stoenescu <radu.stoe@xxxxxxxxx> wrote:
>
> > Is it possible to redirect packets from XDP program attached in driver
> > mode to a physical NIC to a TAP interface?
>
> Cc. Jason Wang as I think he implemented this, but I'm not 100% sure.
> Maybe Jason can remember?
> (or point me to the relevant code that I can check).
>
> > The same works fine if the XDP programs are attached in generic mode.
>
> So, you have tried and it doesn't work.
>
> What is your setup?
>
> --
> Best regards,
>   Jesper Dangaard Brouer
>   MSc.CS, Principal Kernel Engineer at Red Hat
>   LinkedIn: http://www.linkedin.com/in/brouer
>


-- 
Radu Stoenescu



[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux