Project

General

Profile

Actions

Bug #7115

closed

dpdk: timestamping packets through TSC does not yield the same time as kernel time

Added by Lukas Sismis 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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.


Subtasks 1 (0 open1 closed)

Bug #7116: dpdk: timestamping packets through TSC does not yield the same time as kernel time (7.0.x backport)ClosedLukas SismisActions
Actions

Also available in: Atom PDF