commit | 271a8b428f8361f3ad4c599835ccd34dd458b212 | [log] [tgz] |
---|---|---|
author | Bert Kenward <bkenward@solarflare.com> | Wed Apr 12 17:06:52 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 17 11:01:19 2017 -0400 |
tree | 1a829c8abc89357c0b91cc73942350eeec6a53c9 | |
parent | 1bf4b1268e66d9364fc6fd41f906bc01458530ac [diff] |
sfc: limit the number of receive queues The number of rx queues is determined by the rss_cpus parameter or the cpu topology. If that is higher than EFX_MAX_RX_QUEUES the driver can corrupt state. Fixes: 8ceee660aacb ("New driver "sfc" for Solarstorm SFC4000 controller.") Signed-off-by: Bert Kenward <bkenward@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>