Re: [ovs-dev] [PATCH] netdev-afxdp: Add interrupt mode using poll syscall.

2020-02-27 Thread Ilya Maximets
On 2/26/20 10:18 PM, William Tu wrote: > On Mon, Feb 24, 2020 at 5:31 PM William Tu wrote: >> >> On Mon, Feb 24, 2020 at 2:47 AM Ilya Maximets wrote: >>> >>> On 2/21/20 9:24 PM, William Tu wrote: The patch adds a new option 'use-intr' to enable afxdp interrupt mode. At receive path, ad

Re: [ovs-dev] [PATCH] netdev-afxdp: Add interrupt mode using poll syscall.

2020-02-26 Thread William Tu
On Mon, Feb 24, 2020 at 5:31 PM William Tu wrote: > > On Mon, Feb 24, 2020 at 2:47 AM Ilya Maximets wrote: > > > > On 2/21/20 9:24 PM, William Tu wrote: > > > The patch adds a new option 'use-intr' to enable afxdp interrupt > > > mode. At receive path, add a poll() syscall so that when there > >

Re: [ovs-dev] [PATCH] netdev-afxdp: Add interrupt mode using poll syscall.

2020-02-24 Thread William Tu
On Mon, Feb 24, 2020 at 2:47 AM Ilya Maximets wrote: > > On 2/21/20 9:24 PM, William Tu wrote: > > The patch adds a new option 'use-intr' to enable afxdp interrupt > > mode. At receive path, add a poll() syscall so that when there > > is no packet arrived, the pmd thread will be blocked and this

Re: [ovs-dev] [PATCH] netdev-afxdp: Add interrupt mode using poll syscall.

2020-02-24 Thread Ilya Maximets
On 2/21/20 9:24 PM, William Tu wrote: > The patch adds a new option 'use-intr' to enable afxdp interrupt > mode. At receive path, add a poll() syscall so that when there > is no packet arrived, the pmd thread will be blocked and this > saves some CPU time for other processes. This avoids burning t

[ovs-dev] [PATCH] netdev-afxdp: Add interrupt mode using poll syscall.

2020-02-21 Thread William Tu
The patch adds a new option 'use-intr' to enable afxdp interrupt mode. At receive path, add a poll() syscall so that when there is no packet arrived, the pmd thread will be blocked and this saves some CPU time for other processes. This avoids burning the CPU to always 100% when there is no traffic