[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1335599319.2900.52.camel@edumazet-glaptop>
Date: Sat, 28 Apr 2012 09:48:39 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Willem de Bruijn <willemb@...gle.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
jeffrey.t.kirscher@...el.com, eilong@...adcom.com,
aabdulla@...dia.com
Subject: Re: [PATCH 3/4] bnx2x: add transmit timestamping support
On Fri, 2012-04-27 at 15:04 -0400, Willem de Bruijn wrote:
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
> ---
> 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 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
Acked-by: Eric Dumazet <edumazet@...gle.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists