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

Stephen Hemminger stephen at networkplumber.org
Thu May 30 00:51:41 CEST 2019


On Thu, 30 May 2019 00:46:30 +0200
Thomas Monjalon <thomas at monjalon.net> wrote:

> 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?

They were in previous releases as inlines this patch converts them
to real functions.




More information about the dev mailing list