ixgbe: never generate both software and hardware timestamps
authorJakub Kicinski <kubakici@wp.pl>
Sat, 15 Mar 2014 14:55:16 +0000 (14:55 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 31 Mar 2014 22:48:00 +0000 (15:48 -0700)
commitff29a86ec9143ff1aa1901ae60f06f4980981df4
tree44430364d98e5f6f01f92802c411833d83db6a0f
parent181e7d5d7bd7747e882e3ca89ecbf0fc3e72d0da
ixgbe: never generate both software and hardware timestamps

skb_tx_timestamp() does not report software time stamp
if SKBTX_IN_PROGRESS is set. According to timestamping.txt
software time stamps are a fallback and should not be
generated if hardware time stamp is provided.

Move call to skb_tx_timestamp() after setting
SKBTX_IN_PROGRESS.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c