Actions
Bug #7115
closed
LS
LS
dpdk: timestamping packets through TSC does not yield the same time as kernel time
Bug #7115:
dpdk: timestamping packets through TSC does not yield the same time as kernel time
Affected Versions:
Effort:
Difficulty:
Label:
Description
According to https://forum.suricata.io/t/suricata-ahead-of-time/4716/9 timestamping packets through TSC counter can be a bit off from the kernel time. Originally implemented to have better precision and faster timestamping, it seems like it can shift a little from the kernel time.
Therefore I'd suggest to replace it with the standard kernel call (gettimeoftheday or SCGetTime) to get the timestamp.
OT Updated by OISF Ticketbot almost 2 years ago
- Subtask #7116 added
OT Updated by OISF Ticketbot almost 2 years ago
- Label deleted (
Needs backport to 7.0)
VJ Updated by Victor Julien almost 2 years ago
Do we understand why these can differ?
LS Updated by Lukas Sismis almost 2 years ago
- Status changed from Assigned to Resolved
explanation in the commit message - TSC counter can drift over a long time,
merged in https://github.com/OISF/suricata/pull/11409
LS Updated by Lukas Sismis over 1 year ago
- Status changed from Resolved to Closed
VJ Updated by Victor Julien about 1 year ago
- Related to Optimization #7585: af-packet: SOF_TIMESTAMPING_RAW_HARDWARE dangerous default leading to incorrect timestamps added
Actions