Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp765954pxy; Wed, 28 Apr 2021 13:50:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrhbsiWaxs5YfI/ITYSOwk+c1nWIC0mo+fQ3Sh0sHBDalVnWphfYIK8Xq/WC+LED7iGYES X-Received: by 2002:a17:906:4049:: with SMTP id y9mr5069468ejj.344.1619643039544; Wed, 28 Apr 2021 13:50:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619643039; cv=none; d=google.com; s=arc-20160816; b=gAUHSkYE0ONZKaUpnnKzrDh3bMt4jH8RZRExZnBQPsbRusFfFdBxwPj+sePkraxrAT CbWxW0WldNfO0tcvrD4q5OyhIQl5JcyY3zg8pYaPTX0Zo8ZSoibimFnM5t6Rhrz0He0M qDBFTdcb5V4lKxqnOe6H9cGPZssMZ/aRXvPmdvdhCL/yqYM3Jf2B3qymD46IXYUtBARp 7lskH8QTk+mjsK6b1UUnedaOj/cmXUnZdo7dMMVdVc6KTj1ZHPpvdNdsbusfnJbQMmaU mg/uJ97m2d4egUExVtEGJB+k3zX6TSNgEsqg7yFPI7PcZ5Zx02aIJI2EtlH0ICRQtH0d wv3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mY4uqW18n/NF/XSmc5ThVXIcVlC3sMKlFzlW3oQj1HU=; b=yraeRUl/7XuEjJVZHYaLYh6KYjm3z0rCO+mQmzsog/iuId2W88Igj8JDLJbMQzVlXq 7L/qx+Myf1G4nZVpzs0VL5BOqO3X4qAtawX6hxNC4pTiva5MKrS6g+URjiTXXEoIhdNr YFlzd4L5Lyjy4QHc70IrSl5NAt2dnBSLEbIltJJUyWy4Osuo6IFJu4uDDxjjgCJWCdCy AEVvl7gWWJAphrkFrtESX2L1LGPQev8DJJ/sOyIfkQ0SWkyV1SxMOU7cVOR/V6wRJeEU 991wT5FHkpw/vaJgWDRwYekVfyJBm6y5iPYjUi+kWtbnWjRAMuV79C1Zh8It8E4G08um 29aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=KCLQb8UX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si824764ede.14.2021.04.28.13.50.14; Wed, 28 Apr 2021 13:50:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=KCLQb8UX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240812AbhD1QiC (ORCPT + 99 others); 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: linux-kernel@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.