Re: [dpdk-dev] [PATCH v5 2/5] vhost: support selective datapath

2018-04-16 Thread Maxime Coquelin
On 04/15/2018 07:39 PM, Thomas Monjalon wrote: 03/04/2018 10:02, Maxime Coquelin: On 04/02/2018 01:46 PM, Zhihong Wang wrote: lib/librte_vhost/Makefile | 4 +- lib/librte_vhost/rte_vdpa.h| 87 + lib/librte_vhost/rte_vhost_version.map

Re: [dpdk-dev] [PATCH v5 2/5] vhost: support selective datapath

2018-04-15 Thread Thomas Monjalon
03/04/2018 10:02, Maxime Coquelin: > On 04/02/2018 01:46 PM, Zhihong Wang wrote: > > lib/librte_vhost/Makefile | 4 +- > > lib/librte_vhost/rte_vdpa.h| 87 + > > lib/librte_vhost/rte_vhost_version.map | 7 ++ > > lib/librte_vhost/vdpa.c

Re: [dpdk-dev] [PATCH v5 2/5] vhost: support selective datapath

2018-04-03 Thread Wang, Zhihong
> -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Tuesday, April 3, 2018 4:19 PM > To: Wang, Zhihong ; dev@dpdk.org > Cc: Tan, Jianfeng ; Bie, Tiwei ; > y...@fridaylinux.org; Liang, Cunming ; Wang, Xiao > W ; Daly, Dan > Subject: Re: [PATCH v5 2/5]

Re: [dpdk-dev] [PATCH v5 2/5] vhost: support selective datapath

2018-04-03 Thread Maxime Coquelin
On 04/02/2018 01:46 PM, Zhihong Wang wrote: +int +rte_vdpa_register_device(struct rte_vdpa_dev_addr *addr, + struct rte_vdpa_dev_ops *ops) +{ + struct rte_vdpa_device *dev; + char device_name[MAX_VDPA_NAME_LEN]; + int i; + + if (vdpa_device_num >= MAX_VHOST

Re: [dpdk-dev] [PATCH v5 2/5] vhost: support selective datapath

2018-04-03 Thread Maxime Coquelin
On 04/02/2018 01:46 PM, Zhihong Wang wrote: This patch set introduces support for selective datapath in DPDK vhost-user lib. vDPA stands for vhost Data Path Acceleration. The idea is to support virtio ring compatible devices to serve virtio driver directly to enable datapath acceleration. A se

[dpdk-dev] [PATCH v5 2/5] vhost: support selective datapath

2018-04-02 Thread Zhihong Wang
This patch set introduces support for selective datapath in DPDK vhost-user lib. vDPA stands for vhost Data Path Acceleration. The idea is to support virtio ring compatible devices to serve virtio driver directly to enable datapath acceleration. A set of device ops is defined for device specific o