ixgbe: remove extra unused queues in DCB + FCoE case
authorJohn Fastabend <john.r.fastabend@intel.com>
Tue, 5 Jun 2012 05:58:52 +0000 (05:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 21 Jul 2012 23:06:21 +0000 (16:06 -0700)
commit3f4a6f009f6319d2fb7f6fe654264e1eabe0e50b
tree24413ded7c50d3c91f5104e1e3806aae9767df81
parent95447461fa9ae3d879c84c1d2f2f8da2fdcd8f34
ixgbe: remove extra unused queues in DCB + FCoE case

With DCB and FCoE configured extra queues may be allocated and
never used. After this patch we calculate the max correctly.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c