[dpdk-dev] [PATCH 2/6] vhost: add vhost-user client mode

2016-05-09 Thread Michael S. Tsirkin
ing server/client mode seems easy enough. > > - Original Message - > > > From: "Yuanhan Liu" > > > To: dev at dpdk.org > > > Cc: "huawei xie" , "Yuanhan Liu" > > linux.intel.com> > > > Sent: Saturday, May

[dpdk-dev] [PATCH 2/6] vhost: add vhost-user client mode

2016-05-09 Thread Yuanhan Liu
n into server, it simply doesn't work then. --yliu > - Original Message - > > From: "Yuanhan Liu" > > To: dev at dpdk.org > > Cc: "huawei xie" , "Yuanhan Liu" > linux.intel.com> > > Sent: Saturday, May 7, 2016

[dpdk-dev] [PATCH 2/6] vhost: add vhost-user client mode

2016-05-09 Thread Victor Kaplansky
> To: dev at dpdk.org > Cc: "huawei xie" , "Yuanhan Liu" linux.intel.com> > Sent: Saturday, May 7, 2016 9:40:20 AM > Subject: [dpdk-dev] [PATCH 2/6] vhost: add vhost-user client mode > > Add a new paramter (flags) to rte_vhost_driver_register(). DPDK > vhost

[dpdk-dev] [PATCH 2/6] vhost: add vhost-user client mode

2016-05-06 Thread Yuanhan Liu
Add a new paramter (flags) to rte_vhost_driver_register(). DPDK vhost-user acts as client mode when RTE_VHOST_USER_CLIENT flag is set. The flags would also allow future extensions without breaking the API (again). The rest is straingfoward then: allocate a unix socket, and bind/listen for server,