RE: [PATCH v7 10/12] vhost: add vdpa device type to rte vdpa device

2022-10-19 Thread Pei, Andy
d vdpa device type to rte vdpa device > > > -Original Message- > > From: Pei, Andy > > Sent: Tuesday, October 18, 2022 2:20 PM > > To: dev@dpdk.org > > Cc: Xia, Chenbo ; Xu, Rosen > > ; Huang, Wei ; Cao, Gang > > ; maxime.coque...@redhat.com >

RE: [PATCH v7 10/12] vhost: add vdpa device type to rte vdpa device

2022-10-19 Thread Xia, Chenbo
> -Original Message- > From: Pei, Andy > Sent: Tuesday, October 18, 2022 2:20 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; Xu, Rosen ; > Huang, Wei ; Cao, Gang ; > maxime.coque...@redhat.com > Subject: [PATCH v7 10/12] vhost: add vdpa device type to rte vdpa device &

RE: [PATCH v7 10/12] vhost: add vdpa device type to rte vdpa device

2022-10-18 Thread Pei, Andy
g, Wei ; Cao, Gang > Subject: Re: [PATCH v7 10/12] vhost: add vdpa device type to rte vdpa device > > > > On 10/18/22 08:19, Andy Pei wrote: > > Add vdpa_device_type to rte_vdpa_device to store device type. > > Call vdpa ops get_dev_type to fill vdpa_device_type when register

Re: [PATCH v7 10/12] vhost: add vdpa device type to rte vdpa device

2022-10-18 Thread Maxime Coquelin
On 10/18/22 08:19, Andy Pei wrote: Add vdpa_device_type to rte_vdpa_device to store device type. Call vdpa ops get_dev_type to fill vdpa_device_type when register vdpa device. Signed-off-by: Andy Pei --- lib/vhost/socket.c | 15 +-- lib/vhost/vdpa.c| 17 ++

[PATCH v7 10/12] vhost: add vdpa device type to rte vdpa device

2022-10-17 Thread Andy Pei
Add vdpa_device_type to rte_vdpa_device to store device type. Call vdpa ops get_dev_type to fill vdpa_device_type when register vdpa device. Signed-off-by: Andy Pei --- lib/vhost/socket.c | 15 +-- lib/vhost/vdpa.c| 17 + lib/vhost/vdpa_driver.h | 2 ++