From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 8F0BF81B for ; Wed, 9 Aug 2023 05:47:49 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85C381BF0 for ; Tue, 8 Aug 2023 22:47:48 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 025025C00A8; Wed, 9 Aug 2023 01:47:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 09 Aug 2023 01:47:48 -0400 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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1691560068; x=1691646468; bh=yLvlcFCleSMkH jdDx+BJE+52uyRxuKQqUkkFUbCUpSM=; b=OGeTH9WVSoTriihSRTPgx+ybwkAXy THDTz3+ZCnEtO+MuwwO9lKG4CpSHGqZA2tyGAALRadsBjPQrmO+mewRT5goQ4tKs sDz/c9tsXDs30Q+uQXGQUf/6eKO4NrJIYsZOT/s4ybXW9OJsRm6FEhjd3Cxt7yHX pPFPUYYBXGiHtc19tO1+uO9ozoYAtTemIK453ivKXgY4eBzGX4RDkItkSVygUn2X a7XQN8uDixSGP8tM5iy9oDChcZVIYNDVwRK9d35kIYq+QhAi5gYYiNYqj4pCM2pt Et3KxDsZsUEtk3ASdakgjercUiimViGZF4nvrGtA9CvSzCp06bx9rh4aA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrleefgdelkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefkughoucfu tghhihhmmhgvlhcuoehiughoshgthhesihguohhstghhrdhorhhgqeenucggtffrrghtth gvrhhnpedvudefveekheeugeeftddvveefgfduieefudeifefgleekheegleegjeejgeeg hfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehiug hoshgthhesihguohhstghhrdhorhhg X-ME-Proxy: Feedback-ID: i494840e7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Aug 2023 01:47:47 -0400 (EDT) Date: Wed, 9 Aug 2023 08:47:45 +0300 From: Ido Schimmel To: Hangbin Liu Cc: Ido Schimmel , netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, edumazet@google.com, petrm@nvidia.com, razor@blackwall.org, mirsad.todorovac@alu.unizg.hr Subject: Re: [PATCH net v2 06/17] selftests: forwarding: Add a helper to skip test when using veth pairs Message-ID: References: <20230808141503.4060661-1-idosch@nvidia.com> <20230808141503.4060661-7-idosch@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=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net On Wed, Aug 09, 2023 at 09:55:25AM +0800, Hangbin Liu wrote: > On Tue, Aug 08, 2023 at 05:14:52PM +0300, Ido Schimmel wrote: > > A handful of tests require physical loopbacks to be used instead of veth > > pairs. Add a helper that these tests will invoke in order to be skipped > > when executed with veth pairs. > > Hi Ido, > > How to create physical loopbacks? It's the same concept as veth. Take two physical ports and connect them with a cable.