diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2008-10-28 13:21:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-28 13:21:51 -0700 |
commit | 882716604ecf388b2ff09bc76eb2a752aa9cc76b (patch) | |
tree | 795870dbd12373a9a7f8df59e8996eba1c77d0ba /lib/hweight.c | |
parent | b3ed4bc082077045f680400c8bb02fa8d9c9ecf5 (diff) |
pktgen: fix multiple queue warning
when testing the new pktgen module with multiple queues and ixgbe with:
pgset "flag QUEUE_MAP_CPU"
I found that I was getting errors in dmesg like:
pktgen: WARNING: QUEUE_MAP_CPU disabled because CPU count (8) exceeds number
<4>pktgen: WARNING: of tx queues (8) on eth15
you'll note, 8 really doesn't exceed 8.
This patch seemed to fix the logic errors and also the attempts at
limiting line length in printk (which didn't work anyway)
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions