Skip to content

Commit

Permalink
bnx2x: add transmit timestamping support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Willem de Bruijn authored and David S. Miller committed May 1, 2012
1 parent 80be312 commit 8373c57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8373c57

Please sign in to comment.