From: Eric Dumazet <eric.dumazet@gmail.com>
To: Willem de Bruijn <willemb@google.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org,
jeffrey.t.kirscher@intel.com, eilong@broadcom.com,
aabdulla@nvidia.com
Subject: Re: [PATCH 4/4] forcedeth: add transmit timestamping support
Date: Sat, 28 Apr 2012 09:49:45 +0200 [thread overview]
Message-ID: <1335599385.2900.53.camel@edumazet-glaptop> (raw)
In-Reply-To: <1335553447-11964-5-git-send-email-willemb@google.com>
On Fri, 2012-04-27 at 15:04 -0400, Willem de Bruijn wrote:
> Insert an skb_tx_timestamp call in both ndo_start_xmit routines
> Tested to work for the nv_start_xmit_optimized case
>
> Signed-off-by: Willem de Bruijn <willemb@google.com>
> ---
> drivers/net/ethernet/nvidia/forcedeth.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c
> index d93a088..928913c 100644
> --- a/drivers/net/ethernet/nvidia/forcedeth.c
> +++ b/drivers/net/ethernet/nvidia/forcedeth.c
> @@ -2279,6 +2279,8 @@ static netdev_tx_t nv_start_xmit(struct sk_buff *skb, struct net_device *dev)
>
> netdev_sent_queue(np->dev, skb->len);
>
> + skb_tx_timestamp(skb);
> +
> np->put_tx.orig = put_tx;
>
> spin_unlock_irqrestore(&np->lock, flags);
> @@ -2426,6 +2428,8 @@ static netdev_tx_t nv_start_xmit_optimized(struct sk_buff *skb,
>
> netdev_sent_queue(np->dev, skb->len);
>
> + skb_tx_timestamp(skb);
> +
> np->put_tx.ex = put_tx;
>
> spin_unlock_irqrestore(&np->lock, flags);
Acked-by: Eric Dumazet <edumazet@google.com>
next prev parent reply other threads:[~2012-04-28 7:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-27 19:04 [PATCH 0/4 net-next] another transmit timestamping driver set Willem de Bruijn
2012-04-27 19:04 ` [PATCH 1/4] e1000: add transmit timestamping support Willem de Bruijn
2012-04-28 7:47 ` Eric Dumazet
2012-05-01 1:46 ` David Miller
2012-04-27 19:04 ` [PATCH 2/4] e1000e: " Willem de Bruijn
2012-04-28 7:47 ` Eric Dumazet
2012-05-01 1:46 ` David Miller
2012-04-27 19:04 ` [PATCH 3/4] bnx2x: " Willem de Bruijn
2012-04-27 19:30 ` Eilon Greenstein
2012-04-28 7:48 ` Eric Dumazet
2012-05-01 1:46 ` David Miller
2012-04-27 19:04 ` [PATCH 4/4] forcedeth: " Willem de Bruijn
2012-04-28 7:49 ` Eric Dumazet [this message]
2012-05-01 1:47 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1335599385.2900.53.camel@edumazet-glaptop \
--to=eric.dumazet@gmail.com \
--cc=aabdulla@nvidia.com \
--cc=davem@davemloft.net \
--cc=eilong@broadcom.com \
--cc=jeffrey.t.kirscher@intel.com \
--cc=netdev@vger.kernel.org \
--cc=willemb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox