Re: [dpdk-dev] [PATCH] usertools: fix CPU layout with python 3

2017-05-01 Thread Thomas Monjalon
01/05/2017 08:29, gowrishankar muthukrishnan: > On Sunday 30 April 2017 07:41 PM, Thomas Monjalon wrote: > > These differences in Python 3 were causing errors: > > - xrange is replaced by range > > - dict values are a view (instead of list) > > - has_key is removed > Thanks Thomas. > > Please incl

Re: [dpdk-dev] [PATCH] usertools: fix CPU layout with python 3

2017-04-30 Thread gowrishankar muthukrishnan
On Sunday 30 April 2017 07:41 PM, Thomas Monjalon wrote: These differences in Python 3 were causing errors: - xrange is replaced by range - dict values are a view (instead of list) - has_key is removed Thanks Thomas. Please include minor correction in your patch as below. Fixes: deb87e6777c0 (

[dpdk-dev] [PATCH] usertools: fix CPU layout with python 3

2017-04-30 Thread Thomas Monjalon
These differences in Python 3 were causing errors: - xrange is replaced by range - dict values are a view (instead of list) - has_key is removed Fixes: deb87e6777c0 ("usertools: use sysfs for CPU layout") Fixes: 63985c5f104e ("usertools: fix CPU layout for more than 2 threads") Signed-off-by: Tho