diff options
author | Stefan Sørensen <stefan.sorensen@spectralink.com> | 2014-02-03 09:36:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-04 23:07:19 -0500 |
commit | e2e2f51dd0254fa0002bcd1c5fda180348163f09 (patch) | |
tree | 4da638c5b701272029e9453fb831ff15a1c56a5d /drivers/net | |
parent | a664a4f7aa4f01ca8728e3ec43618327416fc8ff (diff) |
net:phy:dp83640: Declare that TX timestamping possible
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/phy/dp83640.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/dp83640.c b/drivers/net/phy/dp83640.c index 547725fa8671..3f882eea6e1d 100644 --- a/drivers/net/phy/dp83640.c +++ b/drivers/net/phy/dp83640.c | |||
@@ -1281,6 +1281,7 @@ static void dp83640_txtstamp(struct phy_device *phydev, | |||
1281 | } | 1281 | } |
1282 | /* fall through */ | 1282 | /* fall through */ |
1283 | case HWTSTAMP_TX_ON: | 1283 | case HWTSTAMP_TX_ON: |
1284 | skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS; | ||
1284 | skb_queue_tail(&dp83640->tx_queue, skb); | 1285 | skb_queue_tail(&dp83640->tx_queue, skb); |
1285 | schedule_work(&dp83640->ts_work); | 1286 | schedule_work(&dp83640->ts_work); |
1286 | break; | 1287 | break; |