From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7A25242061 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 80A1642137 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680253123; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=BYgdpbZjRcMBBZb2pcPFoHc8NfA9uoYOg/WF0eXftpw=; b=lVKy9HSAOGeFLg+iy7ujKGiGribkgannSjZw89QjDiPB0ZV6BZm9+DizSMM+gX3jEw 8QIkoiOy2MNkxNZZupbYDoc64yJzb7Zakr4oYn+NZsqx23cfATRwfdyLTql0+IM3dC5T 9zKB3+Y68Ext8eXLKbm+4W1Mq+WMbsW3LTUkmel8sWJCt88C13fN9xBBvjtKqUosu9Gw ucQZhXb/e9f0vPsnfBcOSdQNwVW3hXH1vRu0z/fas0JuC3+hUy/k1KwL7H5IS5+eme+q lWNM6p5ohWlyVrBT/8KIVW5ZPpOmzUu9j6j2ZOXYo+84gdkfqnAmrpw7d0uQRaY9JwTf NIdg== Date: Fri, 31 Mar 2023 11:58:40 +0300 From: Vladimir Oltean Message-ID: <20230331085840.5wfxsuj6u7hge2uj@skbuf> References: <20230318141010.513424-1-netdev@kapio-technology.com> <20230318141010.513424-7-netdev@kapio-technology.com> <87a5zzh65p.fsf@kapio-technology.com> <874jq22h2u.fsf@kapio-technology.com> <20230330192714.oqosvifrftirshej@skbuf> <874jq1mkm1.fsf@kapio-technology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874jq1mkm1.fsf@kapio-technology.com> Subject: Re: [Bridge] [PATCH v2 net-next 6/6] selftests: forwarding: add dynamic FDB test List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hans Schultz Cc: Andrew Lunn , Alexandre Belloni , Nikolay Aleksandrov , Kurt Kanzenbach , open list , Eric Dumazet , "open list:KERNEL SELFTEST FRAMEWORK" , Shuah Khan , Ivan Vecera , Florian Fainelli , "moderated list:ETHERNET BRIDGE" , Ido Schimmel , kuba@kernel.org, Paolo Abeni , =?utf-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , Christian Marangi , Woojung Huh , Landen Chao , Jiri Pirko , Hauke Mehrtens , Sean Wang , DENG Qingfang , Claudiu Manoil , "moderated list:ARM/Mediatek SoC support" , Matthias Brugger , "moderated list:ARM/Mediatek SoC support" , AngeloGioacchino Del Regno , netdev@vger.kernel.org, Roopa Prabhu , "maintainer:MICROCHIP KSZ SERIES ETHERNET SWITCH DRIVER" , "open list:RENESAS RZ/N1 A5PSW SWITCH DRIVER" , davem@davemloft.net On Fri, Mar 31, 2023 at 09:43:34AM +0200, Hans Schultz wrote: > On Thu, Mar 30, 2023 at 22:27, Vladimir Oltean wrote: > > This is how I always run them, and it worked fine with both Debian > > (where it's easy to add missing packages to the rootfs) or with a more > > embedded-oriented Buildroot. > > I am not entirely clear of your idea. You need somehow to boot into a > system with the patched net-next kernel You have to do that anyway for any kind of kernel work, no? > or you have a virtual machine boot into a virtual OS. I guess it is > the last option you refer to using Debian? You could do that too, but you don't have to. Debian, like many other Linux distributions, supports a wide variety of CPU architectures; it can be run on embedded systems just as well as on desktop PCs or VMs. I didn't say you have to use Debian, though, I just said I ran the selftests on a Debian-based rootfs and that it was easy to prepare the environment there. The Debian rootfs and the selftests were deployed to the target board with the DSA switch on it, in case that wasn't clear.