Hi Jason,
Ok, just want to show its advantages. It can be added on top.
And two more suggestions:
- better to split tap support out of vhost file
Good suggestion! Will do that in next version.
- kernel support more than 8 queues on recent kernel, so there's no
need to limit it to 8. When running on old kernel, TUNSETIFF will fail
which can give user a hint to reduce #queues.
After a try, even we remove such restriction in vhost_kernel backend, we
are still restricted by VIRTIO_MAX_VIRTQUEUES (8) defined in virtio PMD.
Thanks for the suggestions!
Jianfeng