From: Jacob Keller Date: Sun, 14 Dec 2014 01:55:09 +0000 (+0000) Subject: i40e: check I40E_FLAG_PTP before handling Tx or Rx timestamps X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~193^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22b4777da2b34e3e4e886c6eec866a9e43852357;p=pandora-kernel.git i40e: check I40E_FLAG_PTP before handling Tx or Rx timestamps We should not be doing Tx or Rx timestamps if we do not have PTP enabled. Add checks to ensure that we don't attempt to handle any PTP related timestamping code if we have not enabled PTP on that PF. Change-ID: I4335942ae2d5c5f91abfdbeeea02bcace49e7677 Signed-off-by: Jacob Keller Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed