[dpdk-dev] [PATCH v3] eal: Clean up export of per_lcore__socket_id

2015-03-02 Thread Thomas Monjalon
> > 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 variabl

[dpdk-dev] [PATCH v3] eal: Clean up export of per_lcore__socket_id

2015-02-28 Thread Liang, Cunming
Hi, > -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Friday, February 27, 2015 8:33 PM > To: dev at dpdk.org > Cc: thomas.monjalon at 6wind.com; Liang, Cunming; Neil Horman > Subject: [PATCH v3] eal: Clean up export of per_lcore__socket_id > > Theres no n

[dpdk-dev] [PATCH v3] eal: Clean up export of per_lcore__socket_id

2015-02-27 Thread Neil Horman
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 to