Article View: linux.kernel.netdev
Article #3487Re: [PATCH v3 net-next 03/15] selftests: xsk: drop the single-interface loopback mode
From: Björn Töpel
Date: Thu, 15 Oct 2026 08:17
Date: Thu, 15 Oct 2026 08:17
21 lines
6387 bytes
6387 bytes
Maciej Fijalkowski <maciej.fijalkowski@intel.com> writes: > xskxceiver -i ethX -i ethX, used for HW tests, bound both sockets to > queue 0 of one interface, which the kernel only allows with a shared > UMEM. With the endpoints about to become separate processes, they would > have to share the UMEM mapping and the socket fd. > > The mode also relied on the interface being set up by hand with a > single queue and promiscuous mode, which does not suit CI. The hardware > test added later in this series steers its traffic with ntuple and RSS > configuration instead. > > Remove the shared-UMEM TX setup, the split UMEM addressing and the > POLL_TXQ_FULL workaround it needed, and drop the -i IFACE option of > test_xsk.sh that used it. XDP_SHARED_UMEM (two sockets of one endpoint) > is unaffected. > > Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Reviewed-by: Björn Töpel <bjorn@kernel.org>
Technical Details
Message-ID:
<87y0bz74zb.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-346597-linux-kernel-netdev=dewy.ruReferences:
<20261014184539.774708-1-maciej.fijalkowski@intel.com> <20261014184539.774708-4-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-346597-linux-kernel-netdev=dewy.ru From: bjorn@kernel.org (Björn Töpel) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v3 net-next 03/15] selftests: xsk: drop the single-interface loopback mode Date: Thu, 15 Oct 2026 10:17:12 +0200 Organization: Usenet Network Message-ID: <87y0bz74zb.fsf@all.your.base.are.belong.to.us> References: <20261014184539.774708-1-maciej.fijalkowski@intel.com> <20261014184539.774708-4-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="2484351"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:UuNQ9z39PQtQXBK7M+lho7hqPJw= sha256:ldS99zVixixc3p0nSzyU0nuGGP+gkzcx4PzdH0FgRw0= sha1:VX5F2RmT5DRe0zwhR04NRI1XiL0= sha256:6NDYeRnKSIYmZQaEcvjF2wVPWSYDUotVgccgysF8Ckk= 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 67DC211027C; Thu, 15 Oct 2026 11:29:56 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.34 X-Spam-Status: No, score=-1.34 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, 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 WHLxaGLnddOU; Thu, 15 Oct 2026 11:29:54 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-346597-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id A2AD9110278; Thu, 15 Oct 2026 11:29:44 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 124CC2A532; Thu, 15 Oct 2026 08:17:18 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 058124AC17E; Thu, 15 Oct 2026 08:17:17 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k2ayxIXZ" 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 F2C9A3DD86F; Thu, 15 Oct 2026 08:17:15 +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=1792052236; cv=none; b=sDQZZ8P+YE8FCQ6x7F0g+eTI62G2GoJHSkML6tzWWgLMhaWjHjXwMpdyZTeDUsGaG/l+GACSi1emM4Wf8j9wk4DVNLkUckC1hHnYQ0UGLXrHUTNBdtOA5ZMFw2oiIHG67PVuXPwfOYqcT1Jo9iwftL81+eorXRwRt76zUSuveY8= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792052236; c=relaxed/simple; bh=MyTZY4us75nALOpJNxTHuNxbPQgodRN1DQqSMftrzdw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=ChNVRawV/TrY4wNkzmLBfQV8Vd5/IpRE9+F8CVDvnrQqUk63QYnjbFtR8upMZaRL/W9dS9zUgn8q9NCeGq8flxHBeouWd5n7JuI3T6rKpYZ8IObfhYi5MD8f+3JOZ3P3oqglT19wWTVxtLuztO1mQAmqcKeqp2ExV7lPa8UzmgI= 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=k2ayxIXZ; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFDF91F000C5; Thu, 15 Oct 2026 08:17:14 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792052235; bh=MyTZY4us75nALOpJNxTHuNxbPQgodRN1DQqSMftrzdw=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=k2ayxIXZAVQeUdp20fUamD4jnxyMOhG5+AQggvThDFiZrD+1P3h6GjP/olLUuA49y 8aQILQ7JtnJbWOtOh4Gc8ht6/Xm+GdJCeN+daip/Ba8/54xbXN4yrDW9/eybZbpUxr tKF6N90xjC0JA525rZ4xYheQnZ2NeJ88oRucNtM1PjhgXzBHYBX3I0XznFUtsJjqiY eFJ+8JJcfycT2aI95j+cHTpNNrfSt16uzk2jNr5F3D7PkVnvyTQK6WCIiWOlGDl68c Q8sH4Tnu0ij9pNuQQv50oftE5Wy4NpvAvsX5tuibuKSgMdNcooYidmIaj+POwut7mN 9Z0bWE/ArzHww== 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: <20261014184539.774708-4-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>