[PATCH v9 07/13] vhost: add API to get vDPA device type
Xia, Chenbo
chenbo.xia at intel.com
Tue May 24 05:01:48 CEST 2022
> -----Original Message-----
> From: Pei, Andy <andy.pei at intel.com>
> Sent: Monday, May 23, 2022 5:35 PM
> To: dev at dpdk.org
> Cc: Xia, Chenbo <chenbo.xia at intel.com>; maxime.coquelin at redhat.com; Cao,
> Gang <gang.cao at intel.com>; Liu, Changpeng <changpeng.liu at intel.com>; Xu,
> Rosen <rosen.xu at intel.com>; Xiao, QimaiX <qimaix.xiao at intel.com>
> Subject: [PATCH v9 07/13] vhost: add API to get vDPA device type
>
> Vhost backend of different devices have different features.
> Add an API to get vDPA device type, net device or blk device
> currently, so users can set different features for different
> kinds of devices.
>
> Signed-off-by: Andy Pei <andy.pei at intel.com>
> ---
> doc/guides/prog_guide/vhost_lib.rst | 5 ++++
> doc/guides/rel_notes/release_22_07.rst | 4 ++++
> lib/vhost/rte_vhost.h | 17 +++++++++++++
> lib/vhost/socket.c | 44
> ++++++++++++++++++++++++++++++++++
> lib/vhost/vdpa_driver.h | 3 +++
> lib/vhost/version.map | 1 +
> 6 files changed, 74 insertions(+)
Reviewed-by: Chenbo Xia <chenbo.xia at intel.com>
More information about the dev
mailing list