projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73151ce
)
mv643xx_eth: enable transmit time stamping.
author
Richard Cochran
<richard.cochran@omicron.at>
Tue, 21 Jun 2011 23:01:11 +0000
(16:01 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 21 Jun 2011 23:01:11 +0000
(16:01 -0700)
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>
drivers/net/mv643xx_eth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/mv643xx_eth.c
b/drivers/net/mv643xx_eth.c
index 1b7d2c1c34b6f05a416a132a6a3ce101d49da75c..77dc6abe186765789cd77db04def9155a15ebfba 100644
(file)
--- a/
drivers/net/mv643xx_eth.c
+++ b/
drivers/net/mv643xx_eth.c
@@
-840,6
+840,8
@@
no_csum:
__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;