From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) (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 76FEB4317D; Wed, 8 Apr 2026 18:01:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.146 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775671266; cv=none; b=oqpdcvxfo1JP2AP6VkvUcFBlVBhasWX01S0/DVh3Xd60eBPpynXpODm1CODs7d+dqxky43SLeYobX8i7o2ImoA4bGlH5LC+5PQYelA9FDPUChy4VI0jvTos50AQwy82nJ38CBnuR4t3sqj5N+LpnrCL11qiEQohplZJR5lBgE0k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775671266; c=relaxed/simple; bh=QC5gkRPIAuhh0lxly35F9zV0BbUKfHHCyyHTCdeEfYE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iCqEGtmjBP4vFjmjE+qmZuSzeYFZXgsQl54CZEElm9KDyqqkhqnOtfcojPCjUjTC63yeDG8rKtotQtHNoBreCZ9ZNGUK6ck0ygS7xaBkffm2rDjaVq8e3lftgU2mOjTJz0FdZWfmqyeaIhjT6nY5Qic4CRO4hDuy0+vbpxUaM/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net; spf=pass smtp.mailfrom=queasysnail.net; dkim=pass (2048-bit key) header.d=queasysnail.net header.i=@queasysnail.net header.b=Azy4N4mz; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=PvB9HLVB; arc=none smtp.client-ip=202.12.124.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=queasysnail.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=queasysnail.net header.i=@queasysnail.net header.b="Azy4N4mz"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="PvB9HLVB" Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id 1A94F1D00281; Wed, 8 Apr 2026 14:01:02 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Wed, 08 Apr 2026 14:01:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=queasysnail.net; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1775671261; x= 1775757661; bh=b8nHCVt3ibsu0+QXfjS3MVb3Q+x9ehwEWmyQgygbBs0=; b=A zy4N4mzst171FX8vmaEfzbjEE5ipXaVBT7q32K1WSaCyY6TB7PP3MZI8HSnelozN KzKw6EZH5W+4ZLiNf4QRDxLyfApPjzR8ltRKwMjZj0AQA+lfVS4OZih+FxZgd3o2 3mvz9vB7ya6DtOUCJAUgCysgQVzltW2cHLDW8IHKbrCOx0E0eN+tEo0vIEpgBdQ4 2nWcqT6+BOjxijtT0kXW0cT3BROxZ8no8Q+XR/5hhx9PiatcgyOgyO8SkPzsLSLw Ayq35ZWGjB6w/eIL2OYefeLWPzgcWBEh7akqH7RLRpXvEBrpp1SzMHcOKWEQ+2J4 Vpqx1RdqvKKhRT0vpPkJw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1775671261; x=1775757661; bh=b8nHCVt3ibsu0+QXfjS3MVb3Q+x9ehwEWmy QgygbBs0=; b=PvB9HLVBkhcggCOQCtTstGsGm75ZoJ/smC4l6zWVBy1yHw3+gQQ NNB+/Lr+UduVthP9jiOfYang0XKZCZuCfIcBHbXLKxpZEZ1KvLFv+Z8eLx0qVR0C c+xhoXygg/qDSVmuyUA1WWHUQ94YLqnpL2PNP72A6rR27VXJKe1S7gW2RpUFcc4N VBurwKS7wsXhn+LAUBiMGhTyb29QqmlZEp1oynEV5bhCUzvb4AH/ghVEeQPZEM6e bB11am9qq/97OQtRs4CSiG0AMXkJbWO2ESwQ8CMtFKLk7vrHwUK5b4TjwcBgRgCh q++mngXqBwg6S47jxH4dGaMMI1nPeIhLClQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddvgedvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfhfgggtuggjsehttdertddttdejnecuhfhrohhmpefurggsrhhinhgr ucffuhgsrhhotggruceoshgusehquhgvrghshihsnhgrihhlrdhnvghtqeenucggtffrrg htthgvrhhnpeeuhffhfffgfffhfeeuiedugedtfefhkeegteehgeehieffgfeuvdeuffef gfduffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsugesqhhuvggrshihshhnrghilhdrnhgvthdpnhgspghrtghpthhtohepudefpdhmohgu vgepshhmthhpohhuthdprhgtphhtthhopegtrhgrthhiuhesnhhvihguihgrrdgtohhmpd hrtghpthhtohepnhgvthguvghvsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthht oheprghnughrvgifodhnvghtuggvvheslhhunhhnrdgthhdprhgtphhtthhopegurghvvg hmsegurghvvghmlhhofhhtrdhnvghtpdhrtghpthhtohepvgguuhhmrgiivghtsehgohho ghhlvgdrtghomhdprhgtphhtthhopehkuhgsrgeskhgvrhhnvghlrdhorhhgpdhrtghpth htohepphgrsggvnhhisehrvgguhhgrthdrtghomhdprhgtphhtthhopehhohhrmhhssehk vghrnhgvlhdrohhrghdprhgtphhtthhopehsughfsehfohhmihgthhgvvhdrmhgv X-ME-Proxy: Feedback-ID: i934648bf:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Apr 2026 14:01:00 -0400 (EDT) Date: Wed, 8 Apr 2026 20:00:58 +0200 From: Sabrina Dubroca To: Cosmin Ratiu Cc: netdev@vger.kernel.org, Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Stanislav Fomichev , David Wei , Shuah Khan , linux-kselftest@vger.kernel.org, Dragos Tatulea Subject: Re: [PATCH net v8 1/4] selftests: Migrate nsim-only MACsec tests to Python Message-ID: References: <20260408115240.1636047-1-cratiu@nvidia.com> <20260408115240.1636047-2-cratiu@nvidia.com> Precedence: bulk X-Mailing-List: netdev@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: <20260408115240.1636047-2-cratiu@nvidia.com> 2026-04-08, 14:52:37 +0300, Cosmin Ratiu wrote: > Move MACsec offload API and ethtool feature tests from > tools/testing/selftests/drivers/net/netdevsim/macsec-offload.sh to > tools/testing/selftests/drivers/net/macsec.py using the NetDrvEnv > framework so tests can run against both netdevsim (default) and real > hardware (NETIF=ethX). As some real hardware requires MACsec to use > encryption, add that to the tests. > > Netdevsim-specific limit checks (max SecY, max RX SC) were moved into > separate test cases to avoid failures on real hardware. > > Signed-off-by: Cosmin Ratiu > --- > tools/testing/selftests/drivers/net/Makefile | 1 + > tools/testing/selftests/drivers/net/config | 1 + > tools/testing/selftests/drivers/net/macsec.py | 202 ++++++++++++++++++ > .../selftests/drivers/net/netdevsim/Makefile | 1 - > .../drivers/net/netdevsim/macsec-offload.sh | 117 ---------- > 5 files changed, 204 insertions(+), 118 deletions(-) > create mode 100755 tools/testing/selftests/drivers/net/macsec.py > delete mode 100755 tools/testing/selftests/drivers/net/netdevsim/macsec-offload.sh Reviewed-by: Sabrina Dubroca -- Sabrina