ixgbe: fix bounds checking in ixgbe_setup_tc for 82598
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 9 Jul 2015 19:28:59 +0000 (12:28 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 2 Sep 2015 00:13:00 +0000 (17:13 -0700)
commit7e3f5c8881ba45eba1c74344b00558920008e6e6
tree036cf687255e83db2726349f2597b8021a796721
parent1c7cf0784e4d448ed8a07c5fc1e3aac1528272f1
ixgbe: fix bounds checking in ixgbe_setup_tc for 82598

This patch resolves an issue where users were not able to dynamically
set number of queues for 82598 via ethtool -L

Reported-by: Tal Abudi <talabudi@gmail.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c