Re: [dpdk-dev] [PATCH v6] eal: add generic thread-local-storage functions

2021-01-05 Thread Thomas Monjalon
30/12/2020 12:12, Tal Shnaiderman: > Add support for tls functionality in EAL. You should write TLS uppercase here and below. There is already a TLS capability in rte_per_lcore.h, using __thread keyword. Note: I think the historical wording "lcore" is confusing. We talk about lcore, assuming the

Re: [dpdk-dev] [PATCH v6] eal: add generic thread-local-storage functions

2021-01-01 Thread Dmitry Kozlyuk
On Wed, 30 Dec 2020 13:12:44 +0200, Tal Shnaiderman wrote: > Add support for tls functionality in EAL. > > The following functions are added: > rte_thread_tls_create_key - function to create a tls data key. > rte_thread_tls_delete_key - function to delete a tls data key. > rte_thread_tls_set_value

[dpdk-dev] [PATCH v6] eal: add generic thread-local-storage functions

2020-12-30 Thread Tal Shnaiderman
Add support for tls functionality in EAL. The following functions are added: rte_thread_tls_create_key - function to create a tls data key. rte_thread_tls_delete_key - function to delete a tls data key. rte_thread_tls_set_value - function to set value bound to the tls key rte_thread_tls_get_value