Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5785978ybf; Thu, 5 Mar 2020 07:02:32 -0800 (PST) X-Google-Smtp-Source: ADFU+vsYFqCv5EdVlLeSZRac9zeaNZjLNTTDvlj+GyZVA1KFjN1kUTBYfl9/FbOxYQoE8eDSjhbF X-Received: by 2002:aca:d509:: with SMTP id m9mr6019187oig.136.1583420552649; Thu, 05 Mar 2020 07:02:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583420552; cv=none; d=google.com; s=arc-20160816; b=0YPVUPc0hLj0qnTmfXGhZl1USIExipVUMiRZ+37XiZv11HuPd6AY8ddKjKYkHmath5 rbk0vpHHtL8DbcG/QPYxIJjFA6gs/fJQJ6zKdfek4WJ74/oaDpJc8jg09+Uv1AnOWW3O vb58ctKZ4Gxs1gfs7meTyb9aKxSN7AvHbctwlITaHRqUEABt1hZIBTeND+BAsqnnxeoj Eb0GIMdkGzcaCKMxFAgk87AKo4R3kqSfdFfGpXdiNWcaobL0yuZx/MJEN8V+AaXdxDKU KJF8x0ZU2ZGSqd0D1bCPAFLA+H1TfBv5fKLco9CBqGl+ZBHk+BfElrEktTmYXgIKrc+y uFew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=+DeXswil40YIVs1J0/sih2u3eHdfb9FN+gx7TY4Aqzs=; b=LLCIUC3f/scoZbDnBJXpzTy5YRwSw/N7rGeUbKI5cXxelDAwj9FUR6MM1Bnq2Ybx9t SMSWROwD7hq2IeEsCVNjLGVvdqNL+v8Qr2FxM22tNDXKFfFPDxj1kintxnJBjxcnrAZY shnk529bCi3S5CGvoDaFiYfAMoNvYigmLK06YjccHe/4vUV3ln4MRLt68gLkR46noKJ1 K900TsytCHEJf3t6aCCdkkwtnYDept6PD3sSoWRSj5GBzsxFGuNN8pdz34jJSnp25miy Wf+3gW9zJ+xxpXzaIrW1sHslY64l9SLlXcwxAHcjJLBfFXxyQRD/72le9VL4Lkel146+ pczA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=g5rhbu4N; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a24si3578196otr.15.2020.03.05.07.02.16; Thu, 05 Mar 2020 07:02:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=g5rhbu4N; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726889AbgCEPBS (ORCPT + 99 others); Thu, 5 Mar 2020 10:01:18 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:50821 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726178AbgCEPBS (ORCPT ); Thu, 5 Mar 2020 10:01:18 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id DA8AC2241C; Thu, 5 Mar 2020 10:01:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 05 Mar 2020 10:01:16 -0500 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=+DeXsw il40YIVs1J0/sih2u3eHdfb9FN+gx7TY4Aqzs=; b=g5rhbu4NYzRgkBKXiUm9jc HjSUz1IJVrtHXo310LfJsM27A9295V6a32TVfust7uqueePGLlh8dwl/K+xCmEnO 2sa8xtJ1rhAfLXXRoLzyHfhfCeaLjGIQvPywYwvDoDrG9MlmhLWc9ocdOy/haqbV aREQFhZQhotKzU/LjHWnfZZTdCNVJjIUXVA3Tf/EzIdWveBuFY74q9RmkDCvp1at 5xj3NVIaDj9dFqtiCa7J0neKVeyFjYJYRPJSBRBmQIaJJ98Ko7r+Rc0K0JsDZrqv yoHY08VJXuv7tbdvYRe60yP9j1p4hitQPrEo+mkArvCwIwHjWmirmO9Nkxu5qXqQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddutddgjeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefkughoucfu tghhihhmmhgvlhcuoehiughoshgthhesihguohhstghhrdhorhhgqeenucfkphepudelfe drgeejrdduieehrddvhedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepihguohhstghhsehiughoshgthhdrohhrgh X-ME-Proxy: Received: from localhost (unknown [193.47.165.251]) by mail.messagingengine.com (Postfix) with ESMTPA id A840D3280064; Thu, 5 Mar 2020 10:01:15 -0500 (EST) Date: Thu, 5 Mar 2020 17:01:14 +0200 From: Ido Schimmel To: Vadym Kochan Cc: "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "David S . Miller" , Oleksandr Mazur , Taras Chornyi , Serhiy Boiko , Andrii Savka , Volodymyr Mytnyk Subject: Re: [RFC net-next 0/3] net: marvell: prestera: Add Switchdev driver for Prestera family ASIC device 98DX326x (AC3x) Message-ID: <20200305150114.GB132852@splinter> References: <20200225163025.9430-1-vadym.kochan@plvision.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200225163025.9430-1-vadym.kochan@plvision.eu> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 25, 2020 at 04:30:52PM +0000, Vadym Kochan wrote: > Marvell Prestera 98DX326x integrates up to 24 ports of 1GbE with 8 > ports of 10GbE uplinks or 2 ports of 40Gbps stacking for a largely > wireless SMB deployment. It seems that this device has enough ports to loopback to each other in order to create meaningful topologies. Therefore, I suggest running relevant existing tests under tools/testing/selftests/net/forwarding/ and contributing new ones. See tools/testing/selftests/net/forwarding/README for details. One problem you will run into is that your netdev notifier only allows bridge uppers and will therefore veto VRF uppers, which is a prerequisite. However, since you don't support L3 offload, then all routed traffic should reach the CPU anyway and therefore VRF uppers can be allowed.