[dpdk-dev] [PATCH v5 3/3] vhost: Add helper function to convert port id to virtio device pointer
yuanhan.liu at linux.intel.com
Thu Dec 17 12:47:50 CET 2015
On Tue, Nov 24, 2015 at 06:00:03PM +0900, Tetsuya Mukawa wrote:
> This helper function is used to convert port id to virtio device
> pointer. To use this function, a port should be managed by vhost PMD.
> After getting virtio device pointer, it can be used for calling vhost
> library APIs.
I'm thinking why is that necessary. I mean, hey, can we simply treat
it as a normal pmd driver, and don't consider any vhost lib functions
any more while using vhost pmd?
More information about the dev