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

Maxime Coquelin maxime.coquelin at redhat.com
Tue Oct 18 15:15:05 CEST 2022



On 10/18/22 14:07, Andy Pei wrote:
> Add type to rte_vdpa_device to store device type.
> Call vdpa ops get_dev_type to fill type when register
> vdpa device.
> 
> Signed-off-by: Andy Pei <andy.pei at intel.com>
> ---
>   lib/vhost/socket.c      | 15 +--------------
>   lib/vhost/vdpa.c        | 15 +++++++++++++++
>   lib/vhost/vdpa_driver.h |  2 ++
>   3 files changed, 18 insertions(+), 14 deletions(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks for doing the change!
Maxime



More information about the dev mailing list