]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30ce6ad5b1a5fb86abcdb88e94c6447c1f24808e
tree484e09d062ef3eb0234a434df1e5d965cb45101b
parent26ea95fc328a27a8c96684fb0cc0e0a3fe346ae7
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