On Mon, Jun 17, 2019 at 9:42 AM Xiaolong Ye <xiaolong...@intel.com> wrote:
> This patch adds a new devarg to support the need_wakeup flag for Tx and > fill rings, when this flag is set by the driver, it means that the > userspace application has to explicitly wake up the kernel Rx or kernel Tx > processing by issuing a syscall. Poll() can wake up both and sendto() or > its alternatives will wake up Tx processing only. > > This feature is to provide efficient support for case that application and > driver are executing on the same core. > > Signed-off-by: Xiaolong Ye <xiaolong...@intel.com> > --- > > Original busy poll feature has morphed into need_wakeup flag in > kernel side, the main purpose is the same, that is to support both > application and driver executing on the same core efficiently. > > kernel side patchset can be found at netdev mailing list. > > https://lore.kernel.org/netdev/CAJ8uoz2szX=+jxxamyuvmvssmxzudqp6a8rjdqptioxbzwx...@mail.gmail.com/T/#t > > It is targeted for v5.3 > - Is this really optional? Adding too many options is just a nightmare later... - I suppose this will break compilation with kernels that have af_xdp but are < 5.3. -- David Marchand