> On Nov 14, 2023, at 18:23, Mingjin Ye <mingjinx...@intel.com> wrote: > > External email: Use caution opening links or attachments > > > This patch adds an API to support getting device information. > > The driver can use the "rte_vfio_get_device_info" helper to get > device information from EAL. > > Cc: sta...@dpdk.org
No stable Please explain why this api is needed in your use case. Taking this with the use-case patch could be more clear. Thanks, Chenbo > > Signed-off-by: Mingjin Ye <mingjinx...@intel.com> > --- > lib/eal/include/rte_vfio.h | 26 ++++++++++++++++++++++++++ > lib/eal/linux/eal_vfio.c | 19 +++++++++++++++++++ > lib/eal/version.map | 3 +++ > 3 files changed, 48 insertions(+)