[dpdk-dev] [PATCH] Add an API to query enabled core index
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Jun 12 00:46:35 CEST 2014
2014-06-11 21:58, Lu, Patrick:
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> > 2014-06-11 13:45, Patrick Lu:
> > > The new API rte_lcore_id2() will return an index from enabled lcores
> > > starting from zero.
> >
> > I think core_id2 is not a representative name.
> > What do you think of renaming core_id as lcore_hwid and core_id2 as
> > lcore_index?
>
> I think this is a good idea. Except core_id is used in 13 other places.
> Should I resubmit the patch with core_id renamed it lcore_hwid?
It should be in a separated patch. A patch-serie would be appreciated.
By the way, I don't see any reason to integrate this change in DPDK 1.7.0
as we are in feature freeze phase.
--
Thomas
More information about the dev
mailing list