Thanks a lot for the info. In retrospect, was there a way I could reach this conclusion myself (no driver support)? I'm asking this since I'm relatively new to the environment and we run various NICs from various vendors, and I would like to know how to perform the "due diligence" myself before reaching out? Best Radu On Thu, Feb 18, 2021 at 12:12 PM Simon Horman <simon.horman@xxxxxxxxxxxxx> wrote: > > Hi Maciej, Hi Radu, > > On Tue, Feb 09, 2021 at 10:41:37AM +0100, 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.). > > > > Looks like Netronome driver still doesn't support XDP_REDIRECT in native > > mode. > > > > CC: Simon > > Sorry for the delay, I was on vacation. > > > Simon, any plans on adding support for redirect? > > Sorry (again), there are no immediate plans to add this feature > to the driver. > > > > 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 -- Radu Stoenescu