diff options
author | Sunil Goutham <sgoutham@cavium.com> | 2016-08-12 16:51:27 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-13 11:59:30 -0700 |
commit | 3a397ebe154b385e5e3d0c7fee478ccef58742fc (patch) | |
tree | b3c99da83f0663ae5ffd9fc2fd1b1783bd525e39 /lib/clz_tab.c | |
parent | 0025d93ebb9b4f7ad7807d22fe65852f447309a1 (diff) |
net: thunderx: Set queue count based on number of CPUs
81xx has only 4 CPUs, so it doesn't make sense to initialize
entire Qset i.e 8 queues by default. Made changes to queue
initialization to init queues equal to number of CPUs or
8 queues whichever is lesser. Also this will be applicable to
VMs with VNIC VF attached and having less VCPUs
Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions