Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp919293ybx; Tue, 5 Nov 2019 07:33:15 -0800 (PST) X-Google-Smtp-Source: APXvYqwnVz1e7rSQHpsDpiy0W5fXKNQ4UeW9WKpW/jjlxnVlj4ULjHOAMnR5inDDqUg6b6SKfynI X-Received: by 2002:aa7:c44a:: with SMTP id n10mr25663261edr.282.1572967995674; Tue, 05 Nov 2019 07:33:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572967995; cv=none; d=google.com; s=arc-20160816; b=p9Sr3WvCBmcL6UJuQY09MCpe4QG+GBl7/DXBIHDZfHWabOzzKdGvUALXb91plV550q 84TNOOH98x1xXL6y4hgHpDqERFVYQBWaLH4VydYLgxlltWpr0Wl65jQDEIS5AkKygLde vFYc+WTc1v3lXZFtkj/2VgPLqGDJ3+FgQXoWXr5dmIWMb96w/MHddKXFR/4ZF3OJ6VMN PB2w2NqxebgvM/RYMSNx5sXbc7GZ9y+EyJyZ9wS7wkTXspP/4mBT1iFQ83C7O1bvu2Bu ewNKCQAH+JVHkpm+RcbAyo92xWmcdFhOUAQxmGW90FR5Eaz63LpY29imETA/tLpI7uTm AEGA== 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=s2TmiHe+2IZ1+CeMP+3a/G9Evi0uiXMiBte57KWe560=; b=W5bEZbG/xNKQEuXIlNsLBdR1trXW+4TpB5OIOrQFbRjAw9yJKDTMtBgk++vyKel4XR fA049gjE85hvWZ9HmsZQMQBpTDYb7lKz8CemPLxP4Ht8dO1WN1UvTr5QOQj0C6yrkqHm 4tZ/1UvDSxwWaT3s6CRTqbHVUEtTgvOZF9BWmuMLxmCHRDV0kId4RFgnLiMMzOrFNoLV jQud7kkUYBItB3EztMhMT2oteckrOFauK1+Jvam4Sn9RNp4KyLd8KUj3zQHBIGHM1yMc 41X+JZ4r4R3MVn+3D6qXlhqfk6qYVBQMKhAEOO7roZVEJPDTjKPgnurlV+Jt60OubL/f ZyCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AGYV1hB7; 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 h12si13211551ejj.40.2019.11.05.07.32.52; Tue, 05 Nov 2019 07:33:15 -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=@kernel.org header.s=default header.b=AGYV1hB7; 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 S2389546AbfKEPcM (ORCPT + 99 others); Tue, 5 Nov 2019 10:32:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:45262 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731074AbfKEPcM (ORCPT ); Tue, 5 Nov 2019 10:32:12 -0500 Received: from localhost (unknown [62.119.166.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6229D20650; Tue, 5 Nov 2019 15:32:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572967931; bh=8QBM5P0flv1we6e9LYSanSHn4Dn5kSuOJJrqooSAN0g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AGYV1hB7hST6Cda6NKrHlv9hJR7MVgUVC0b75GuwgJB/Lu8rEm09BLBQ5iqCQzSZ+ vt23pTH3xEGPItrW1JqUuBckayflOZEairIJ4QOKLVkJItGpfJVflmy452QqTYrZ4s bIqsq85i5D4L1CAKvzqpfEDF6omyCDIcALRh/3kI= Date: Tue, 5 Nov 2019 16:32:05 +0100 From: Greg KH To: Andrew Lunn 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: <20191105153205.GA2617647@kroah.com> References: <1572957275-23383-1-git-send-email-ioana.ciornei@nxp.com> <20191105132435.GA2616182@kroah.com> <20191105140256.GB7189@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191105140256.GB7189@lunn.ch> User-Agent: Mutt/1.12.2 (2019-09-21) 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 03:02:56PM +0100, Andrew Lunn wrote: > 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. Ok, if the netdev developers say that this is needed before it can move out of staging, then that's fine, I didn't get that from this submission, sorry. greg k-h