aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2022-06-28 17:52:38 +0300
committerJakub Kicinski <[email protected]>2022-06-30 21:18:16 -0700
commit837ced3a1a5d8bb1a637dd584711f31ae6b54d93 (patch)
tree5ff0dddc936cd8561624623fe3ae925492460bff /include/linux/debugobjects.h
parent55a515b1f5a97df5704a1788fe97a4a740be2b9e (diff)
time64.h: consolidate uses of PSEC_PER_NSEC
Time-sensitive networking code needs to work with PTP times expressed in nanoseconds, and with packet transmission times expressed in picoseconds, since those would be fractional at higher than gigabit speed when expressed in nanoseconds. Convert the existing uses in tc-taprio and the ocelot/felix DSA driver to a PSEC_PER_NSEC macro. This macro is placed in include/linux/time64.h as opposed to its relatives (PSEC_PER_SEC etc) from include/vdso/time64.h because the vDSO library does not (yet) need/use it. Cc: Andy Lutomirski <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Vincenzo Frascino <[email protected]> # for the vDSO parts Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions