i40e: restrict diag test messages
authorShannon Nelson <shannon.nelson@intel.com>
Wed, 20 Nov 2013 10:03:06 +0000 (10:03 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 10 Dec 2013 09:27:29 +0000 (01:27 -0800)
commitb03aaa9c733e15d0d13f4f80987f6b93fc6a9e03
treecee6bc729e59a6d5a1cc5954e4e89da92562060e
parent5824d2d16d39a9c57aa3bacf955fbd0c2134061f
i40e: restrict diag test messages

Use the netif_info() macro to restrict messaging to when the HW
bit is enabled in the msglvl netdev message mask.

Change-Id: I83030d4402991cfb7da100da00f05ce502ada4ae
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