Re: [dpdk-dev] [PATCH v8 2/2] eal: add generic thread-local-storage functions

2021-01-06 Thread Tal Shnaiderman
> Subject: Re: [PATCH v8 2/2] eal: add generic thread-local-storage functions > > External email: Use caution opening links or attachments > > > On Wed, 6 Jan 2021 21:45:43 +0200, Tal Shnaiderman wrote: > [...] > > +/** > > + * Delete a TLS data key visible to all threads in the process > > + *

Re: [dpdk-dev] [PATCH v8 2/2] eal: add generic thread-local-storage functions

2021-01-06 Thread Dmitry Kozlyuk
On Wed, 6 Jan 2021 21:45:43 +0200, Tal Shnaiderman wrote: [...] > +/** > + * Delete a TLS data key visible to all threads in the process > + * rte_tls_key is the opaque pointer allocated by rte_thread_tls_key_create. This line repeats @param key description. > + * > + * @param key > + * The rt

[dpdk-dev] [PATCH v8 2/2] eal: add generic thread-local-storage functions

2021-01-06 Thread Tal Shnaiderman
Add support for TLS functionality in EAL. The following functions are added: rte_thread_tls_key_create - create a TLS data key. rte_thread_tls_key_delete - delete a TLS data key. rte_thread_tls_value_set - set value bound to the TLS key rte_thread_tls_value_get - get value bound to the TLS key TL