igb: Add ethtool support to configure number of channels
authorLaura Mihaela Vasilescu <laura.vasilescu@rosedu.org>
Tue, 1 Oct 2013 11:33:56 +0000 (04:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2013 16:49:49 +0000 (12:49 -0400)
commit907b7835799f741bf80e18b635555dc332ca9863
tree2d3875ece19dab6d8bf7b37d73296aac03875f1b
parenta4e979a27db3eb77e286dbe484e96c0c9c986e83
igb: Add ethtool support to configure number of channels

This patch adds the ethtool callbacks necessary to configure the
number of RSS queues.

The maximum number of queues is in accordance with the datasheets.

Signed-off-by: Laura Mihaela Vasilescu <laura.vasilescu@rosedu.org>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_ethtool.c
drivers/net/ethernet/intel/igb/igb_main.c