aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMaciek Machnikowski <[email protected]>2022-02-21 20:06:37 +0000
committerJakub Kicinski <[email protected]>2022-02-23 01:03:40 +0000
commitf64ae40de5efaa33c36f4e2226b33824ba1b42a7 (patch)
tree34d534cde652d8f2ab5429d74795e509b6c66807 /net/switchdev/switchdev.c
parentusbnet: gl620a: Replace one-element array with flexible-array member (diff)
downloadkernel-f64ae40de5efaa33c36f4e2226b33824ba1b42a7.tar.gz
kernel-f64ae40de5efaa33c36f4e2226b33824ba1b42a7.zip
testptp: add option to shift clock by nanoseconds
Add option to shift the clock by a specified number of nanoseconds. The new argument -n will specify the number of nanoseconds to add to the ptp clock. Since the API doesn't support negative shifts those needs to be calculated by subtracting full seconds and adding a nanosecond offset. Signed-off-by: Maciek Machnikowski <[email protected]> Acked-by: Richard Cochran <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions