[PATCH v2 04/19] vfio: make all functions internal
Burakov, Anatoly
anatoly.burakov at intel.com
Tue Nov 18 11:37:36 CET 2025
On 11/14/2025 7:18 PM, Stephen Hemminger wrote:
> On Fri, 14 Nov 2025 17:40:14 +0000
> Anatoly Burakov <anatoly.burakov at intel.com> wrote:
>
>> The VFIO API is an externally exported API because the original intent was
>> to offer DMA mapping facilities to applications. However, practical usage
>> of this API seems to be centered around drivers, so keeping this API
>> exported to applications only creates needless API/ABI stability surface
>> that has no added value.
>>
>> Make the entire VFIO API internal-only and visible only to drivers.
>>
>> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
>> ---
>
> Rename the functions maybe to avoid issues?
It's extra churn for not a lot of gain IMO, the functions are well-named
already. Perhaps they can be moved under `rte_eal_vfio_*` namespace but
honestly I think they're fine as they are.
--
Thanks,
Anatoly
More information about the dev
mailing list