|
@@ -428,6 +428,8 @@ fec_enet_start_xmit(struct sk_buff *skb, struct net_device *ndev)
|
|
|
/* If this was the last BD in the ring, start at the beginning again. */
|
|
|
bdp = fec_enet_get_nextdesc(bdp, fep);
|
|
|
|
|
|
+ skb_tx_timestamp(skb);
|
|
|
+
|
|
|
fep->cur_tx = bdp;
|
|
|
|
|
|
if (fep->cur_tx == fep->dirty_tx)
|
|
@@ -436,8 +438,6 @@ fec_enet_start_xmit(struct sk_buff *skb, struct net_device *ndev)
|
|
|
/* Trigger transmission start */
|
|
|
writel(0, fep->hwp + FEC_X_DES_ACTIVE);
|
|
|
|
|
|
- skb_tx_timestamp(skb);
|
|
|
-
|
|
|
return NETDEV_TX_OK;
|
|
|
}
|
|
|
|