From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from stravinsky.debian.org (stravinsky.debian.org [82.195.75.108]) (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 C9427346E68; Thu, 26 Mar 2026 09:33:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=82.195.75.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774517588; cv=none; b=Zo7uzO5ltOX3LHcjTEXEgGjyOtUNIxQS7ndeWQkjgXSGY8c4LBHRycThD8DI0o4bJ8K5v5r6hXb+k5oXG3KeMpfWnrpR5HuHHi7Befcg2nK+5qdvTaCM8sueyrFdFLR0cToEJ/e1ujlmFDZ2ElcV7o3i+ZIlbQfzMP3oZWnRIo4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774517588; c=relaxed/simple; bh=lr+fL1xZKdJvJ+cIO01kA3TTYfyVOiqIfSGhQyVjGKc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cSjC3ZisnrBbxT2ArjQbBMi9T+I+eKTxtnQiRIenv6fu1guK/zMvpzcIYHgYNBDYTg9EKl0JD3DtesiNjLumCcmI2Id5ch7E04nME6NL6Q+D902Xvoau7lYtTF9JcJNVA50x4abKcaj36b8Scl8e3HGG9ieWJTuPoWC7bejsyLI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=none smtp.mailfrom=debian.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b=fdMqbocP; arc=none smtp.client-ip=82.195.75.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=debian.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b="fdMqbocP" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-ID:Content-Description; bh=Z0WUXCv4keO15fOq2l2m6s3jGy09mN43/z1icMRS0wY=; b=fdMqbocPxjGNnT5Ya5fGprjYIh Hat0N0TO/7vRh3HaWvtE3QMCwmYzBJy8kcaPkVz44Fg4Vmb4JN4O6SP8YgN2YPU+YxwbymKEiJlJk KDNcZpg+GubLqZSUb11th+uLQM2c5aFg3vftBlC3MCLbQ8wL6wnRnvLnJNDDR+SngKaF/zuy1LXs0 +3yMAD6VbfEsSokXz7Wu7jzPAkQQe51VFyeNCzMarAu/NnknLIkpuGGxDg4TLK1lADrobVDjxZ5dL oBZVVBNsMqAFBSIbxV9nlirP+JUnn7t0vJQFj2xzg8Nhs7C7iBlcOIqT+JI3RMl7vcgKqG5pHGMF7 7sWWC3LQ==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1w5h5J-009kkg-25; Thu, 26 Mar 2026 09:33:01 +0000 Date: Thu, 26 Mar 2026 02:32:54 -0700 From: Breno Leitao To: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= Cc: netdev@vger.kernel.org, "David S. Miller" , Andrew Lunn , Donald Hunter , Eric Dumazet , Jakub Kicinski , Maxime Chevallier , Naveen Mamindlapalli , Paolo Abeni , Simon Horman , Danielle Ratson , Hariprasad Kelam , Ido Schimmel , Kory Maincent , Leon Romanovsky , Michael Chan , Oleksij Rempel , Pavan Chebbi , Piergiorgio Beruto , Russell King , Saeed Mahameed , Shuah Khan , Tariq Toukan , Willem de Bruijn , Kees Cook , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-rdma@vger.kernel.org Subject: Re: [PATCH net-next v2 09/12] selftests: drv-net: Add MAC loopback netdevsim test Message-ID: References: <20260325145022.2607545-1-bjorn@kernel.org> <20260325145022.2607545-10-bjorn@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260325145022.2607545-10-bjorn@kernel.org> X-Debian-User: leitao On Wed, Mar 25, 2026 at 03:50:16PM +0100, Björn Töpel wrote: > +def _dfs_write_u32(cfg, path, val): > + with open(os.path.join(_nsim_dfs_path(cfg), path), "w", > + encoding="utf-8") as f: > + f.write(str(val)) This function doesn't seem to be called, right? > +def main() -> None: > + """Run netdevsim loopback tests.""" > + with NetDrvEnv(__file__) as cfg: > + cfg.ethnl = EthtoolFamily() Given some functions above assume this is nsim, should you call cfg.require_nsim() ? Reviewed-by: Breno Leitao