Article View: linux.kernel.netdev
Article #4640Re: [PATCH v4 net-next 00/15] selftests: net: migrate AF_XDP test suite over to net
From: Björn Töpel
Date: Sun, 18 Oct 2026 19:20
Date: Sun, 18 Oct 2026 19:20
40 lines
7448 bytes
7448 bytes
Maciej Fijalkowski <maciej.fijalkowski@intel.com> writes: > v3: https://lore.kernel.org/netdev/20261014184539.774708-1-maciej.fijalkowski@intel.com/ > v3 -> v4: > - add tags from Mr Björn > - Drop --hw in xskxceiver, align packet layout between hw/veth runners (Björn) > - drop parse_u32() in xskxceiver (Björn) > - move ethtool -G and ring sizing logic from C to python > - configurable --timeout (Björn) > - keep the HW_SW_MAX_RING_SIZE batch below the XSK TX ring size (Sashiko) > - restore hugepage count in veth runner on exception paths (Sashiko) > - use ExitStack in hw runner to cover setup unrolls (Björn, Sashiko) > - support IPv6 next to IPv4 (Björn) > - send to the next-hop MAC, the peer need not be on-link (Björn) > - make --listen work on its own rather than follow the TX role (Björn) > - run XDP_SHARED_UMEM on HW, the socket is picked by UDP source port > - fail a case when one endpoint fails and the other skips (Björn) > - keep the TX half of the unaligned check in the xsk_caps conversion > - detach in cleanup_iface() with the flags of mode_to_xdp_flags() > - reserve 2 MiB huge pages, tolerate hosts without hugetlb or root (Sashiko) > - lower the veth case timeout to 20s, within the net timeout (Sashiko) > - guard pkts_in_flight against forged PROGRESS reports (Sashiko) > - log short fragments, fix the IPv4 fragment comment (Sashiko) > - keep the MIN_PKT_SIZE and PKT_HDR_SIZE names to cut churn > - read what a gone peer left at READY, drain after a SKIP (Sashiko) > - cap --max-frags, which sizes a packet array (Sashiko) > - skip the hw run when RSS or ntuple setup is refused (Sashiko) > - bound the gateway ping, fail clearly without its MAC (Sashiko) > - note in the README that RFS has to stay off on the DUT (Sashiko) I think this serves well as a baseline for the XSK HW driver tests. I think we'll surface a lot of bugs here! ;-) For the series: Reviewed-by: Björn Töpel <bjorn@kernel.org>
Technical Details
Message-ID:
<87pkx63jet.fsf@all.your.base.are.belong.to.us>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348156-linux-kernel-netdev=dewy.ruReferences:
<20261016174338.787135-1-maciej.fijalkowski@intel.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348156-linux-kernel-netdev=dewy.ru From: bjorn@kernel.org (Björn Töpel) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v4 net-next 00/15] selftests: net: migrate AF_XDP test suite over to net Date: Sun, 18 Oct 2026 21:20:26 +0200 Organization: Usenet Network Message-ID: <87pkx63jet.fsf@all.your.base.are.belong.to.us> References: <20261016174338.787135-1-maciej.fijalkowski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: usenet.network; logging-data="3407165"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:cIHU4dphg1sYl/7k+GML2vBMRNI= sha256:xMQo7Cl/by7tb3ULWKWZwVPYpaden4aTUMTFzvXspGA= sha1:klF6KvG9OkqKu42/SH7o88vCi0Q= sha256:7DcEFAuntFos8EWPEE854eno1kXrQgDCblYfeevepiM= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id EFB1B110887; Sun, 18 Oct 2026 22:20:51 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.74 X-Spam-Status: No, score=-3.74 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.34, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gn33Ey8XopSd; Sun, 18 Oct 2026 22:20:44 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-348156-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id D647111083E; Sun, 18 Oct 2026 22:20:34 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 50FA82F905; Sun, 18 Oct 2026 19:20:33 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9AAD3F44D5; Sun, 18 Oct 2026 19:20:30 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kMLqpt2J" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D62F2388895; Sun, 18 Oct 2026 19:20:29 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792351230; cv=none; b=ftvKvp2zJoaEDqdLeEE/RYa4OREzA34ufHMfl8EhTRqh4Xw1Jh1bVoecaFwtSfrzMdrkT1Cfze80dZaHLU8Rvq/JveyQ18rQB0E8CM0lvDNVtKaRBR0OMtkiHdfyLebjxm/T+MorPALN8hG7MwNOewCM9bJpPNPazOllROB+A9o= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792351230; c=relaxed/simple; bh=7wpD6rrtVCuVPSDOYFWT3aDtybXWFIN02kCudrQI1ls=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=h/Wt6HUj8He/iAiT8rpIJU0D9VQLCV/6GWtvH4FyVV1xM8gIIx43hib1+bKrpBS0GYjmJol00go5X0W7nLWLSYelXF9MPenh0JLDI8uFQZmcjsqqaVwQQ9Cq2yWOTjha6TRBqIn7PO7ig10xDK6N26kFYbX1+K/8PI/BxoorshY= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kMLqpt2J; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 096DB1F000C4; Sun, 18 Oct 2026 19:20:28 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792351229; bh=7wpD6rrtVCuVPSDOYFWT3aDtybXWFIN02kCudrQI1ls=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=kMLqpt2JoswwT0eqfe1u6vzdu0dGB+DvKVxAapgg3bonlAWk0ezBwaY+5bBGzTljP 51qzrwBFhcE1CmPvIG4ynCR61azMq4yxvd5PJ92n6YKozl8iy05/s6HCoRlYvPrFRi IWseUDIgImi4eXRDYK5Z4/77qjvBX2u6H/1kgcYKk/86o50aFAcTbVvSmP61J0sY42 pP7UrWZBQjfIloVRY0isWhzz7K/gB/s/AXSMBpOPpIKgfgkQeG3S9YjGYmHJTQms89 WXxxJ0HYPDcFCdC1yjCbOfLEgxdoisN9sGc6USmw+lhWWJvVNmAgzy/q8hxb2EUPZC J6nIq+InnnVjQ== X-Cc: bpf@vger.kernel.org, magnus.karlsson@intel.com, stfomichev@gmail.com, kuba@kernel.org, pabeni@redhat.com, tushar.vyavahare@intel.com, kerneljasonxing@gmail.com, Maciej Fijalkowski <maciej.fijalkowski@intel.com> X-In-Reply-To: <20261016174338.787135-1-maciej.fijalkowski@intel.com> X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>