commit | d3239425351a219ec779488ffb125352449c4106 | [log] [tgz] |
---|---|---|
author | Jian Yang <jianyang@google.com> | Mon Jul 27 14:14:38 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 30 16:38:51 2020 -0700 |
tree | c03ea0fe32ba69cf2daf42c8022d863dc043ba0b | |
parent | 3c2d19cb8d8f7459635b96e12c477d772508293b [diff] |
selftests: txtimestamp: add flag for timestamp validation tolerance. The txtimestamp selftest sets a fixed 500us tolerance. This value was arrived at experimentally. Some platforms have higher variances. Make this adjustable by adding the following flag: -t N: tolerance (usec) for timestamp validation. Signed-off-by: Jian Yang <jianyang@google.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>