diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-03-20 21:53:21 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-21 01:36:12 +0400 |
commit | d03825fba459d0d58e4fe162439babfc5f5eabc4 (patch) | |
tree | d6682b1153060f1106aefc212b1b401fa637bcea | |
parent | 9460c936794fbcf82623e263926b17334ca5887a (diff) | |
download | linux-d03825fba459d0d58e4fe162439babfc5f5eabc4.tar.xz |
net: bcmgenet: add skb_tx_timestamp call
The BCMGENET driver was not TX timestamping the SKBs it queued for
transmission, do this in bcmgenet_xmit() right before kicking the
Transmit DMA engine.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/broadcom/genet/bcmgenet.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c index e836c4c35399..0a9f6df819bb 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c @@ -1176,6 +1176,8 @@ static netdev_tx_t bcmgenet_xmit(struct sk_buff *skb, struct net_device *dev) } } + skb_tx_timestamp(skb); + /* we kept a software copy of how much we should advance the TDMA * producer index, now write it down to the hardware */ |