Commit 8c0069ae3a85eeedbbf955e380e822756f7a9d2f

Authored by Richard Cochran
Committed by David S. Miller
1 parent e309721159

smsc911x: enable transmit time stamping.

This patch enables software (and phy device) transmit time stamping.
Compile tested only.

Cc: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/net/smsc911x.c
... ... @@ -1474,6 +1474,7 @@
1474 1474  
1475 1475 pdata->ops->tx_writefifo(pdata, (unsigned int *)bufp, wrsz);
1476 1476 freespace -= (skb->len + 32);
  1477 + skb_tx_timestamp(skb);
1477 1478 dev_kfree_skb(skb);
1478 1479  
1479 1480 if (unlikely(smsc911x_tx_get_txstatcount(pdata) >= 30))