Re: [net-next PATCH v2 1/4] net: Refactor XPS for CPUs and Rx queues

2018-05-23 Thread Nambiar, Amritha
On 5/17/2018 9:08 PM, Tom Herbert wrote: > On Tue, May 15, 2018 at 6:26 PM, Amritha Nambiar > wrote: >> Refactor XPS code to support Tx queue selection based on >> CPU map or Rx queue map. >> >> Signed-off-by: Amritha Nambiar >> --- >>

Re: [net-next PATCH v2 1/4] net: Refactor XPS for CPUs and Rx queues

2018-05-17 Thread Tom Herbert
On Tue, May 15, 2018 at 6:26 PM, Amritha Nambiar wrote: > Refactor XPS code to support Tx queue selection based on > CPU map or Rx queue map. > > Signed-off-by: Amritha Nambiar > --- > include/linux/cpumask.h | 11 ++ >

Re: [net-next PATCH v2 1/4] net: Refactor XPS for CPUs and Rx queues

2018-05-17 Thread Nambiar, Amritha
On 5/17/2018 11:38 AM, David Miller wrote: > From: Amritha Nambiar > Date: Tue, 15 May 2018 18:26:43 -0700 > >> @@ -2125,7 +2125,7 @@ static bool remove_xps_queue_cpu(struct net_device >> *dev, >> int i, j; >> >> for (i = count, j = offset;

Re: [net-next PATCH v2 1/4] net: Refactor XPS for CPUs and Rx queues

2018-05-17 Thread David Miller
From: Amritha Nambiar Date: Tue, 15 May 2018 18:26:43 -0700 > @@ -2125,7 +2125,7 @@ static bool remove_xps_queue_cpu(struct net_device *dev, > int i, j; > > for (i = count, j = offset; i--; j++) { > - if

[net-next PATCH v2 1/4] net: Refactor XPS for CPUs and Rx queues

2018-05-15 Thread Amritha Nambiar
Refactor XPS code to support Tx queue selection based on CPU map or Rx queue map. Signed-off-by: Amritha Nambiar --- include/linux/cpumask.h | 11 ++ include/linux/netdevice.h | 72 +++- net/core/dev.c| 208