commit | e531f76757eb9f3314957cee24e6e9a0fa4aa98c | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Wed Sep 19 11:27:10 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 19 21:09:54 2018 -0700 |
tree | 2dbf5244b523c17a2df682a898dab3e5c6973060 | |
parent | 074c74dfcb33757d893598181914ef7bc703fa9d [diff] |
net: mvpp2: handle cases where more CPUs are available than s/w threads The Marvell PPv2 network controller has 9 internal threads. The driver works fine when there are less CPUs available than threads. This isn't true if more CPUs are available. As this is a valid use case, handle this particular case. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>