docs: networking: replace skb_hwtstamp_tx with skb_tstamp_tx
Subsystems (4)
Willem de Bruijn
maintainerPATCH 1/1 docs: networking: replace skb_hwtstamp_tx with skb_tstamp_tx
From: Willem de Bruijn <[email protected]>
Tiny doc fix. The hardware transmit function was called skb_tstamp_tx from its introduction in commit ac45f602ee3d ("net: infrastructure for hardware time stamping") in the same series as this documentation.
--- Documentation/networking/timestamping.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/networking/timestamping.rst +2 -2
@@ -582,8 +582,8 @@ Time stamps for outgoing packets are to be generated as follows: and hardware timestamping is not possible (SKBTX_IN_PROGRESS not set). - As soon as the driver has sent the packet and/or obtained a hardware time stamp for it, it passes the time stamp back by - calling skb_hwtstamp_tx() with the original skb, the raw - hardware time stamp. skb_hwtstamp_tx() clones the original skb and + calling skb_tstamp_tx() with the original skb, the raw + hardware time stamp. skb_tstamp_tx() clones the original skb and adds the timestamps, therefore the original skb has to be freed now. If obtaining the hardware time stamp somehow fails, then the driver should not fall back to software time stamping. The rationale is that
Signature · 1 line
2.34.1.173.g76aa8bc2d0-goog
This patch was applied to netdev/net.git (master) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <[email protected]>:
Quoted 10 lines · On Mon, 20 Dec 2021 09:46:08 -0500 you wrote:
From: Willem de Bruijn <[email protected]>
Tiny doc fix. The hardware transmit function was called
skb_tstamp_txfrom its introduction in commitac45f602ee3d("net: infrastructure for hardware time stamping") in the same series as this documentation.Fixes cb9eff097831 ("net: new user space API for time stamping of incoming and outgoing packets")Signed-off-by Willem de Bruijn <[email protected]>[...]
Here is the summary with links:
- [net] docs: networking: replace skb_hwtstamp_tx with skb_tstamp_tx
https://git.kernel.org/netdev/net/c/a9725e1d3962
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html