diff options
author | 2021-03-18 19:37:46 +0100 | |
---|---|---|
committer | 2021-03-18 14:56:22 -0700 | |
commit | 044ab86d431b59b88966457dbb62679f274ec442 (patch) | |
tree | 1b7b15ba3b79d8b2cc18fa2245659112980d1259 /drivers/net/ethernet/intel/ice/ice_flex_pipe.c | |
parent | net: remove the xps possible_mask (diff) | |
download | linux-dev-044ab86d431b59b88966457dbb62679f274ec442.tar.xz linux-dev-044ab86d431b59b88966457dbb62679f274ec442.zip |
net: move the xps maps to an array
Move the xps maps (xps_cpus_map and xps_rxqs_map) to an array in
net_device. That will simplify a lot the code removing the need for lots
of if/else conditionals as the correct map will be available using its
offset in the array.
This should not modify the xps maps behaviour in any way.
Suggested-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_flex_pipe.c')
0 files changed, 0 insertions, 0 deletions