projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6e44a
)
ucc_geth: enable transmit time stamping.
author
Richard Cochran
<
[email protected]
>
Sun, 19 Jun 2011 21:51:33 +0000
(21:51 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 20 Jun 2011 20:56:55 +0000
(13:56 -0700)
This patch enables software (and phy device) transmit time stamping.
Compile tested only.
Cc: Shlomi Gridish <
[email protected]
>
Cc: Li Yang <
[email protected]
>
Signed-off-by: Richard Cochran <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ucc_geth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ucc_geth.c
b/drivers/net/ucc_geth.c
index ef041057d9d35c201e8c8cf830deecde0b1d8613..3127700f348b13a9aa7da2bd81ce79a0a78ee481 100644
(file)
--- a/
drivers/net/ucc_geth.c
+++ b/
drivers/net/ucc_geth.c
@@
-3165,6
+3165,8
@@
static int ucc_geth_start_xmit(struct sk_buff *skb, struct net_device *dev)
ugeth->txBd[txQ] = bd;
+ skb_tx_timestamp(skb);
+
if (ugeth->p_scheduler) {
ugeth->cpucount[txQ]++;
/* Indicate to QE that there are more Tx bds ready for