]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Add support for displaying the number of Tx/Rx channels
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 12 Jan 2013 06:33:52 +0000 (06:33 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 16 Feb 2013 06:47:51 +0000 (22:47 -0800)
commit97e46da2c02322dcf8a281c883f482e6cb6f7907
tree4d0a0b045ef00feb235a935608dfd74237523b2d
parentbd4939f6aed5459382b6060dd93a1bc0dbbc950e
ixgbe: Add support for displaying the number of Tx/Rx channels

This patch adds support for the ethtool get_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.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Reviewed-by: John Fastabend <john.r.fastabend@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