Patrick Lu 5583037a79 eal: get relative core index
EAL -c option allows the user to enable any lcore in the system.
Often times, the user app wants to know 1st enabled core, 2nd
enabled core, etc, rather than phyical core ID (rte_lcore_id().)

The new API rte_lcore_index() will return an index from enabled lcores
starting from zero.

Signed-off-by: Patrick Lu <patrick.lu@intel.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2014-11-25 13:33:35 +01:00
2014-11-25 13:33:35 +01:00
2014-11-24 21:44:02 +01:00
2014-11-25 13:33:35 +01:00
2014-09-03 13:28:26 +02:00
2013-03-07 10:57:42 +01:00
2014-06-11 00:29:34 +02:00
2013-07-25 14:43:06 +02:00
2014-06-11 00:29:34 +02:00
Description
No description provided
128 MiB
Languages
C 99.1%
Meson 0.5%
Python 0.2%
Shell 0.1%