commit | 22b4777da2b34e3e4e886c6eec866a9e43852357 | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Sun Dec 14 01:55:09 2014 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Fri Jan 16 03:56:54 2015 -0800 |
tree | aa7c317877c270fcfd21f17678818d51ba106af0 | |
parent | ab437b5a0fd4534c68933671a2a44c5ca0e75479 [diff] |
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 <jacob.e.keller@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>