[dpdk-dev] [PATCH v4 2/5] eal: add lcore accessors

Thomas Monjalon thomas at monjalon.net
Thu May 30 00:46:30 CEST 2019


23/05/2019 15:58, David Marchand:
> From: Stephen Hemminger <stephen at networkplumber.org>
> 
> The fields of the internal EAL core configuration are currently
> laid bare as part of the API. This is not good practice and limits
> fixing issues with layout and sizes.
> 
> Make new accessor functions for the fields used by current drivers
> and examples.
[...]
> +DPDK_19.08 {
> +	global:
> +
> +	rte_lcore_cpuset;
> +	rte_lcore_index;
> +	rte_lcore_to_cpu_id;
> +	rte_lcore_to_socket_id;
> +
> +} DPDK_19.05;
> +
>  EXPERIMENTAL {
>  	global:

Just to make sure, are we OK to introduce these functions
as non-experimental?




More information about the dev mailing list