From: Richard Cochran Date: Sun, 19 Jun 2011 21:51:33 +0000 (+0000) Subject: ucc_geth: enable transmit time stamping. X-Git-Tag: v3.1-rc1~316^2~401 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d13d6bffb418a660c06a5a12afcf7e7081489548;p=~emulex%2Finfiniband.git ucc_geth: enable transmit time stamping. This patch enables software (and phy device) transmit time stamping. Compile tested only. Cc: Shlomi Gridish Cc: Li Yang Signed-off-by: Richard Cochran Signed-off-by: David S. Miller --- diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index ef041057d9d..3127700f348 100644 --- 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