<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/tools/testing/selftests/net/txtimestamp.c, branch linux-6.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2022-03-21T23:37:54Z</updated>
<entry>
<title>selftests: net: change fprintf format specifiers</title>
<updated>2022-03-21T23:37:54Z</updated>
<author>
<name>Guo Zhengkui</name>
<email>guozhengkui@vivo.com</email>
</author>
<published>2022-03-19T07:37:30Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=94f19e1ec38ff67311b176f16f87685a8e110161'/>
<id>urn:sha1:94f19e1ec38ff67311b176f16f87685a8e110161</id>
<content type='text'>
`cur64`, `start64` and `ts_delta` are int64_t. Change format
specifiers in fprintf from `"%lu"` to `"%" PRId64` to adapt
to 32-bit and 64-bit systems.

Signed-off-by: Guo Zhengkui &lt;guozhengkui@vivo.com&gt;
Link: https://lore.kernel.org/r/20220319073730.5235-1-guozhengkui@vivo.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests: txtimestamp: fix compilation issue</title>
<updated>2021-02-05T04:22:30Z</updated>
<author>
<name>Vadim Fedorenko</name>
<email>vfedorenko@novek.ru</email>
</author>
<published>2021-02-04T17:50:34Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=647b8dd5184665432cc8a2b5bca46a201f690c37'/>
<id>urn:sha1:647b8dd5184665432cc8a2b5bca46a201f690c37</id>
<content type='text'>
PACKET_TX_TIMESTAMP is defined in if_packet.h but it is not included in
test. Include it instead of &lt;netpacket/packet.h&gt; otherwise the error of
redefinition arrives.
Also fix the compiler warning about ambiguous control flow by adding
explicit braces.

Fixes: 8fe2f761cae9 ("net-timestamp: expand documentation")
Suggested-by: Willem de Bruijn &lt;willemdebruijn.kernel@gmail.com&gt;
Signed-off-by: Vadim Fedorenko &lt;vfedorenko@novek.ru&gt;
Acked-by: Willem de Bruijn &lt;willemb@google.com&gt;
Link: https://lore.kernel.org/r/1612461034-24524-1-git-send-email-vfedorenko@novek.ru
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests: txtimestamp: add flag for timestamp validation tolerance.</title>
<updated>2020-07-30T23:38:51Z</updated>
<author>
<name>Jian Yang</name>
<email>jianyang@google.com</email>
</author>
<published>2020-07-27T21:14:38Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d3239425351a219ec779488ffb125352449c4106'/>
<id>urn:sha1:d3239425351a219ec779488ffb125352449c4106</id>
<content type='text'>
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 &lt;jianyang@google.com&gt;
Acked-by: Willem de Bruijn &lt;willemb@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: move timestamping selftests to net folder</title>
<updated>2020-03-30T04:48:30Z</updated>
<author>
<name>Jian Yang</name>
<email>jianyang@google.com</email>
</author>
<published>2020-03-25T20:32:07Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5ef5c90e3cb3ae1ce7bebddaeb8e8f44309950f7'/>
<id>urn:sha1:5ef5c90e3cb3ae1ce7bebddaeb8e8f44309950f7</id>
<content type='text'>
For historical reasons, there are several timestamping selftest targets
in selftests/networking/timestamping. Move them to the standard
directory for networking tests: selftests/net.

Signed-off-by: Jian Yang &lt;jianyang@google.com&gt;
Acked-by: Willem de Bruijn &lt;willemb@google.com&gt;
Acked-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
