On Wed, 10 Feb 2021 11:42:10 +0800 Jason Wang <jasowang@xxxxxxxxxx> wrote: > On 2021/2/9 下午5:26, 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.). > > > It should work. I tested with i40e/ixgbe/mlx4 in the past. > > What eBPF program did you use? (Is it the one in samples/bpf?) > > I would test it by myself. > > (It's near to spring festival, so I can only check after the holiday). As Maciej Fijalkowski pointed out: "Looks like Netronome driver still doesn't support XDP_REDIRECT in native mode." So, that is likely the problem. -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer