]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: (ptp) warn when PF_ID does not match in PRTTSYN_CTL0
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 9 Jul 2014 07:46:11 +0000 (07:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Jul 2014 21:06:44 +0000 (14:06 -0700)
commitc548b31e38e4c487bb31c2ffcf6da4c50c58c68c
tree3a3c8e6538e90a380871ad00ab2b249488c0f0a3
parent639de7da53dc2437dbfb213c807a62f91faaa02e
i40e: (ptp) warn when PF_ID does not match in PRTTSYN_CTL0

Display a verbose warning message when the incorrect PF attempts to
control timestamping for a port to which it was not assigned. This
shouldn't display except in the case of multiple PFs per port. The
primary intent of this message is to help debugging the reason why the
SIOCSHWTSTAMP ioctl has failed, and to help narrow the cause of the
issue.

Change-ID: Ic98798e0c844d98389d4c20e7160ba256f2bc7e8
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ptp.c