From: Richard Cochran Date: Sun, 8 Apr 2012 14:38:10 +0000 (+0000) Subject: e100: enable transmit time stamping. X-Git-Tag: v3.5-rc1~109^2~464^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48425b14929ef185377e3827ba7135d88343face;p=platform%2Fkernel%2Flinux-exynos.git e100: enable transmit time stamping. This patch enables software (and phy device) transmit time stamping. Tested on an old PIII laptop with built in NIC. Signed-off-by: Richard Cochran Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index e4d4c17..ada720b 100644 --- a/drivers/net/ethernet/intel/e100.c +++ b/drivers/net/ethernet/intel/e100.c @@ -1759,6 +1759,7 @@ static void e100_xmit_prepare(struct nic *nic, struct cb *cb, skb->data, skb->len, PCI_DMA_TODEVICE)); /* check for mapping failure? */ cb->u.tcb.tbd.size = cpu_to_le16(skb->len); + skb_tx_timestamp(skb); } static netdev_tx_t e100_xmit_frame(struct sk_buff *skb,