[PATCH] vfio: add get device info API
Chenbo Xia
chenbox at nvidia.com
Wed Nov 15 07:13:58 CET 2023
> On Nov 14, 2023, at 18:23, Mingjin Ye <mingjinx.ye at 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: stable at 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.ye at 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(+)
More information about the dev
mailing list