Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3292800rdb; Wed, 13 Sep 2023 07:56:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGTmeuRipivk/3R153p17LyWd27Btc16ZRdd3/y3rLYPhlpaD+T7fWmLiL/XuZ3ZSIU5TNW X-Received: by 2002:a05:6808:85:b0:3a7:9bc2:ff6b with SMTP id s5-20020a056808008500b003a79bc2ff6bmr3019909oic.5.1694617005138; Wed, 13 Sep 2023 07:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694617005; cv=none; d=google.com; s=arc-20160816; b=dHNqXQpMd8MmOMtB+Oxmcmii46bqF+bb928RTXBiLBRU6jTttaxb0BlkUONpZQJRHQ BAY7GMHHM/5N0ybblHFy+6zghh+u2D36lUcZTpoaanS+xlI6ET4HV5JRizECpTABZx1P 2Ihe1WHJRG3R6s+ulXmjJ6vX2c8Q/ey2/f8f/v3uH5dLQc2mZBeQwA6qz9G/U6ji9LTI 9aQz+XBCjCc6w1Hivu/aOQiHR5SwCaqqnlhmf/4WR2rOkGQ8+HIVLhA9dBGns6rcoYGo bmPH4COWwb7qQ0+POt3/g9FuuXFK5t0haa86j9ODvkeiLujdI9RwHfk/IwKzMdhyfshz xM/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9fjohWWyeQwCPIoP4ypoYm41HAX/BcH8sWQeNzqML3s=; fh=Dlk0F54n1taO7W33B1B6Abnxe6cHk72/AeKj3dbcrAs=; b=FNTKAdv1TAT9qIUm/RO2zpxE27HvP/vT2w1peVdOixzm4DwxS7WIcAklmlSysFatrU xZqiN7Viy/NhveCdR9tiAzeIBNHnpD8dYOlB81xgiMHpbMKceEBKewEkwcZgG7Mnq2dn j3lcdLkpUgb8WagTr6mk7nU/F4yRtUutg/t7uOxGsZrSJuo/PeH63Jue7l2+whlZpVDu KBsqlPuiyCh3/dy9a2mguRil7Vr8EnpqlhkuT/bOjDJMkHYA8PEGCAk2WpFXT5sKftdK KZtq5xal55LIPBH7edQM/1vidQTeQ1meYpKe+OH2K8AsccaNodeWmYUdQCa27Lyy9XkO AvbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=tO6wyliQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id b17-20020a631b11000000b00577d99bd04esi1078765pgb.313.2023.09.13.07.56.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 07:56:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=tO6wyliQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4911881C527F; Wed, 13 Sep 2023 05:20:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240386AbjIMMU3 (ORCPT + 99 others); Wed, 13 Sep 2023 08:20:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240320AbjIMMU3 (ORCPT ); Wed, 13 Sep 2023 08:20:29 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B579519A8; Wed, 13 Sep 2023 05:20:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=9fjohWWyeQwCPIoP4ypoYm41HAX/BcH8sWQeNzqML3s=; b=tO6wyliQMAg4HHakrUy4uugtK8 0pr0AC+xQRdcusx7kPBY09WkFgvz4bXZHUcJ8QT6OMnd3IdMci0otVUK+Bo0JxJDfH73F+8kjvJ8C v5OrXwRktbaKnvhjJR5+rHgu8BPO6m06kPrx5u5m6RjiDeiC4AaACEkTrmbHSOBMmCus=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qgOqb-006Iux-2J; Wed, 13 Sep 2023 14:19:57 +0200 Date: Wed, 13 Sep 2023 14:19:57 +0200 From: Andrew Lunn To: MD Danish Anwar Cc: Roger Quadros , Simon Horman , Vignesh Raghavendra , Jacob Keller , Richard Cochran , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, srk@ti.com, r-gunasekaran@ti.com, Pekka Varis Subject: Re: [RFC PATCH net-next 3/4] net: ti: icssg-prueth: Add support for ICSSG switch firmware on AM654 PG2.0 EVM Message-ID: <055e781e-f614-4436-9d8d-e60e17fac5c9@lunn.ch> References: <20230830110847.1219515-1-danishanwar@ti.com> <20230830110847.1219515-4-danishanwar@ti.com> <1fb683f4-d762-427b-98b7-8567ca1f797c@lunn.ch> <0d70cebf-8fd0-cf04-ccc2-6f240b27ecca@ti.com> <12c11462-5449-b100-5f92-f66c775237fa@kernel.org> <3fbf9514-8f9f-d362-9006-1fd435540e67@ti.com> <09931a97-df62-9803-967f-df6135dc3be7@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <09931a97-df62-9803-967f-df6135dc3be7@ti.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Sep 2023 05:20:34 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email > As discussed on this thread, switching operation can work with the ICSSG > switch firmware, without creating bridge. However without bridge only > forwarding works. If we want the switch to consume packets bridge is > required. What packets will the switch consume? The only packets i can think of are pause frames. Everything else get passed to the CPU. You also need to think of what happens when a single switch port is added to the bridge, and an external port, like a tun/tap device for a VPN is added to the bridge. For most switches, a port not being a member of a switch means the port is pretty dumb and every frame is forwarded to the CPU. There are however some switches which perform address learning as usual, learning if an address is on the port, or on the CPU. Maybe you can see if that is possible. It might be you need your firmware people involved to produce a new firmware version which combines both firmwares in one. Andrew