ixgbe: Add support for set_channels ethtool operation
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 17 Jan 2013 08:39:33 +0000 (08:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 16 Feb 2013 07:03:07 +0000 (23:03 -0800)
commit4c696ca9fbabc5f94a3c6db7f009e73f0ef21831
tree484e09d062ef3eb0234a434df1e5d965cb45101b
parent5348c9dbf379dc5b70e3a6a4f2f79c2c43720b37
ixgbe: Add support for set_channels ethtool operation

This change adds support for the ethtool set_channels operation.

Since the ixgbe driver has to support DCB as well as the other modes the
assumption I made here is that the number of channels in DCB modes refers
to the number of queues per traffic class, not the number of queues total.

CC: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c