diff options
author | Willem de Bruijn <willemb@google.com> | 2021-12-20 15:46:08 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-21 03:47:11 +0100 |
commit | a9725e1d3962ad00288c4ae6d9b518afc51b2adc (patch) | |
tree | 15684f8fe36845701c83748980068e2b831247e4 /Documentation | |
parent | inet: fully convert sk->sk_rx_dst to RCU rules (diff) | |
download | linux-a9725e1d3962ad00288c4ae6d9b518afc51b2adc.tar.xz linux-a9725e1d3962ad00288c4ae6d9b518afc51b2adc.zip |
docs: networking: replace skb_hwtstamp_tx with skb_tstamp_tx
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.
Fixes: cb9eff097831 ("net: new user space API for time stamping of incoming and outgoing packets")
Signed-off-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20211220144608.2783526-1-willemdebruijn.kernel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/timestamping.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/networking/timestamping.rst b/Documentation/networking/timestamping.rst index 80b13353254a..f5809206eb93 100644 --- a/Documentation/networking/timestamping.rst +++ b/Documentation/networking/timestamping.rst @@ -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 |