diff options
author | Vadim Fedorenko <[email protected]> | 2024-11-14 03:48:20 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-11-15 14:26:05 -0800 |
commit | c7a21af711e846a844095ae474f0f7e0ea8c6967 (patch) | |
tree | c45418ac6af513600807dab6b1b1593393bfdc3c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ed7231f56cd7f795ff3a831e32946a96661bfee9 (diff) |
bnxt_en: optimize gettimex64
Current implementation of gettimex64() makes at least 3 PCIe reads to
get current PHC time. It takes at least 2.2us to get this value back to
userspace. At the same time there is cached value of upper bits of PHC
available for packet timestamps already. This patch reuses cached value
to speed up reading of PHC time.
Signed-off-by: Vadim Fedorenko <[email protected]>
Reviewed-by: Michael Chan <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions