Re: [ovs-dev] [PATCHv4] netdev-afxdp: Add need_wakeup supprt.

2019-09-25 Thread William Tu
On Tue, Sep 24, 2019 at 7:48 AM Ilya Maximets wrote: > > Hi. > Thanks for a new version. > > Comments inline. Hi Ilya, Thanks for your feedback. > > static struct xsk_socket_info * > > -xsk_configure(int ifindex, int xdp_queue_id, int xdpmode) > > +xsk_configure(int ifindex, int

Re: [ovs-dev] [PATCHv4] netdev-afxdp: Add need_wakeup supprt.

2019-09-24 Thread Ilya Maximets
Hi. Thanks for a new version. Comments inline. Best regards, Ilya Maximets. On 17.09.2019 21:36, William Tu wrote: The patch adds support for using need_wakeup flag in AF_XDP rings. A new option, use_need_wakeup, is added. When this option is used, it means that OVS has to explicitly wake up

Re: [ovs-dev] [PATCHv4] netdev-afxdp: Add need_wakeup supprt.

2019-09-18 Thread Eelco Chaudron
On 17 Sep 2019, at 20:36, William Tu wrote: > The patch adds support for using need_wakeup flag in AF_XDP rings. > A new option, use_need_wakeup, is added. When this option is used, > it means that OVS has to explicitly wake up the kernel RX, using poll() > syscall and wake up TX, using

[ovs-dev] [PATCHv4] netdev-afxdp: Add need_wakeup supprt.

2019-09-17 Thread William Tu
The patch adds support for using need_wakeup flag in AF_XDP rings. A new option, use_need_wakeup, is added. When this option is used, it means that OVS has to explicitly wake up the kernel RX, using poll() syscall and wake up TX, using sendto() syscall. This feature improves the performance by