<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in so_txtime.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>543bdc1578cd380631558a884318551a0e9fdab2 - selftests: drv-net: cope with slow env in so_txtime.py test</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/drivers/net/so_txtime.c#543bdc1578cd380631558a884318551a0e9fdab2</link>
        <description>selftests: drv-net: cope with slow env in so_txtime.py testThis test was converted from shell script to drv-net test.The new version is flaky in dbg builds on the netdev.bots dashboard.The previous shell script had more protections to avoid these. Addedin commit a7ee79b9c455 (&quot;selftests: net: cope with slow env inso_txtime.sh test&quot;).Add the same overall protection:- Suppress so_txtime process failure if KSFT_MACHINE_SLOWAlso relax two timeouts to reduce the number of process failuresthemselves- Increase SO_RCVTIMEO to 2 seconds- Increase process start-up stabilization to 2 secondsDelays were experimentally arrived at while running with vngbuilt with kernel/configs/debug.configFixes: 5c6baef3885c (&quot;selftests: drv-net: convert so_txtime to drv-net&quot;)Reported-by: Jakub Kicinski &lt;kuba@kernel.org&gt;Closes: https://lore.kernel.org/netdev/20260510174219.74aeee6d@kernel.org/Signed-off-by: Willem de Bruijn &lt;willemb@google.com&gt;Link: https://patch.msgid.link/20260511222138.2045551-1-willemdebruijn.kernel@gmail.comSigned-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;

            List of files:
            /linux/tools/testing/selftests/drivers/net/so_txtime.c</description>
        <pubDate>Tue, 12 May 2026 00:19:20 +0200</pubDate>
        <dc:creator>Willem de Bruijn &lt;willemb@google.com&gt;</dc:creator>
    </item>
<item>
        <title>5c6baef3885c0e16e63d432fe31aa6f7e98e18dc - selftests: drv-net: convert so_txtime to drv-net</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/drivers/net/so_txtime.c#5c6baef3885c0e16e63d432fe31aa6f7e98e18dc</link>
        <description>selftests: drv-net: convert so_txtime to drv-netIn preparation for extending to pacing hardware offload, convert theso_txtime.sh test to a drv-net test that can be run against netdevsimand real hardware.Also update so_txtime.c to not exit on first failure, but run tocompletion and report exit code there. This helps with debuggingunexpected results, especially when processing multiple packets,as happens in the &quot;reverse_order&quot; testcase.Signed-off-by: Willem de Bruijn &lt;willemb@google.com&gt;----v6 -&gt; v7- update test to use new argument expect_fail- v6 received Reviewed-by, but dropped due to above (minor) changev5 -&gt; v6- fix order in tools/testing/selftests/drivers/net/configv4 -&gt; v5- move qdisc setup/restore into each test- add tc to utils.py (separate patch)- test expected failure (separate patch)- fix pylint- convert fail to pass for timing errors if KSFT_MACHINE_SLOW  (cmd does not special case KSFT_SKIP process returncode yet)Responses to sashiko review- The test converts per packet failure to errors, to continue  testing other packets, but other error() cases are not in scope.- The test starts sender and receiver at an absolute future time,  like the original test. This assumes ~msec scale sync&apos;ed clocks.- The tc qdisc replace command works fine with noqueue. Tested  manually.v3 -&gt; v4- restore original qdisc after test- drop unnecessary underscore in tap test namesv2 -&gt; v3- Makefile: so_txtime from YNL_GEN_FILES to TEST_GEN_FILES (Sashiko, NIPA)v1 -&gt; v2- move so_txtime.c for net/lib to drivers/net (Jakub)- fix drivers/net/config order (Jakub)- detect passing when failure is expected (Jakub, Sashiko)- pass pylint --disable=R (Jakub)- only call ksft_run once (Jakub)- do not sleep if waiting time is negative (Sashiko)- add \n when converting error() to fprintf() (Sashiko)- 4 space indentation, instead of 2 space- increase sync delay from 100 to 200ms, to fix rare vng flakesLink: https://patch.msgid.link/20260504174056.565319-4-willemdebruijn.kernel@gmail.comSigned-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;

            List of files:
            /linux/tools/testing/selftests/drivers/net/so_txtime.c</description>
        <pubDate>Mon, 04 May 2026 19:38:34 +0200</pubDate>
        <dc:creator>Willem de Bruijn &lt;willemb@google.com&gt;</dc:creator>
    </item>
</channel>
</rss>
