Re: [PATCH net] i40e: use valid online CPU on q_vector initialization

2016-07-11 Thread Guilherme G. Piccoli
On 06/27/2016 12:16 PM, Guilherme G. Piccoli wrote: Currently, the q_vector initialization routine sets the affinity_mask of a q_vector based on v_idx value. Meaning a loop iterates on v_idx, which is an incremental value, and the cpumask is created based on this value. This is a problem in syst

[PATCH net] i40e: use valid online CPU on q_vector initialization

2016-06-27 Thread Guilherme G. Piccoli
Currently, the q_vector initialization routine sets the affinity_mask of a q_vector based on v_idx value. Meaning a loop iterates on v_idx, which is an incremental value, and the cpumask is created based on this value. This is a problem in systems with multiple logical CPUs per core (like in SMT s