bnx2x: add transmit timestamping support
authorWillem de Bruijn <willemb@google.com>
Fri, 27 Apr 2012 09:04:06 +0000 (09:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2012 01:33:27 +0000 (21:33 -0400)
Signed-off-by: Willem de Bruijn <willemb@google.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c

index 60d5b548f69727aa80b8e6a07a73c00118d58716..afa6cbb6b193faa091b44c433ba2519d408eeb0c 100644 (file)
@@ -2953,6 +2953,8 @@ netdev_tx_t bnx2x_start_xmit(struct sk_buff *skb, struct net_device *dev)
 
        netdev_tx_sent_queue(txq, skb->len);
 
+       skb_tx_timestamp(skb);
+
        txdata->tx_pkt_prod++;
        /*
         * Make sure that the BD data is updated before updating the producer