diff options
| author | Jason Xing <[email protected]> | 2025-05-10 13:48:12 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-15 02:32:54 +0000 |
| commit | 33d4cc81fcd930fdbcca7ac9e8959225cbec0a5e (patch) | |
| tree | f36398ab32ee63ab24f18c56a71d9b73f3283722 /kernel/trace/trace_functions.c | |
| parent | net: cxgb4: generate software timestamp just before the doorbell (diff) | |
| download | kernel-33d4cc81fcd930fdbcca7ac9e8959225cbec0a5e.tar.gz kernel-33d4cc81fcd930fdbcca7ac9e8959225cbec0a5e.zip | |
net: stmmac: generate software timestamp just before the doorbell
Make sure the call of skb_tx_timestamp is as close as possbile to the
doorbell.
The patch also adjusts the order of setting SKBTX_IN_PROGRESS and
generate software timestamp so that without SOF_TIMESTAMPING_OPT_TX_SWHW
being set the software and hardware timestamps will not appear in the
error queue of socket nearly at the same time (Please see __skb_tstamp_tx()).
Signed-off-by: Jason Xing <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions
