netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net:phy:dp83640: Declare that TX timestamping possible
@ 2014-02-03 14:36 Stefan Sørensen
  2014-02-03 16:19 ` Richard Cochran
  2014-02-05  4:08 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Sørensen @ 2014-02-03 14:36 UTC (permalink / raw)
  To: richardcochran, netdev; +Cc: Stefan Sørensen

Set the SKBTX_IN_PROGRESS bit in tx_flags dp83640_txtstamp when doing
tx timestamps as per Documentation/networking/timestamping.txt.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
---
 drivers/net/phy/dp83640.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/phy/dp83640.c b/drivers/net/phy/dp83640.c
index dfb132e..ae95a9a 100644
--- a/drivers/net/phy/dp83640.c
+++ b/drivers/net/phy/dp83640.c
@@ -1273,6 +1273,7 @@ static void dp83640_txtstamp(struct phy_device *phydev,
 		}
 		/* fall through */
 	case HWTSTAMP_TX_ON:
+		skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS;
 		skb_queue_tail(&dp83640->tx_queue, skb);
 		schedule_work(&dp83640->ts_work);
 		break;
-- 
1.8.5.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] net:phy:dp83640: Declare that TX timestamping possible
  2014-02-03 14:36 [PATCH] net:phy:dp83640: Declare that TX timestamping possible Stefan Sørensen
@ 2014-02-03 16:19 ` Richard Cochran
  2014-02-05  4:08 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Cochran @ 2014-02-03 16:19 UTC (permalink / raw)
  To: Stefan Sørensen; +Cc: netdev

On Mon, Feb 03, 2014 at 03:36:35PM +0100, Stefan Sørensen wrote:
> Set the SKBTX_IN_PROGRESS bit in tx_flags dp83640_txtstamp when doing
> tx timestamps as per Documentation/networking/timestamping.txt.
> 
> Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
> ---

Acked-by: Richard Cochran <richardcochran@gmail.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] net:phy:dp83640: Declare that TX timestamping possible
  2014-02-03 14:36 [PATCH] net:phy:dp83640: Declare that TX timestamping possible Stefan Sørensen
  2014-02-03 16:19 ` Richard Cochran
@ 2014-02-05  4:08 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2014-02-05  4:08 UTC (permalink / raw)
  To: stefan.sorensen; +Cc: richardcochran, netdev

From: Stefan Sørensen <stefan.sorensen@spectralink.com>
Date: Mon,  3 Feb 2014 15:36:35 +0100

> Set the SKBTX_IN_PROGRESS bit in tx_flags dp83640_txtstamp when doing
> tx timestamps as per Documentation/networking/timestamping.txt.
> 
> Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>

Applied.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-05  4:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-03 14:36 [PATCH] net:phy:dp83640: Declare that TX timestamping possible Stefan Sørensen
2014-02-03 16:19 ` Richard Cochran
2014-02-05  4:08 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).