diff options
author | Willem de Bruijn <willemb@google.com> | 2012-04-27 13:04:06 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-01 05:33:27 +0400 |
commit | 8373c57d6fa59ca35ad3cf11d719060051ccd920 (patch) | |
tree | 17b6992d1c9baaf5d409578e6d5a8456c4717427 /drivers/net/ethernet | |
parent | 80be3129d7152fe73b7d5db4595e2f4267497f24 (diff) | |
download | linux-8373c57d6fa59ca35ad3cf11d719060051ccd920.tar.xz |
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')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 2 |
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) 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 |