Re: [dpdk-dev] [PATCH v3 18/22] vhost: introduce API to start a specific driver

2017-03-31 Thread Maxime Coquelin
On 03/28/2017 02:45 PM, Yuanhan Liu wrote: We used to use rte_vhost_driver_session_start() to trigger the vhost-user session. It takes no argument, thus it's a global trigger. And it could be problematic. The issue is, currently, rte_vhost_driver_register(path, flags) actually tries to put it

[dpdk-dev] [PATCH v3 18/22] vhost: introduce API to start a specific driver

2017-03-28 Thread Yuanhan Liu
We used to use rte_vhost_driver_session_start() to trigger the vhost-user session. It takes no argument, thus it's a global trigger. And it could be problematic. The issue is, currently, rte_vhost_driver_register(path, flags) actually tries to put it into the session loop (by fdset_add). However,