From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f48.google.com (mail-dl1-f48.google.com [74.125.82.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5976ADDA9 for ; Wed, 18 Mar 2026 00:08:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773792503; cv=none; b=Ux2TvFW9Yw/JYIuxwjW9mci5YUeKc5ZAlrp6U9fu80qoz/OjLgKtLHO4kP3NetCf/1jKpOf+tX0f8gDIPrIoRCRYp47pqEM+7KtS7aBrQgPrZxcOQoV2d7EvsQYzWqW7PWm3zINjsWvx/D6S7NzpBCKGX3GGDPnDQGAsKuEPdiw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773792503; c=relaxed/simple; bh=cb8vE5HSSq56kcm56PlKyEh4gwh0lYtwbgbWt/bAoqg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=avN85+EB1XoC0tcsQVNSVIMFsFZKKXPMQMQsw91UY8s2wPqYP4FtxdKGjYpjO2kuRfdFAUFieRF/gb032l3sJz9JGv4wPp2N/WjNl7wM/P8HR5u8RtSAGDmBkLJQAaSvY4Y3U2cX1Ga53eJPI75NLIvQPEAwTO81uHPF9NXSVsQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VoikiAEb; arc=none smtp.client-ip=74.125.82.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VoikiAEb" Received: by mail-dl1-f48.google.com with SMTP id a92af1059eb24-1273349c56bso9794057c88.0 for ; Tue, 17 Mar 2026 17:08:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773792501; x=1774397301; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=66d1uFpzzYCPdrNc8SA1GRs22SJbjq+tbh3FLYNMt+0=; b=VoikiAEbYz7YDzEx9ZurrTlvtBsB5G3PggbpGOo2tVhI1Zls437fOikSRxq5+nJRW0 rkB/xgnpOo2N7uBVffghrmR7bBLZPXsi0pk1eXUUyrkGA58zmwk8R4Be1r8KN0t7gWjP eDBhDJWfGzFcx7ck4XTK8pvryRpsGracfmKPxDUfA15WPu3N1ol1I132/BqI73QrTcvd ZTmLQAjCF0pGpsA7HM4tuQ0NMQGSmg/+Ti2IRbOM66rodehJYfhlindkb0jExiPhuEBH LxerTl0R5d8fpitcjfyDnZWuaN1xBe/V5u0TUk8DH4podPB5zMk4qYE4df9Rd7lGyvGP O3xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773792501; x=1774397301; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=66d1uFpzzYCPdrNc8SA1GRs22SJbjq+tbh3FLYNMt+0=; b=Kpjn055SsODGEtXTa7TwkzFO9BcFm+rBnah4FA9/CIBRtzK+qeSqZ9X3gZnZgsJySc 53KZpsO1+EIbKyGbs/qNkHqrFBypqcKZMQrQKevMMosAq3xISiIqL1beL9PVNPnrEN2e y9cHBVwaiT3y+BfsJEpkxmnZ99VAEWMyCMCkKfrOs+ymgFVtkiEfcueBk2Ds7xYfkJkg LZhUBHJp9LWwcOrxOBnQP+k/nJRauarH2ntUUX/b0cA61KQOgVFcJlLrfPHaqf6SXa7g Uk8esNKfwHTaMh+69HE5+ntslnAPjVTFQmvTEcFOZyE9T0mvH2g0jaUPaMIiaqOkAavd zhnA== X-Forwarded-Encrypted: i=1; AJvYcCUNhOk765+HLw6yPMg40r5q4xk/SRBzVGZJlnix+x1pWZX5CKtdmwSzys+El7Mcedpl2tf9ayyu38inBgE=@vger.kernel.org X-Gm-Message-State: AOJu0YwutRhhzCFWgNaOJx31nHkc6UR4vtXPTe0cr/sPpDZt0TRcVs1D 7F4FiNXTvfBYjSTb5vuWSw4U/ld0n+eDTo1D2Rut2tcHglRIq6c0vz0= X-Gm-Gg: ATEYQzyik5Wg1m/R1VfyYr4CuMItv4iH9rubqqb/UA5GZU+E7OiOqcjKYrIR/t5XFK9 jmMCAfuRoC7EI9kgMHLpOO7YA2C98nWMA+MBOQ5epLtW3Z816wFb7Zi8QYsiLoE0nG1VkMdXiAj qt8NeCm6yWZKsQMcMx1h4JnugiTYvr3KOQ0CD3u1CZu9p05Ud8MFXfVIONbxuanB2t5ySRY8ioY 0Z4mUmDq2stB+FBMbUj9hGT4J99i9wya8+CQWDX87LSRJAFbdLkdAwhNA31PH4NArgQmNeAyU2y E6jgSrhnkq7RVHdp8scQOdczlhPM6sZYQvjT0Q0Zp/D1FhyncHwVV9/k8YGsquq8JmqOQaudYf7 ywQ9PyroWiHfUFkviapf7+VoGb7HmJGnC60Izen3SYvDVqqnR30Umx+ubAiH80BVdwVbAB00fyo 2vCFfl51gBqX1ZPVxV23BOYDEM+0sJcYwMrg2JgqD14wGCD7a817DPenj4GHqC+XvGjWevnfAgE +Gx0+0ei1cGLwA7jA== X-Received: by 2002:a05:7022:6a5:b0:128:d471:8c1 with SMTP id a92af1059eb24-1299ba3e555mr676234c88.17.1773792501230; Tue, 17 Mar 2026 17:08:21 -0700 (PDT) Received: from localhost (c-76-102-12-149.hsd1.ca.comcast.net. [76.102.12.149]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-129b4127b7esm2264454c88.9.2026.03.17.17.08.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Mar 2026 17:08:20 -0700 (PDT) Date: Tue, 17 Mar 2026 17:08:20 -0700 From: Stanislav Fomichev To: Bobby Eshleman Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Andrew Lunn , Shuah Khan , Stanislav Fomichev , Mina Almasry , Wei Wang , David Wei , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, bpf@vger.kernel.org, Bobby Eshleman Subject: Re: [PATCH net-next 5/6] selftests: drv-net: add netkit devmem RX test Message-ID: References: <20260316-scratch-bobbyeshleman-tcp-dm-netkit5-v1-0-b53c8cd72b23@meta.com> <20260316-scratch-bobbyeshleman-tcp-dm-netkit5-v1-5-b53c8cd72b23@meta.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260316-scratch-bobbyeshleman-tcp-dm-netkit5-v1-5-b53c8cd72b23@meta.com> On 03/16, Bobby Eshleman wrote: > From: Bobby Eshleman > > Add tests for devmem RX over a netkit device with a leased queue. This > is the same as the other devmem RX test except for ncdevmem executes in > a namespace, binds to a netkit, and skips the ethtool NIC configuration > steps (relying on the test runner for that setup). > > The RX path is setup as the following: > > RX Path > ------- > > Remote Physical NIC Netkit Host Netkit Guest (netns) > | | | | > |--- TCP send ------>| | | > |-------------------->| | > dmabuf |--- BPF redirect -->| > Is it too messy to parametrize the existing test to run both with and without the namespaces? Feels like should be somewhat doable in python?