Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp817054ybx; Tue, 5 Nov 2019 06:05:17 -0800 (PST) X-Google-Smtp-Source: APXvYqzic97dCUf7E+rZs2U9AvTK4KjQEcWA1duu8u2hA/Dqc4GYfZiHUQZS58A7A1uyevKt9zu5 X-Received: by 2002:a50:f987:: with SMTP id q7mr33044893edn.205.1572962717570; Tue, 05 Nov 2019 06:05:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572962717; cv=none; d=google.com; s=arc-20160816; b=wfA3fHZjT0VpJxyZJKPnaZXG0NOB+KwQ5B6J4fItgIMPDxFZxqUvkIM+1KEEbR/KTq Wzl+jLnJFlt0a0GUnstMQjb7jMSMNQGAT/MBe7NNsDputa9nrTrFvkeJy1L/6amwFvR/ h8ojcPoWBV9xWSkjktIydD30P9UcAzxi1n1RZoQ5N0TK3Y42R4qJrwYuecIA9pIEG0a/ JoYXe/7k8nvHVl0X67fVYbEDZNjnvAmFLp9NSUV3hoJYQXiWgmmvHyH8cMa3z0PSHOSF b7obwBpjlk7KRsKZ9/opPDTnxnZjGHgtXuPxinU8YYzajfACn1+Jo7fuMxglxpd5GH8s Rc3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=myH3nUXs8MY5+0kwyDTaLgY2LdTUc8u0DBEGTyOkRck=; b=j8IXT/FyakVtcOqn/GyDXc0X5TsVIJ5cFx1RY1fJXyvbY5+f143TyF2ZfaBQ8Op2/S NxNuaj/HrjLzhRh7Deo0hS/mv17I7h/+VNcMd2mC0lWiVG7lHxPfM6UEtQARoHcT4jj8 sOWTgWgdfbBUmFKOxO1SCHCiHCzn9I5CaRX4kUqZSwYjV3PjqiZ6EG2UxakZvgYQZ5ME W2lnrFL52+ofZVNmyU3R7j8kJ6eIZVSO2oveDXPkSMNskp8doN+VcRKZuweF4Y/nkd5A EqLCmip29b/HspdM617uaWHqown6yKaMGOO38mf6YcS/6aXO4QMd/rJM9eSir02gs3Wf TY9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=cmLn01hJ; 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 l15si8967780ejc.27.2019.11.05.06.04.51; Tue, 05 Nov 2019 06:05:17 -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=fail header.i=@lunn.ch header.s=20171124 header.b=cmLn01hJ; 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 S2389467AbfKEODA (ORCPT + 99 others); Tue, 5 Nov 2019 09:03:00 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:49802 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388428AbfKEODA (ORCPT ); Tue, 5 Nov 2019 09:03:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=myH3nUXs8MY5+0kwyDTaLgY2LdTUc8u0DBEGTyOkRck=; b=cmLn01hJB1tmlu8+9Dv8zd14YR xwgAptI6XaZx+qwB9VBO4q99qWgvMNGM+xZb/wEoamTNgm4c/i9/eUReJvHt6QRQMu+Asnz5RPNMn RjsVNScEmHqAlbFwYJi/t7bw2lqUZ0ojc3VpjYzQdmPtU3qNokx1X9qm7zBcsKnPgzAo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.92.2) (envelope-from ) id 1iRzQ8-0002AK-Ij; Tue, 05 Nov 2019 15:02:56 +0100 Date: Tue, 5 Nov 2019 15:02:56 +0100 From: Andrew Lunn To: Greg KH Cc: Ioana Ciornei , linux-kernel@vger.kernel.org, f.fainelli@gmail.com Subject: Re: [PATCH 00/12] staging: dpaa2-ethsw: add support for control interface traffic Message-ID: <20191105140256.GB7189@lunn.ch> References: <1572957275-23383-1-git-send-email-ioana.ciornei@nxp.com> <20191105132435.GA2616182@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191105132435.GA2616182@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 05, 2019 at 02:24:35PM +0100, Greg KH wrote: > On Tue, Nov 05, 2019 at 02:34:23PM +0200, Ioana Ciornei wrote: > > This patch set adds support for Rx/Tx capabilities on switch port interfaces. > > Also, control traffic is redirected through ACLs to the CPU in order to > > enable proper STP protocol handling. > I thought I asked for no new features until this code gets out of > staging? Only then can you add new stuff. Please work to make that > happen first. Hi Greg This is in response to my review of the code in staging. The current code is missing a core feature for an Ethernet switch driver, being able to send/receive frames from the host. At the moment it can only control the hardware for how it switches Ethernet frames coming into/going out of external ports. One of the core ideas behind how linux handles Ethernet switches is that they are just a bunch of network interfaces. And currently, these network interfaces cannot send/receive. We would never move an Ethernet driver out of staging which cannot send/receive, so i don't see why we should move an Ethernet switch driver out of staging which also cannot send/receive. Maybe this patchset could be minimised. The STP handling is just nice to have, and could wait until the driver has moved into the main tree. Andrew