ixgbe: fix ethtool loopback diagnostic with DCB enabled
authorEmil Tantilov <emil.s.tantilov@intel.com>
Tue, 23 Jul 2013 01:56:58 +0000 (01:56 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 13 Sep 2013 16:41:33 +0000 (09:41 -0700)
commit91ffdc842b8ac0f96b5283b0f0b72927b7dfa8c7
tree865e30895773682eec5f79ddc27f79b52bcc1cf9
parent6dcc28b93e9675df0f30c063c30d05c1073f1efc
ixgbe: fix ethtool loopback diagnostic with DCB enabled

This patch disables DCB prior to running the loopback test.
When DCB is enabled the frames may be modified on Tx (by adding vlan tag)
which will fail the check on Rx.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Jack Morgan <jack.morgan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c