From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F310C17498 for ; Tue, 5 Nov 2019 14:44:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E319121928 for ; Tue, 5 Nov 2019 14:44:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="RmwVhv2z" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389409AbfKEOoe (ORCPT ); Tue, 5 Nov 2019 09:44:34 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:49874 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388976AbfKEOoe (ORCPT ); Tue, 5 Nov 2019 09:44:34 -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=+c1h6MksoHw7Izy6bCwEqip1xk2piM3NtthsfyLl14g=; b=RmwVhv2z+DuJJiuh5Yn6jqqgW+ XQbdvE/gYPkYrAxjJHAlErO+w0r1idD1Vx6ovyIE3vcJh9Pmu2uPyN/JWNCVhtpBpFMBnKjoNSEH8 A08dLlhi7m11Kd1wEasUDEm8jCBUU+SWHv1QNFY1OXhWbT+3vkiB20tj0qVK8AO4+tZQ=; Received: from andrew by vps0.lunn.ch with local (Exim 4.92.2) (envelope-from ) id 1iS04M-0002OO-Pd; Tue, 05 Nov 2019 15:44:30 +0100 Date: Tue, 5 Nov 2019 15:44:30 +0100 From: Andrew Lunn To: Ioana Ciornei Cc: Greg KH , "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: <20191105144430.GE7189@lunn.ch> References: <1572957275-23383-1-git-send-email-ioana.ciornei@nxp.com> <20191105132435.GA2616182@kroah.com> <20191105140256.GB7189@lunn.ch> <39cf7504-7599-83bb-4b53-5a25ff9240a8@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <39cf7504-7599-83bb-4b53-5a25ff9240a8@nxp.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 > Hi Andrew, > > Just to clarify...if the STP handling is removed, then we'll have a > receive code path but no frame will reach it. > This is because, the only way we could direct traffic to the CPU is by > adding an ACL rule. Ah, that is not good. As i said in one of my reviews, you need to receive all multicast and broadcast traffic by default. Without that, ARP will not work. Does the switch perform learning on frames sent from the CPU? Does the switch learn the CPUs MAC address and forward frames to it? Can i add an IP address to the interface and use ping? Andrew