git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
273ecdb
)
examples/vhost: clean switch worker
author
Yuanhan Liu
<yuanhan.liu@linux.intel.com>
Mon, 2 May 2016 21:23:49 +0000
(14:23 -0700)
committer
Yuanhan Liu
<yuanhan.liu@linux.intel.com>
Tue, 10 May 2016 18:22:40 +0000
(20:22 +0200)
switch_worker() is the last piece of code that is messy yet it touches
virtio/vhost device.
Here do a cleanup, so that we will be less painful for later vhost ABI
refactoring.
The cleanup is straight forward: break long lines, move some code into
functions. The last, comment a bit on switch_worker().
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
No differences found