aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2012-04-27 05:04:06 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-30 21:33:27 -0400
commit8373c57d6fa59ca35ad3cf11d719060051ccd920 (patch)
tree17b6992d1c9baaf5d409578e6d5a8456c4717427 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
parent80be3129d7152fe73b7d5db4595e2f4267497f24 (diff)
bnx2x: add transmit timestamping support
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
index 60d5b548f697..afa6cbb6b193 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)
2953 2953
2954 netdev_tx_sent_queue(txq, skb->len); 2954 netdev_tx_sent_queue(txq, skb->len);
2955 2955
2956 skb_tx_timestamp(skb);
2957
2956 txdata->tx_pkt_prod++; 2958 txdata->tx_pkt_prod++;
2957 /* 2959 /*
2958 * Make sure that the BD data is updated before updating the producer 2960 * Make sure that the BD data is updated before updating the producer