Skip to content

Commit

Permalink
mv643xx_eth: enable transmit time stamping.
Browse files Browse the repository at this point in the history
This patch enables software (and phy device) transmit time stamping.
Compile tested only.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Richard Cochran authored and David S. Miller committed Jun 21, 2011
1 parent 73151ce commit 3b182d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/mv643xx_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,8 @@ static int txq_submit_skb(struct tx_queue *txq, struct sk_buff *skb)

__skb_queue_tail(&txq->tx_skb, skb);

skb_tx_timestamp(skb);

/* ensure all other descriptors are written before first cmd_sts */
wmb();
desc->cmd_sts = cmd_sts;
Expand Down

0 comments on commit 3b182d7

Please sign in to comment.