[dpdk-dev] [PATCH 01/13] eal: expose rte_eal_using_phys_addrs

Burakov, Anatoly anatoly.burakov at intel.com
Mon Sep 4 15:24:49 CEST 2017


Hi Gaetan,

> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Gaetan Rivet
> Sent: Friday, August 25, 2017 10:04 AM
> To: dev at dpdk.org
> Cc: Gaetan Rivet <gaetan.rivet at 6wind.com>
> Subject: [dpdk-dev] [PATCH 01/13] eal: expose rte_eal_using_phys_addrs
> 
> This function was previously private to the EAL layer.
> Other subsystems requires it, such as the PCI bus.
> 
> This function is only exposed for linuxapps.
> 
> In order not to force other components to include stdbool, which is
> incompatible with several NIC drivers, the return type has been changed
> from bool to int.
> 
> Signed-off-by: Gaetan Rivet <gaetan.rivet at 6wind.com>

This probably should be moved to common API, and BSD should just implement a stub. Linuxapp-only externally visible API's are not allowed as far as I'm aware.

Thanks,
Anatoly


More information about the dev mailing list