On Tue 2 Jun, 2020, 14:31 Toke Høiland-Jørgensen, <toke@xxxxxxxxxx> wrote: > > maharishi bhargava <bhargavamaharishi@xxxxxxxxx> writes: > > > Hi, in my XDP program, I want to redirect some packets using AF_XDP > > and redirect other packets directly from driver space. > > Redirection through AF_XDP works fine, but redirection through dev map > > stops after some packets are processed. > > Do you mean it stops even if you are *only* redirecting to a devmap, or > if you are first redirecting a few packets to AF_XDP, then to devmap? > > Also, which driver(s) are the physical NICs you're redirecting to/from > using, and which kernel version are you on? > > -Toke Currently, I'm trying to redirect packets only using devmap. But also have code for redirection using AF_XDP(only when a given condition is satisfied). A DPDK program is running in userspace which will receive packets from AF_XDP. Drivers: ixgbe (2x10GbE Intel NIC) Kernel version 5.3 - Maharishi Bhargava