diff options
author | Harini Katakam <harini.katakam@xilinx.com> | 2023-04-11 15:37:12 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-04-14 08:16:09 +0300 |
commit | 8c0d0fe04449b9ea2654bf435e51171fbf2a71ac (patch) | |
tree | 6e0d2f378a1ef68c6881c3e6693be8a9651b49d6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ee4e92c26c60b7344b7261035683a37da5a6119b (diff) | |
download | linux-8c0d0fe04449b9ea2654bf435e51171fbf2a71ac.tar.xz |
net: macb: Optimize reading HW timestamp
The seconds input from BD (6 bits) just needs to be ORed with the
upper bits from timer in this function. Avoid addition operation
every single time. Seconds rollover handling is left untouched.
Signed-off-by: Harini Katakam <harini.katakam@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions