commit | 3a397ebe154b385e5e3d0c7fee478ccef58742fc | [log] [tgz] |
---|---|---|
author | Sunil Goutham <sgoutham@cavium.com> | Fri Aug 12 16:51:27 2016 +0530 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 13 11:59:30 2016 -0700 |
tree | b3c99da83f0663ae5ffd9fc2fd1b1783bd525e39 | |
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>