]> 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)
commit9e96fe9ea3a6565cc2866505c8333516b780ef5d
tree484e09d062ef3eb0234a434df1e5d965cb45101b
parent97e46da2c02322dcf8a281c883f482e6cb6f7907
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