diff options
author | Tonghao Zhang <xiangxia.m.yue@gmail.com> | 2018-09-25 05:36:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-26 20:25:55 -0700 |
commit | dc151282bbdaed08e62f5c34c4842331d54b4628 (patch) | |
tree | 010fc596904f11a5cf9caa4bcc16d9804248e2d2 /drivers/mfd/fsl-imx25-tsadc.c | |
parent | a6a67a2f343c613752165101208bd096b0bba6e1 (diff) |
net: vhost: factor out busy polling logic to vhost_net_busy_poll()
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)
* vhost_net_busy_poll_try_queue
Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mfd/fsl-imx25-tsadc.c')
0 files changed, 0 insertions, 0 deletions