eal: clean up export of socket id variable
authorNeil Horman <nhorman@tuxdriver.com>
Fri, 27 Feb 2015 12:33:13 +0000 (07:33 -0500)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 2 Mar 2015 18:40:20 +0000 (19:40 +0100)
commitc3615e4a809f9ec2739fa9c3d12d308d3197269c
tree32ac749ce685b319ddc85d51a9093c28e1cc2a45
parentea5c23df303c3363163c79723657ba06c6f8ada1
eal: clean up export of socket id variable

Theres no need to export this variable.  Its set and queried from an API call
that doesn't exist in the hot path.  Instead just export the rte_socket_id
symbol and make the variable private to protect it from type changes.  We should
do this with the other exported variables too, but I think its too late in the
release cycle to do that.

tested using distributor_autotest (which uses rte_socket_id), successfully.
Only tested on linux, as I don't currently have a bsd system spun up, but the
changes are symmetric, and should be fine

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/bsdapp/eal/rte_eal_version.map
lib/librte_eal/common/eal_common_thread.c
lib/librte_eal/common/include/rte_lcore.h
lib/librte_eal/linuxapp/eal/rte_eal_version.map