ethoc: enable transmit time stamping.
This patch enables software (and phy device) transmit time stamping for the OpenCores 10/100 MAC driver. Compile tested only. Cc: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Richard Cochran <richard.cochran@omicron.at> Signed-off-by: David S. Miller <davem@conan.davemloft.net>
This commit is contained in:
parent
ff9b3078b9
commit
68f5139407
1 changed files with 1 additions and 0 deletions
|
@ -875,6 +875,7 @@ static netdev_tx_t ethoc_start_xmit(struct sk_buff *skb, struct net_device *dev)
|
|||
}
|
||||
|
||||
spin_unlock_irq(&priv->lock);
|
||||
skb_tx_timestamp(skb);
|
||||
out:
|
||||
dev_kfree_skb(skb);
|
||||
return NETDEV_TX_OK;
|
||||
|
|
Loading…
Add table
Reference in a new issue