On 11/14/2023 11:48 AM, Mingjin Ye wrote:
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
Signed-off-by: Mingjin Ye
---
lib/eal/include/rte_vfio.h | 26
On Wed, 15 Nov 2023 07:54:20 +
"Ye, MingjinX" wrote:
> > > +int
> > > +rte_vfio_get_device_info(const char *sysfs_base, const char *dev_addr,
> > > + int *vfio_dev_fd, struct vfio_device_info
> > *device_info);
> >
> > New api's must be experimental.
> > Or is this just int
ngjinX
> Cc: dev@dpdk.org; Yang, Qiming ;
> sta...@dpdk.org; Burakov, Anatoly
> Subject: Re: [PATCH] vfio: add get device info API
>
> On Tue, 14 Nov 2023 10:48:16 +
> Mingjin Ye wrote:
>
> > +/**
> > + * Get device information
> > + *
> > +
> On Nov 14, 2023, at 18:23, Mingjin Ye 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...@d
On Tue, 14 Nov 2023 10:48:16 +
Mingjin Ye wrote:
> +/**
> + * Get device information
> + *
> + * This function is only relevant to linux and will return
> + * an error on BSD.
> + *
> + * @param sysfs_base
> + * sysfs path prefix.
> + *
> + * @param dev_addr
> + * device location.
> + *
>
5 matches
Mail list logo