]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4980149aaa35aa57644b023d6423f08af8d9b286
treef7e25fc7035f50125dbdbcdc1a3ce9705d7e04b0
parent9764c70afafd5c6cd91b6745447c8a6b6fd6b9bb
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