[PATCH net-next v8 3/7] net: vhost: factor out busy polling logic to vhost_net_busy_poll()

2018-08-19 Thread xiangxia . m . yue
From: Tonghao Zhang Factor out generic busy polling logic and will be used for in tx path in the next patch. And with the patch, qemu can set differently the busyloop_timeout for rx queue. To avoid duplicate codes, introduce the helper functions: * sock_has_rx_data(changed from sk_has_rx_data) *

Re: [PATCH net-next v8 3/7] net: vhost: factor out busy polling logic to vhost_net_busy_poll()

2018-08-20 Thread Jason Wang
On 2018年08月19日 20:11, xiangxia.m@gmail.com wrote: From: Tonghao Zhang Factor out generic busy polling logic and will be used for in tx path in the next patch. And with the patch, qemu can set differently the busyloop_timeout for rx queue. To avoid duplicate codes, introduce the helper fu

Re: [PATCH net-next v8 3/7] net: vhost: factor out busy polling logic to vhost_net_busy_poll()

2018-09-09 Thread Tonghao Zhang
On Tue, Aug 21, 2018 at 11:15 AM Jason Wang wrote: > > > > On 2018年08月19日 20:11, xiangxia.m@gmail.com wrote: > > From: Tonghao Zhang > > > > Factor out generic busy polling logic and will be > > used for in tx path in the next patch. And with the patch, > > qemu can set differently the busylo