Article View: linux.kernel.netdev
Article #21449Re: [PATCH v5 net-next 13/13] selftests: xsk: document generic and hardware endpoint runs
From: Jakub Kicinski
Date: Tue, 24 Nov 2026 01:32
Date: Tue, 24 Nov 2026 01:32
15 lines
8587 bytes
8587 bytes
On Thu, 19 Nov 2026 17:46:36 +0100 Maciej Fijalkowski wrote: > +``xsk.py`` starts one ``xskxceiver`` process on the local interface and > +one on the remote interface for each case, and owns the TAP results. It > +starts the local endpoint first. That one listens on a TCP control port > +(``--listen``) on the local address, and the remote endpoint connects to > +it over the tested link. The listener reports on ``KSFT_READY_FD`` once it > +listens, so ``xsk.py`` starts the remote endpoint without polling for the > +port. The listener waits 10 seconds for its peer. This README is a pile of auto-generated slop. This is how most two-host tests work :/ Please trim the doc down just to what is unusual about the test. And preferably load that up into the doc section of the Python file (at the top)? We plan / hope / dream of rendering the python docstrings as "test information" somewhere on the web.. one day..
Technical Details
Message-ID:
<20261123173210.1cbcb9dd@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369935-linux-kernel-netdev=dewy.ruReferences:
<20261119164636.1071385-1-maciej.fijalkowski@intel.com> <20261119164636.1071385-14-maciej.fijalkowski@intel.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369935-linux-kernel-netdev=dewy.ru From: kuba@kernel.org (Jakub Kicinski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v5 net-next 13/13] selftests: xsk: document generic and hardware endpoint runs Date: Mon, 23 Nov 2026 17:32:10 -0800 Organization: Usenet Network Message-ID: <20261123173210.1cbcb9dd@kernel.org> References: <20261119164636.1071385-1-maciej.fijalkowski@intel.com> <20261119164636.1071385-14-maciej.fijalkowski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="4026731"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:VeghDvkci1ZSytvpQElZ2q6E854= sha256:Je/2/KFAaI/rX2xy9IO9wtP7Y3tH6tfhxmlZha0Sq7Y= sha1:c0KS/a64nGYIPeuDjy34hlC1cik= sha256:b+vABlQRBGT1S9cETzNnvWItAwSeXKGOQINHvMSnGYg= 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 42870125DCA; Tue, 24 Nov 2026 04:32:29 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, 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 vXE9FZjwQNkq; Tue, 24 Nov 2026 04:32:26 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-369935-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 2D181125DC9; Tue, 24 Nov 2026 04:32:17 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 42625604F8E; Tue, 24 Nov 2026 01:32:15 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795483932; b=rrYcZy2o+nc8TaspC9zOu9ZGgZ7f96cfDA89Hd3BBg9UXMU5ieckOEOOjYiEPNmsDEEp Ti6R9ov+Ef6zgf+XeLOqCQdGPOahmZ50wanotxqiPiS1prrpIhICUEoaP7Hs2wRPTxtKM XdufWFYf6Pa1qhSyTKiPztm4EMOJjPmoP0o+3tFUPweT0fVHdlasX4fE5DH/FaXlYU6oT XqiRXOqzPgMYY4D3XDm3mqszvcCuevVjspOCI/inE4BvWQa4Ax1U/pCBVjqgduOqaWYQn wUqAwFZBg2Pe/59gPh+BJ5iO/eOokLBJ0490FnaMr+GnemI0IEmKoxtCQiMWUuDEmww== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795483932; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:In-Reply-To:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=DXlOmlmxKZLAkagXzw74NiSKxdqa+vwVh+OnB+/BACM=; b=lckDdIQ9NHZCaDxKNdeNdiObD7eW1DVOswRhuZ/d6FFNm012GYhh+hqRZlhuFd3jTK/z rW7EInbcOLA7KJaJYFig1goZAFdUy5ghl/Q5REiTMYetTMpyVK3SO/bAPRs6pROlZsdoc fFM2nYRk9p+VgbiAT4G/+NLQ76loWUfxJbCPW282JwL/o1iNabDVfApcwhbvceEO9PJjt OWLbSZOspuFsl1c644xSSGrF0L2puICHgip58APnDMTiNNq3/lLMn0N65pNQywqH3zq4v +IwfcyjvfX7Jwq/g+c7xAjv2gTURma6Z+o6LyX2IWL8NdKDuhyCfBwNfquP2mX+tPgg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=MCeFt0Ur; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ABB7F606A6A3; Tue, 24 Nov 2026 01:32:12 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=MCeFt0Ur X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795483931; b=qFQEPXzx/JK3XhAlUxh3YBBuJ+ghPfJcocBRUxA6indbk0ghkjNc6Ud1+A3zSJboAFxE qgufFR2yA6dq5cLgCdBxQEKokcLiDxTEpzUqb9RpNcglIw9gzR1Pox3R2z3ONjKM0oQU2 hi2lNPLKSNPQ0R5YNRdTCegwNQ8B+LUIMmQeCUqjle3nDb8yWz4MBUQzJqJTnyGZxujOS Ch5X8ptzbtrsaamfzXNVflNjHHtoiVWxV+ZQeh8H80d20dHx6PxJ9+2+3WSyufhHHQL+5 ZT2LIumx7mttY+PC62+ntLy4+zaNpTwxwmPEBWwsY+cIE2PQJJTSzQqU/l/ZE+JynYg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795483931; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=DXlOmlmxKZLAkagXzw74NiSKxdqa+vwVh+OnB+/BACM=; b=qRbAvKwDt4uDfTROD60l3HHiTS30wuNhh/owdqn4JZBbSetmu0H/FDf6MObpMCbkB6rR 7Or/GrfUER0+IIcI5W/LHWaeQwMLwsOXjX93KWD0CUvUUJWPlIsKWznCN/X6NAmxFGAcZ ckvZvWCBi5gD+6vVKPdL0t++jx9QWKzy2q+49jJoPPimhXcqy8Rl4KFR1gU0QBQdFeeRK NcTqoykYr0nWhRGmGcXn+XdVSEm3SIJdrHw4pTdqvZludc4MKSayLx1mIG75f3nTEa9FS uBKqINyDLBpHQiNeo//nNyxCGtsoMGATvMs8F+XnGW7GHE37J4mgF4SvbLwz8S0OBxw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=MCeFt0Ur; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEF75606A691 for <netdev@vger.kernel.org>; Tue, 24 Nov 2026 01:32:11 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id D03C11F000C0; Tue, 24 Nov 2026 01:32:10 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795483931; bh=DXlOmlmxKZLAkagXzw74NiSKxdqa+vwVh+OnB+/BACM=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=MCeFt0Uraqh/LGe8aptARqG7zC6TLl4UnR9O6ADmQ5TJ9W0Fx9Brp4hnMhil8qqlt Y8q3pCsjmmCuYp0yzdUtTFTubutHMshx0UBapnYcUk2iVANgPx5Mtrabv8AvPdIUG2 UodUf8kEPidLGFmc8WBKuTkvtsOGU5EaFa9Gphygu5553WbXPwunsk7ZKKq4Y0zdz8 JT+Loz26sBG7OEl+sjFoypFOgX6GjOHAgzumAAYZUc6t5I2Y5y2R6C0feCEkJIcnBt RDmfwP9mR7TK62V7Db4zxt6bwsdBaFi9iFZe/nVUYHQ9JJFgEZgl35rx4lkmDHlkp6 D3WNo+GohCwDQ== X-Cc: netdev@vger.kernel.org, magnus.karlsson@intel.com, stfomichev@gmail.com, pabeni@redhat.com, tushar.vyavahare@intel.com, kerneljasonxing@gmail.com, bjorn@kernel.org X-In-Reply-To: <20261119164636.1071385-14-maciej.fijalkowski@intel.com> X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list