i40e: refactor ethtool tests
authorShannon Nelson <shannon.nelson@intel.com>
Wed, 20 Nov 2013 10:02:59 +0000 (10:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 7 Dec 2013 01:28:14 +0000 (17:28 -0800)
commit7b0863977f097190fc91d949fea16741d92c30ce
treef7e25fc7035f50125dbdbcdc1a3ce9705d7e04b0
parentc140c17b98f246d736e20757e39ec597fae7bc9e
i40e: refactor ethtool tests

Put the print and reset statements in the actual test functions to make
them more self-contained, and only run the reset for tests that need it.

Change-Id: Ic70f49b11bf8bae82e59d8fd25b46215c90c4510
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c