From: Willem de Bruijn Date: Fri, 27 Apr 2012 09:04:06 +0000 (+0000) Subject: bnx2x: add transmit timestamping support X-Git-Tag: upstream/snapshot3+hdmi~7403^2~239 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8373c57d6fa59ca35ad3cf11d719060051ccd920;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git bnx2x: add transmit timestamping support Signed-off-by: Willem de Bruijn Acked-by: Eilon Greenstein Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c index 60d5b54..afa6cbb 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c @@ -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