Re: [RFC bpf-next 5/7] net: add busy-poll support for XDP sockets

2019-05-02 Thread Samudrala, Sridhar
On 5/2/2019 1:39 AM, Magnus Karlsson wrote: This patch adds busy-poll support for XDP sockets (AF_XDP). With busy-poll, the driver is executed in process context by calling the poll() syscall. The main advantage with this is that all processing occurs on a single core. This eliminates the core

[RFC bpf-next 5/7] net: add busy-poll support for XDP sockets

2019-05-02 Thread Magnus Karlsson
This patch adds busy-poll support for XDP sockets (AF_XDP). With busy-poll, the driver is executed in process context by calling the poll() syscall. The main advantage with this is that all processing occurs on a single core. This eliminates the core-to-core cache transfers that occur between the a