[Intel-wired-lan] [PATCH bpf-next v4 3/8] i40e: add support for AF_XDP need_wakeup feature

Jonathan Lemon jonathan.lemon at gmail.com
Wed Aug 14 15:41:29 UTC 2019


On 14 Aug 2019, at 0:27, Magnus Karlsson wrote:

> This patch adds support for the need_wakeup feature of AF_XDP. If the
> application has told the kernel that it might sleep using the new bind
> flag XDP_USE_NEED_WAKEUP, the driver will then set this flag if it has
> no more buffers on the NIC Rx ring and yield to the application. For
> Tx, it will set the flag if it has no outstanding Tx completion
> interrupts and return to the application.
>
> Signed-off-by: Magnus Karlsson <magnus.karlsson at intel.com>

Acked-by: Jonathan Lemon <jonathan.lemon at gmail.com>


More information about the Intel-wired-lan mailing list