> -----Original Message----- > From: Pei, Andy <andy....@intel.com> > Sent: Monday, May 23, 2022 5:35 PM > To: dev@dpdk.org > Cc: Xia, Chenbo <chenbo....@intel.com>; maxime.coque...@redhat.com; Cao, > Gang <gang....@intel.com>; Liu, Changpeng <changpeng....@intel.com>; Xu, > Rosen <rosen...@intel.com>; Xiao, QimaiX <qimaix.x...@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....@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....@intel.com>