summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2015-10-25 10:00:32 +0100
committerHelge Deller <deller@gmx.de>2015-10-25 10:00:32 +0100
commitc59f419bdd1f056e1ceacbd29f7be7bcff746a5d (patch)
treec2c07b8db121953681fcd7b94c1622f883263629 /arch/parisc
parentb696e5e93835cee114f24b5b106c73f9f8503ec0 (diff)
downloadop-kernel-dev-c59f419bdd1f056e1ceacbd29f7be7bcff746a5d.zip
op-kernel-dev-c59f419bdd1f056e1ceacbd29f7be7bcff746a5d.tar.gz
net/xps: Fix calculation of initial number of xps queues
The existing code breaks on architectures where the L1 cache size (L1_CACHE_BYTES) is smaller or equal the size of struct xps_map. The new code ensures that we get at minimum one initial xps queue, or even more as long as it fits into the next multiple of L1_CACHE_SIZE. Signed-off-by: Helge Deller <deller@gmx.de> Acked-by: Alexander Duyck <aduyck@mirantis.com>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud