From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9415C433ED for ; Wed, 28 Apr 2021 16:37:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8C1DD613FF for ; Wed, 28 Apr 2021 16:37:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241012AbhD1QiC (ORCPT ); Wed, 28 Apr 2021 12:38:02 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:40149 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230243AbhD1QiB (ORCPT ); Wed, 28 Apr 2021 12:38:01 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 47A9C5830E6; Wed, 28 Apr 2021 12:37:16 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 28 Apr 2021 12:37:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=mY4uqW 18n/NF/XSmc5ThVXIcVlC3sMKlFzlW3oQj1HU=; b=KCLQb8UXJ6U8R9ZfwJmIlk /uzeYOvde0bkgslXN9Z0BniKuOkH9YsAlvEothC6VMOJ693n/CVbBkDjwgfhxWeO NdZACvg1AwOfbD4HU2QImHvDN0QQiTY6KZjCwSuzUzVpr61TsfMnztFog0v0DxQ2 dcugZU4LPFpy3vJ3PAad9/UhJ7KZ94o60u5qpNnxiJxgz10hYpe2fSNmfUwsP5Jf rGmVPWsnLUpQt4gb62EzFh/GFyHiI3QaDegiuIFUFB8U5sudt1eD1cWHH5/ZoSJp +eOTfc9KscsT0Knvb7mbz0q4wsLAQdeexKjQSMB1oTC/I/KenZsOXtH8wja9KveQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddvvddgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefkughoucfu tghhihhmmhgvlhcuoehiughoshgthhesihguohhstghhrdhorhhgqeenucggtffrrghtth gvrhhnpedtffekkeefudffveegueejffejhfetgfeuuefgvedtieehudeuueekhfduheel teenucfkphepkeegrddvvdelrdduheefrddukeejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepihguohhstghhsehiughoshgthhdrohhrgh X-ME-Proxy: Received: from localhost (igld-84-229-153-187.inter.net.il [84.229.153.187]) by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 28 Apr 2021 12:37:14 -0400 (EDT) Date: Wed, 28 Apr 2021 19:37:11 +0300 From: Ido Schimmel To: Pavel Balaev Cc: netdev@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Jonathan Corbet , Hideaki YOSHIFUJI , David Ahern , Shuah Khan , Christophe JAILLET , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Ido Schimmel Subject: Re: [PATCH v6 net-next 3/3] selftests/net/forwarding: configurable seed tests Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, Apr 28, 2021 at 03:34:55PM +0300, Pavel Balaev wrote: > Test equal and different seed values for IPv4/IPv6 > multipath routing. The test does not follow the usual convention of forwarding tests that are expected to be run with both veth pairs and loop backed physical devices. See: tools/testing/selftests/net/forwarding/README (and existing tests for reference) This approach allows us to test both the software and hardware data paths. You can construct a test where you have multiple VRFs instead of multiple namespaces. These VRFs emulate your hosts and routers. Send multiple flows from one host and check the distribution across the multiple paths connecting your two routers. Change the seed, expect a different distribution. Go back to original seed and expect the original distribution.