Commit e2e2f51d authored by Stefan Sørensen's avatar Stefan Sørensen Committed by David S. Miller

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: default avatarStefan Sørensen <stefan.sorensen@spectralink.com>
Acked-by: default avatarRichard Cochran <richardcochran@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a664a4f7
...@@ -1281,6 +1281,7 @@ static void dp83640_txtstamp(struct phy_device *phydev, ...@@ -1281,6 +1281,7 @@ static void dp83640_txtstamp(struct phy_device *phydev,
} }
/* fall through */ /* fall through */
case HWTSTAMP_TX_ON: case HWTSTAMP_TX_ON:
skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS;
skb_queue_tail(&dp83640->tx_queue, skb); skb_queue_tail(&dp83640->tx_queue, skb);
schedule_work(&dp83640->ts_work); schedule_work(&dp83640->ts_work);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment