<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>29b036be - selftests: drv-net: test XDP, HDS auto and the ioctl path</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/net/lib/Makefile#29b036be</link>
        <description>selftests: drv-net: test XDP, HDS auto and the ioctl pathTest XDP and HDS interaction. While at it add a test for using the IOCTL,as that turned out to be the real culprit.Testing bnxt:  # NETIF=eth0 ./ksft-net-drv/drivers/net/hds.py  KTAP version 1  1..12  ok 1 hds.get_hds  ok 2 hds.get_hds_thresh  ok 3 hds.set_hds_disable # SKIP disabling of HDS not supported by the device  ok 4 hds.set_hds_enable  ok 5 hds.set_hds_thresh_zero  ok 6 hds.set_hds_thresh_max  ok 7 hds.set_hds_thresh_gt  ok 8 hds.set_xdp  ok 9 hds.enabled_set_xdp  ok 10 hds.ioctl  ok 11 hds.ioctl_set_xdp  ok 12 hds.ioctl_enabled_set_xdp  # Totals: pass:11 fail:0 xfail:0 xpass:0 skip:1 error:0and netdevsim:  # ./ksft-net-drv/drivers/net/hds.py  KTAP version 1  1..12  ok 1 hds.get_hds  ok 2 hds.get_hds_thresh  ok 3 hds.set_hds_disable  ok 4 hds.set_hds_enable  ok 5 hds.set_hds_thresh_zero  ok 6 hds.set_hds_thresh_max  ok 7 hds.set_hds_thresh_gt  ok 8 hds.set_xdp  ok 9 hds.enabled_set_xdp  ok 10 hds.ioctl  ok 11 hds.ioctl_set_xdp  ok 12 hds.ioctl_enabled_set_xdp  # Totals: pass:12 fail:0 xfail:0 xpass:0 skip:0 error:0Netdevsim needs a sane default for tx/rx ring size.ethtool 6.11 is needed for the --disable-netlink option.Acked-by: Stanislav Fomichev &lt;sdf@fomichev.me&gt;Tested-by: Taehee Yoo &lt;ap420073@gmail.com&gt;Link: https://patch.msgid.link/20250221025141.1132944-2-kuba@kernel.orgSigned-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/net/lib/Makefile</description>
        <pubDate>Fri, 21 Feb 2025 02:51:41 +0000</pubDate>
        <dc:creator>Jakub Kicinski &lt;kuba@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>9b06d5b9 - selftests: net/{lib,openvswitch}: extend CFLAGS to keep options from environment</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/net/lib/Makefile#9b06d5b9</link>
        <description>selftests: net/{lib,openvswitch}: extend CFLAGS to keep options from environmentPackage build environments like Fedora rpmbuild introduced hardeningoptions (e.g. -pie -Wl,-z,now) by passing a -spec option to CFLAGSand LDFLAGS.Some Makefiles currently override CFLAGS but not LDFLAGS, which leadsto a mismatch and build failure, for example:  /usr/bin/ld: /tmp/ccd2apay.o: relocation R_X86_64_32 against    `.rodata.str1.1&apos; can not be used when making a PIE object; recompile with -fPIE  /usr/bin/ld: failed to set dynamic section sizes: bad value  collect2: error: ld returned 1 exit status  make[1]: *** [../../lib.mk:222: tools/testing/selftests/net/lib/csum] Error 1openvswitch/Makefile CFLAGS currently do not appear to be used, butfix it anyway for the case when new tests are introduced in future.Fixes: 1d0dc857b5d8 (&quot;selftests: drv-net: add checksum tests&quot;)Signed-off-by: Jan Stancek &lt;jstancek@redhat.com&gt;Acked-by: Matthieu Baerts (NGI0) &lt;matttbe@kernel.org&gt;Reviewed-by: Hangbin Liu &lt;liuhangbin@gmail.com&gt;Link: https://patch.msgid.link/3d173603ee258f419d0403363765c9f9494ff79a.1737635092.git.jstancek@redhat.comSigned-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/net/lib/Makefile</description>
        <pubDate>Thu, 23 Jan 2025 12:38:51 +0000</pubDate>
        <dc:creator>Jan Stancek &lt;jstancek@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>a6e263f1 - selftests: net: lib: Introduce deferred commands</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/net/lib/Makefile#a6e263f1</link>
        <description>selftests: net: lib: Introduce deferred commandsIn commit 8510801a9dbd (&quot;selftests: drv-net: add ability to schedulecleanup with defer()&quot;), a defer helper was added to Python selftests.The idea is to keep cleanup commands close to their dirtying counterparts,thereby making it more transparent what is cleaning up what, making itharder to miss a cleanup, and make the whole cleanup business exceptionsafe. All these benefits are applicable to bash as well, exception safetycan be interpreted in terms of safety vs. a SIGINT.This patch therefore introduces a framework of several helpers that serveto schedule cleanups in bash selftests:- defer_scope_push(), defer_scope_pop(): Deferred statements can be batched  together in scopes. When a scope is popped, the deferred commands  scheduled in that scope are executed in the order opposite to order of  their scheduling.- defer(): Schedules a defer to the most recently pushed scope (or the  default scope if none was pushed.)- defer_prio(): Schedules a defer on the priority track. The priority defer  queue is run before the default defer queue when scope is popped.  The issue that this is addressing is specifically the one of restoring  devlink shared buffer threshold type. When setting up static thresholds,  one has to first change the threshold type to static, then override the  individual thresholds. When cleaning up, it would be natural to reset the  threshold values first, then change the threshold type. But the values  that are valid for dynamic thresholds are generally invalid for static  thresholds and vice versa. Attempts to restore the values first would be  bounced. Thus one has to first reset the threshold type, then adjust the  thresholds.  (You could argue that the shared buffer threshold type API is broken and  you would be right, but here we are.)  This cannot be solved by pure defers easily. I considered making it  possible to disable an existing defer, so that one could then schedule a  new defer and disable the original. But this forward-shifting of the  defer job would have to take place after every threshold-adjusting  command, which would make it very awkward to schedule these jobs.- defer_scopes_cleanup(): Pops any unpopped scopes, including the default  one. The selftests that use defer should run this in their exit trap.  This is important to get cleanups of interrupted scripts.- in_defer_scope(): Sometimes a function would like to introduce a new  defer scope, then run whatever it is that it wants to run, and then pop  the scope to run the deferred cleanups. The helper in_defer_scope() can  be used to run another command within such environment, such that any  scheduled defers run after the command finishes.The framework is added as a separate file lib/sh/defer.sh so that it can beused by all bash selftests, including those that do not currently uselib.sh. lib.sh however includes the file by default, because ideally alltests would use these helpers instead of hand-rolling their cleanups.Signed-off-by: Petr Machata &lt;petrm@nvidia.com&gt;Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/net/lib/Makefile</description>
        <pubDate>Thu, 17 Oct 2024 09:45:43 +0000</pubDate>
        <dc:creator>Petr Machata &lt;petrm@nvidia.com&gt;</dc:creator>
    </item>
<item>
        <title>1d0dc857 - selftests: drv-net: add checksum tests</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/net/lib/Makefile#1d0dc857</link>
        <description>selftests: drv-net: add checksum testsRun tools/testing/selftest/net/csum.c as part of drv-net.This binary covers multiple scenarios, based on arguments given,for both IPv4 and IPv6:- Accept UDP correct checksum- Detect UDP invalid checksum- Accept TCP correct checksum- Detect TCP invalid checksum- Transmit UDP: basic checksum offload- Transmit UDP: zero checksum conversionThe test direction is reversed between receive and transmit tests, sothat the NIC under test is always the local machine.In total this adds up to 12 testcases, with more to follow. Forconciseness, I replaced individual functions with a function factory.Also detect hardware offload feature availability using Ethtoolnetlink and skip tests when either feature is off. This need may becommon for offload feature tests and eventually deserving of a thinwrapper in lib.py.Missing are the PF_PACKET based send tests (&apos;-P&apos;). These usevirtio_net_hdr to program hardware checksum offload. Which requireslooking up the local MAC address and (harder) the MAC of the next hop.I&apos;ll have to give it some though how to do that robustly and wherethat code would belong.Tested:        make -C tools/testing/selftests/ \                TARGETS=&quot;drivers/net drivers/net/hw&quot; \                install INSTALL_PATH=/tmp/ksft        cd /tmp/ksft	sudo NETIF=ens4 REMOTE_TYPE=ssh \		REMOTE_ARGS=&quot;root@10.40.0.2&quot; \		LOCAL_V4=&quot;10.40.0.1&quot; \		REMOTE_V4=&quot;10.40.0.2&quot; \		./run_kselftest.sh -t drivers/net/hw:csum.pySigned-off-by: Willem de Bruijn &lt;willemb@google.com&gt;Link: https://lore.kernel.org/r/20240507154216.501111-1-willemdebruijn.kernel@gmail.comSigned-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/net/lib/Makefile</description>
        <pubDate>Tue, 07 May 2024 15:40:58 +0000</pubDate>
        <dc:creator>Willem de Bruijn &lt;willemb@google.com&gt;</dc:creator>
    </item>
<item>
        <title>b86761ff - selftests: net: add scaffolding for Netlink tests in Python</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/net/lib/Makefile#b86761ff</link>
        <description>selftests: net: add scaffolding for Netlink tests in PythonAdd glue code for accessing the YNL library which lives undertools/net and YAML spec files from under Documentation/.Automatically figure out if tests are run in tree or not.Since we&apos;ll want to use this library both from net anddrivers/net test targets make the library a target as well,and automatically include it when net or drivers/net areincluded. Making net/lib a target ensures that we end upwith only one copy of it, and saves us some path guessing.Add a tiny bit of formatting support to be able to output KTAPfrom the start.Reviewed-by: Petr Machata &lt;petrm@nvidia.com&gt;Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/net/lib/Makefile</description>
        <pubDate>Fri, 05 Apr 2024 02:45:22 +0000</pubDate>
        <dc:creator>Jakub Kicinski &lt;kuba@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
