Re: [dpdk-dev] [PATCH v2 1/2] eal: fix potential incorrect pinning for ctrl threads

2019-02-14 Thread David Marchand
On Thu, Feb 14, 2019 at 5:12 PM Burakov, Anatoly wrote: > On 14-Feb-19 1:30 PM, David Marchand wrote: > > pthread_setaffinity_np returns a >0 value on error. > > We could end up letting the ctrl threads on the current process cpu > > affinity. > > > > Fixes: d651ee4919cd ("eal: set affinity for c

Re: [dpdk-dev] [PATCH v2 1/2] eal: fix potential incorrect pinning for ctrl threads

2019-02-14 Thread Burakov, Anatoly
On 14-Feb-19 1:30 PM, David Marchand wrote: pthread_setaffinity_np returns a >0 value on error. We could end up letting the ctrl threads on the current process cpu affinity. Fixes: d651ee4919cd ("eal: set affinity for control threads") Signed-off-by: David Marchand --- lib/librte_eal/common/e

[dpdk-dev] [PATCH v2 1/2] eal: fix potential incorrect pinning for ctrl threads

2019-02-14 Thread David Marchand
pthread_setaffinity_np returns a >0 value on error. We could end up letting the ctrl threads on the current process cpu affinity. Fixes: d651ee4919cd ("eal: set affinity for control threads") Signed-off-by: David Marchand --- lib/librte_eal/common/eal_common_thread.c | 2 +- 1 file changed, 1 in