i40e: when Rx timestamps disabled set specific mode
authorJacob Keller <jacob.e.keller@intel.com>
Sun, 14 Dec 2014 01:55:15 +0000 (01:55 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 16 Jan 2015 13:20:56 +0000 (05:20 -0800)
commit4fda14ca0f9debd8e5e7ef699a8bf07427d092ba
treece4ff846b042ee11c5c3eed0ff4248dad866eefd
parentb535a0131958332815eb6c71f633e8c24a19dd86
i40e: when Rx timestamps disabled set specific mode

Instead of leaving the Rx timestamps in the same mode as before if we
disable the Rx logic, we can set it into a mode that has the fewest
possible timestamps generated. To do this, select only V1 mode, but do
not enable UDP packet recognition. This should eliminate all (or at
least almost all) Rx timestamps, since V1 packets are always over UDP.

Change-ID: If847288e0030a716e059c4c33ab114f2cf038f05
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ptp.c
This page took 0.02905 seconds and 5 git commands to generate.