ixgbe: never generate both software and hardware timestamps
authorJakub Kicinski <[email protected]>
Sat, 15 Mar 2014 14:55:16 +0000 (14:55 +0000)
committerJeff Kirsher <[email protected]>
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 <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c