Re: [net-next PATCH v4 2/7] net: Use static_key for XPS maps

2018-06-26 Thread Tom Herbert
On Mon, Jun 25, 2018 at 11:04 AM, Amritha Nambiar wrote: > Use static_key for XPS maps to reduce the cost of extra map checks, > similar to how it is used for RPS and RFS. This includes static_key > 'xps_needed' for XPS and another for 'xps_rxqs_needed' for XPS using > Rx queues map. > Acked-by:

[net-next PATCH v4 2/7] net: Use static_key for XPS maps

2018-06-25 Thread Amritha Nambiar
Use static_key for XPS maps to reduce the cost of extra map checks, similar to how it is used for RPS and RFS. This includes static_key 'xps_needed' for XPS and another for 'xps_rxqs_needed' for XPS using Rx queues map. Signed-off-by: Amritha Nambiar --- net/core/dev.c | 26 +++