diff options
author | Amritha Nambiar <amritha.nambiar@intel.com> | 2018-06-30 06:26:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-02 02:06:24 +0200 |
commit | 04157469b7b848f4a9978b63b1ea2ce62ad3a0a3 (patch) | |
tree | 93bc64865c13a412a70ab8d3412025828a6f732c /include/net/sock.h | |
parent | net: Refactor XPS for CPUs and Rx queues (diff) | |
download | linux-04157469b7b848f4a9978b63b1ea2ce62ad3a0a3.tar.xz linux-04157469b7b848f4a9978b63b1ea2ce62ad3a0a3.zip |
net: Use static_key for XPS maps
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 <amritha.nambiar@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions