summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm
diff options
context:
space:
mode:
authorTonghao Zhang <xiangxia.m.yue@gmail.com>2018-09-25 14:36:51 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-27 05:25:55 +0200
commitdc151282bbdaed08e62f5c34c4842331d54b4628 (patch)
tree010fc596904f11a5cf9caa4bcc16d9804248e2d2 /drivers/nvdimm
parentnet: vhost: replace magic number of lock annotation (diff)
downloadlinux-dc151282bbdaed08e62f5c34c4842331d54b4628.tar.xz
linux-dc151282bbdaed08e62f5c34c4842331d54b4628.zip
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/nvdimm')
0 files changed, 0 insertions, 0 deletions