[{"id":1770940,"web_url":"http://patchwork.ozlabs.org/comment/1770940/","msgid":"<20170919121755.GB4569@lunn.ch>","list_archive_url":null,"date":"2017-09-19T12:17:55","subject":"Re: [PATCH 5/6] staging: fsl-dpaa2/ethsw: Add README","submitter":{"id":13608,"url":"http://patchwork.ozlabs.org/api/people/13608/","name":"Andrew Lunn","email":"andrew@lunn.ch"},"content":"On Tue, Sep 19, 2017 at 12:01:37PM +0300, Razvan Stefanescu wrote:\n> +Driver uses the switch device driver model and exposes each switch port as\n> +a network interface, which can be included in a bridge. Traffic switched\n> +between ports is offloaded into the hardware. Exposed network interfaces\n> +are not used for I/O, they are used just for configuration. This\n> +limitation is going to be addressed in the future.\n\nHi Razvan\n\nCould you briefly describe how Ethernet frames get from the CPU to the\nswitch. This is what decided if you should write a plain switchdev\ndriver, or a DSA driver.\n\n\tAndrew","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org\n\theader.b=\"n3fEMq1S\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xxMNX4KJ3z9s4q\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tTue, 19 Sep 2017 22:18:36 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1duHU0-0000G5-Jb; Tue, 19 Sep 2017 12:18:32 +0000","from vps0.lunn.ch ([185.16.172.187])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1duHTw-0000BF-0m for linux-arm-kernel@lists.infradead.org;\n\tTue, 19 Sep 2017 12:18:30 +0000","from andrew by vps0.lunn.ch with local (Exim 4.84_2)\n\t(envelope-from <andrew@lunn.ch>)\n\tid 1duHTP-000447-3l; Tue, 19 Sep 2017 14:17:55 +0200"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=BXznhLCO5T+GYRJbC1ak3pRoL2Uc+i7txYGky34d3Tw=;\n\tb=n3fEMq1Sh6vAxx\n\tD0Kyqa07iowupVMGcDE/7EQ4RSK+L9R7JO8GlAVc+0FFAqFO/+xfM4tynu2IHnq5NJhvW6l4cjms+\n\tT6VpsZVM591J6KN5dD5CR+HOPiKMUlqxJm5Q3br3/0L84aPObO499haJgZI5kunxdJgk1hanh0yAm\n\t0ltCywsek3HxkVidA86FaaSyOkR1xqPJQYksfI2vwTFC4lVxHrdvOWiTwBCAK7tt8TITUF4M9WOD0\n\t4416ABjYnsplNZoI9dB4z4hbRj0XQms1/cASx2MJQmCUve1ZeJnRmllmV0Ck8WkN0L5mqvMA51ev7\n\t3t0Bz+x/k9XlqfhtUJKQ==;","Date":"Tue, 19 Sep 2017 14:17:55 +0200","From":"Andrew Lunn <andrew@lunn.ch>","To":"Razvan Stefanescu <razvan.stefanescu@nxp.com>","Subject":"Re: [PATCH 5/6] staging: fsl-dpaa2/ethsw: Add README","Message-ID":"<20170919121755.GB4569@lunn.ch>","References":"<1505811698-7338-1-git-send-email-razvan.stefanescu@nxp.com>\n\t<1505811698-7338-6-git-send-email-razvan.stefanescu@nxp.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<1505811698-7338-6-git-send-email-razvan.stefanescu@nxp.com>","User-Agent":"Mutt/1.5.23 (2014-03-12)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170919_051828_323329_BA157F62 ","X-CRM114-Status":"UNSURE (   7.78  )","X-CRM114-Notice":"Please train this message.","X-Spam-Score":"-1.9 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"devel@driverdev.osuosl.org, ruxandra.radulescu@nxp.com, arnd@arndb.de,\n\tgregkh@linuxfoundation.org, alexandru.marginean@nxp.com,\n\tlinux-kernel@vger.kernel.org, agraf@suse.de, stuyoder@gmail.com,\n\tbogdan.purcareata@nxp.com, linux-arm-kernel@lists.infradead.org,\n\tlaurentiu.tudor@nxp.com","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1770949,"web_url":"http://patchwork.ozlabs.org/comment/1770949/","msgid":"<20170919122716.GC4569@lunn.ch>","list_archive_url":null,"date":"2017-09-19T12:27:16","subject":"Re: [PATCH 0/6] staging: Introduce DPAA2 Ethernet Switch driver","submitter":{"id":13608,"url":"http://patchwork.ozlabs.org/api/people/13608/","name":"Andrew Lunn","email":"andrew@lunn.ch"},"content":"On Tue, Sep 19, 2017 at 12:01:32PM +0300, Razvan Stefanescu wrote:\n> This patchset introduces the Ethernet Switch Driver for Freescale/NXP SoCs\n> with DPAA2 (DataPath Acceleration Architecture v2). The driver manages\n> switch objects discovered on the fsl-mc bus. A description of the driver\n> can be found in the associated README file.\n\nHi Razvan\n\nYou should probably Cc: netdev with these patches, if you want people\nwho have written switch drivers to review you code. You can also drop\nlinux-arm-kernel, since there is nothing ARM specific in these\npatches.\n\n\tAndrew","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org\n\theader.b=\"S6Aid7iG\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xxMb90mJnz9s7F\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tTue, 19 Sep 2017 22:27:49 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1duHcv-00057D-I9; Tue, 19 Sep 2017 12:27:45 +0000","from vps0.lunn.ch ([185.16.172.187])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1duHcr-00051O-KW for linux-arm-kernel@lists.infradead.org;\n\tTue, 19 Sep 2017 12:27:43 +0000","from andrew by vps0.lunn.ch with local (Exim 4.84_2)\n\t(envelope-from <andrew@lunn.ch>)\n\tid 1duHcS-0004G4-Jc; Tue, 19 Sep 2017 14:27:16 +0200"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=n8gqARXODhD1G7TVgvLpdwznJNVjevT6ip6AmB77AMA=;\n\tb=S6Aid7iGXRR9vI\n\tdZ0f5ow93u5nnxzNEmf/ZczhXbV1PH7g4F9HhCJ6DrTY1Sv4iEJbA7V5aKTSCCbRwQX1KMtCjP7ob\n\tP3GfeDtCUkqiRzzxF/3+zaI+skibsLd70O5o54VtCR6Vl3be3RXAtpZGWVjuxq754PowIGKAuAwIw\n\tlUh0CbYNgFare3CPSkZIQ08R22Gf+cSei17/HVw2fplk3GxlrS2CjwpYqPR1fcJNYU5FBuGHcMSIg\n\tVVW8ijJui4UUZPeSB3Ze3tnucSPleDT4c67dqMfVIF8W633Pkw/0t+aL4sUb1RSS65qoKwlcPQFel\n\tn+Okvfg0gNsLPbPuGSVQ==;","Date":"Tue, 19 Sep 2017 14:27:16 +0200","From":"Andrew Lunn <andrew@lunn.ch>","To":"Razvan Stefanescu <razvan.stefanescu@nxp.com>","Subject":"Re: [PATCH 0/6] staging: Introduce DPAA2 Ethernet Switch driver","Message-ID":"<20170919122716.GC4569@lunn.ch>","References":"<1505811698-7338-1-git-send-email-razvan.stefanescu@nxp.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<1505811698-7338-1-git-send-email-razvan.stefanescu@nxp.com>","User-Agent":"Mutt/1.5.23 (2014-03-12)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170919_052741_888708_0443232F ","X-CRM114-Status":"UNSURE (   7.54  )","X-CRM114-Notice":"Please train this message.","X-Spam-Score":"-1.9 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"devel@driverdev.osuosl.org, ruxandra.radulescu@nxp.com, arnd@arndb.de,\n\tgregkh@linuxfoundation.org, alexandru.marginean@nxp.com,\n\tlinux-kernel@vger.kernel.org, agraf@suse.de, stuyoder@gmail.com,\n\tbogdan.purcareata@nxp.com, linux-arm-kernel@lists.infradead.org,\n\tlaurentiu.tudor@nxp.com","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1778816,"web_url":"http://patchwork.ozlabs.org/comment/1778816/","msgid":"<AM3PR04MB0743030F8D97FFB37016F11AE6720@AM3PR04MB0743.eurprd04.prod.outlook.com>","list_archive_url":null,"date":"2017-10-03T10:07:41","subject":"RE: [PATCH 5/6] staging: fsl-dpaa2/ethsw: Add README","submitter":{"id":72391,"url":"http://patchwork.ozlabs.org/api/people/72391/","name":"Razvan Stefanescu","email":"razvan.stefanescu@nxp.com"},"content":"> -----Original Message-----\n> From: linux-arm-kernel [mailto:linux-arm-kernel-bounces@lists.infradead.org]\n> On Behalf Of Andrew Lunn\n> Sent: Tuesday, September 19, 2017 3:18 PM\n> To: Razvan Stefanescu <razvan.stefanescu@nxp.com>\n> Cc: devel@driverdev.osuosl.org; Ruxandra Ioana Radulescu\n> <ruxandra.radulescu@nxp.com>; arnd@arndb.de; gregkh@linuxfoundation.org;\n> Alexandru Marginean <alexandru.marginean@nxp.com>; linux-\n> kernel@vger.kernel.org; agraf@suse.de; stuyoder@gmail.com; Bogdan\n> Purcareata <bogdan.purcareata@nxp.com>; linux-arm-\n> kernel@lists.infradead.org; Laurentiu Tudor <laurentiu.tudor@nxp.com>\n> Subject: Re: [PATCH 5/6] staging: fsl-dpaa2/ethsw: Add README\n> \n> On Tue, Sep 19, 2017 at 12:01:37PM +0300, Razvan Stefanescu wrote:\n> > +Driver uses the switch device driver model and exposes each switch port as\n> > +a network interface, which can be included in a bridge. Traffic switched\n> > +between ports is offloaded into the hardware. Exposed network interfaces\n> > +are not used for I/O, they are used just for configuration. This\n> > +limitation is going to be addressed in the future.\n> \n> Hi Razvan\n> \n> Could you briefly describe how Ethernet frames get from the CPU to the\n> switch. This is what decided if you should write a plain switchdev\n> driver, or a DSA driver.\n> \n> \tAndrew\n> \nHello Andrew,\n\nCPU frame handling will be added in a later. Each netdevice associated \nto a switch port will have I/O capabilities like dpaa2-ethernet devices.\nThe dpaa2-ethsw will use ACLs to redirect specific types of frames\n(i.e BPDUs) to CPU.\n\nBest regards,\nRazvan S.","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"sWLv07Dv\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"PXkdZZp8\"; \n\tdkim-atps=neutral","spf=none (sender IP is )\n\tsmtp.mailfrom=razvan.stefanescu@nxp.com; "],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y5vqk5mdrz9t5c\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tTue,  3 Oct 2017 21:08:18 +1100 (AEDT)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dzK7Z-00078L-Ox; Tue, 03 Oct 2017 10:08:13 +0000","from mail-db5eur01on0069.outbound.protection.outlook.com\n\t([104.47.2.69] helo=EUR01-DB5-obe.outbound.protection.outlook.com)\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dzK7T-00072H-KZ for linux-arm-kernel@lists.infradead.org;\n\tTue, 03 Oct 2017 10:08:11 +0000","from AM3PR04MB0743.eurprd04.prod.outlook.com (10.160.5.23) by\n\tAM3PR04MB1236.eurprd04.prod.outlook.com (10.163.6.157) with Microsoft\n\tSMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id\n\t15.20.77.7; Tue, 3 Oct 2017 10:07:42 +0000","from AM3PR04MB0743.eurprd04.prod.outlook.com\n\t([fe80::581c:6f9f:d8a9:26f9]) by\n\tAM3PR04MB0743.eurprd04.prod.outlook.com\n\t([fe80::581c:6f9f:d8a9:26f9%14]) with mapi id 15.20.0077.018;\n\tTue, 3 Oct 2017 10:07:41 +0000"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References:\n\tMessage-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=qQINtwfp6ouKE2iQbUqouBR7IqffOq6s/Prg9FV8/dw=;\n\tb=sWLv07DviYAwCh\n\tlx4dx+K+Fnfrq5wGXDXYdv4kmpTah1+gTvLCGFIAPb4K0yYYLOtTTRkBCHXxuauGoTylC++9Gmg8A\n\tNQspoIVQQUa/VCNqO0g+bBqb9y4i3pYZH1sTbK/cbKPLqE7+9GDZu3UekoBanhwwqMGtvQxSPpSTa\n\tCfryuFtK4O1d/PN4a+EQaSBw/FvfCHfqqq1u5d79rYeaxvTQP2F3mi4mOa4k0nhWTB9cnb5/AN6YP\n\t1hPvwNcR/l9OgkY+5Vq27Tw0Kl3fYdrClYaFvzSAzO0SzO7Tlf3lDpf1msgmSgyHTx2sjYZlQPIau\n\t2eMdcK3RJpKcxiQyznGA==;","v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version;\n\tbh=ID8gyjumRje5YAg2RgwPXbw2tHSnPMOEJQivH79FeHU=;\n\tb=PXkdZZp8wf0CIbAmvfw5hklWFpRZB9Pl+OMgDJNVsoFnHTr9vo7Aaq3s4UrI5a8sm+NXue9+YA0ehgvMtgQg8FbXIWjxDs9eB8Eid1i36oWfxl+WJr80HBk9PWTCDKcQM03qfVH1YerSFBs4GswqiczrsOi2tjlFITge4YlWdIU="],"From":"Razvan Stefanescu <razvan.stefanescu@nxp.com>","To":"Andrew Lunn <andrew@lunn.ch>","Subject":"RE: [PATCH 5/6] staging: fsl-dpaa2/ethsw: Add README","Thread-Topic":"[PATCH 5/6] staging: fsl-dpaa2/ethsw: Add README","Thread-Index":"AQHTMUFbrjzH1diWKkmrcDxsIqCKdqLR9eoAgAACCQA=","Date":"Tue, 3 Oct 2017 10:07:41 +0000","Message-ID":"<AM3PR04MB0743030F8D97FFB37016F11AE6720@AM3PR04MB0743.eurprd04.prod.outlook.com>","References":"<1505811698-7338-1-git-send-email-razvan.stefanescu@nxp.com>\n\t<1505811698-7338-6-git-send-email-razvan.stefanescu@nxp.com>\n\t<20170919121755.GB4569@lunn.ch>\n\t<AM5PR0402MB26917E7523D582ABB0A3D0D2EC720@AM5PR0402MB2691.eurprd04.prod.outlook.com>","In-Reply-To":"<AM5PR0402MB26917E7523D582ABB0A3D0D2EC720@AM5PR0402MB2691.eurprd04.prod.outlook.com>","Accept-Language":"en-US","Content-Language":"en-US","X-MS-Has-Attach":"","X-MS-TNEF-Correlator":"","authentication-results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"sWLv07Dv\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"PXkdZZp8\"; \n\tdkim-atps=neutral","spf=none (sender IP is )\n\tsmtp.mailfrom=razvan.stefanescu@nxp.com; "],"x-originating-ip":"[192.88.146.1]","x-ms-publictraffictype":"Email","x-microsoft-exchange-diagnostics":"1; AM3PR04MB1236;\n\t6:/YnSnk7Ppjgk5hJBZP9+2r33TxvoNSXqvITErsetBz9aSM2SlYaVsMChD0PGh43VNuNM35OVxcpi1e7iLBAOE2pKS0s3RYheuytwg59XLBmbvvJeBcB8Uzb94Bq6peiHhum/5Vtq6yl5ep/B2KeeHPFUgPgHcP7zNZ6/RUd6ke5Nh8c8Cu0+0+lAnujj/c1HItNvxMWGqdCGr14To4ngVv/vsfsiHWDRRySEP3bdm8uEvxYFpY26o4tbQnvySQDRJKDTgSMs8SD6B15c3byhs1K8+SbA8WMl9ZJ05BfvepMqr/xpLjt/9nF0DSqLB7O+8BVG1kZPpFGEpY8uO12lAg==;\n\t5:kxt+/YsHgI/ivXXM7yoj7e2+RvLY/L+QEVx2hJhmSoFpIFxyEGe0IHNLQjktx14aB1xQLbFMh4/Vg0TJm74bfaaaZzC5aePDX9WTn6JlW+SmZcmSCtx4AlZ9MIrS42C1KuVN2K65h9ECVnCZnaDIXQ==;\n\t24:AmsW+KI5y01azYUzug7/iSnTUwq4ySLSf1sCp9uisqyuPVhC/qHypRY8Gg1T71vAZTNnO2pkDQXuUgPfh2co6AYZU03YAbC1nS22lvGgTbs=;\n\t7:H1nCbO9hTMjhHdFn/tEEv08tD8nDShcNy0gOj9nUK13CN3sfNpfU361yqlTAb305Ha1LAVYMf+0x3OWHJF08kUpPjH4KWBFOjwzsKTwFKxVEwHDqTir8xIOhiC+TTl88QbN1udqdAwg+xUjkpqLKNgZGZgbslBhkbW8JPvCapVboNbVPu36X/qcAnIXPW57bct9mi0XQQj6ruhA+l20IuXeBYHn8ricjfojZ8UUson0=","x-ms-exchange-antispam-srfa-diagnostics":"SSOS;SSOR;","x-forefront-antispam-report":"SFV:SKI; SCL:-1; SFV:NSPM;\n\tSFS:(10009020)(6009001)(39860400002)(376002)(346002)(199003)(13464003)(24454002)(189002)(377454003)(50986999)(76176999)(6916009)(2950100002)(229853002)(55016002)(9686003)(99286003)(3280700002)(14454004)(6436002)(5250100002)(93886005)(33656002)(6246003)(53546010)(66066001)(3846002)(6116002)(105586002)(106356001)(86362001)(101416001)(3660700001)(4326008)(54356999)(6506006)(53936002)(39060400002)(102836003)(68736007)(81166006)(81156014)(8676002)(54906003)(97736004)(25786009)(305945005)(7736002)(74316002)(316002)(189998001)(478600001)(7696004)(2900100001)(8936002)(2906002)(5660300001);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB1236;\n\tH:AM3PR04MB0743.eurprd04.prod.outlook.com; FPR:; SPF:None;\n\tPTR:InfoNoRecords; A:1; MX:1; LANG:en; ","x-ms-office365-filtering-correlation-id":"d1b5c494-be56-49b1-3b6e-08d50a4695a2","x-ms-office365-filtering-ht":"Tenant","x-microsoft-antispam":"UriScan:; BCL:0; PCL:0;\n\tRULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075);\n\tSRVR:AM3PR04MB1236; ","x-ms-traffictypediagnostic":"AM3PR04MB1236:","x-exchange-antispam-report-test":"UriScan:(9452136761055)(185117386973197)(258649278758335); ","x-microsoft-antispam-prvs":"<AM3PR04MB1236E7A546872336A49FCC71E6720@AM3PR04MB1236.eurprd04.prod.outlook.com>","x-exchange-antispam-report-cfa-test":"BCL:0; PCL:0;\n\tRULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:AM3PR04MB1236; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:AM3PR04MB1236; ","x-forefront-prvs":"044968D9E1","received-spf":"None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)","spamdiagnosticoutput":"1:99","spamdiagnosticmetadata":"NSPM","MIME-Version":"1.0","X-OriginatorOrg":"nxp.com","X-MS-Exchange-CrossTenant-originalarrivaltime":"03 Oct 2017 10:07:41.6125\n\t(UTC)","X-MS-Exchange-CrossTenant-fromentityheader":"Hosted","X-MS-Exchange-CrossTenant-id":"686ea1d3-bc2b-4c6f-a92c-d99c5c301635","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"AM3PR04MB1236","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20171003_030808_012305_3F53E715 ","X-CRM114-Status":"GOOD (  10.57  )","X-Spam-Score":"-3.0 (---)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-3.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno trust [104.47.2.69 listed in list.dnswl.org]\n\t-1.0 RCVD_IN_MSPIKE_H5      RBL: Excellent reputation (+5)\n\t[104.47.2.69 listed in wl.mailspike.net]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's\n\tdomain -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"\"devel@driverdev.osuosl.org\" <devel@driverdev.osuosl.org>, Ruxandra Ioana\n\tRadulescu <ruxandra.radulescu@nxp.com>, \"arnd@arndb.de\" <arnd@arndb.de>, \n\t\"gregkh@linuxfoundation.org\" <gregkh@linuxfoundation.org>, Alexandru\n\tMarginean <alexandru.marginean@nxp.com>,\n\t\"linux-kernel@vger.kernel.org\" <linux-kernel@vger.kernel.org>,\n\t\"agraf@suse.de\" <agraf@suse.de>,\n\t\"stuyoder@gmail.com\" <stuyoder@gmail.com>, \n\tBogdan Purcareata <bogdan.purcareata@nxp.com>,\n\t\"linux-arm-kernel@lists.infradead.org\"\n\t<linux-arm-kernel@lists.infradead.org>, \n\tLaurentiu Tudor <laurentiu.tudor@nxp.com>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1778907,"web_url":"http://patchwork.ozlabs.org/comment/1778907/","msgid":"<20171003123836.GD13548@lunn.ch>","list_archive_url":null,"date":"2017-10-03T12:38:36","subject":"Re: [PATCH 5/6] staging: fsl-dpaa2/ethsw: Add README","submitter":{"id":13608,"url":"http://patchwork.ozlabs.org/api/people/13608/","name":"Andrew Lunn","email":"andrew@lunn.ch"},"content":"On Tue, Oct 03, 2017 at 10:07:41AM +0000, Razvan Stefanescu wrote:\n> > -----Original Message-----\n> > From: linux-arm-kernel [mailto:linux-arm-kernel-bounces@lists.infradead.org]\n> > On Behalf Of Andrew Lunn\n> > Sent: Tuesday, September 19, 2017 3:18 PM\n> > To: Razvan Stefanescu <razvan.stefanescu@nxp.com>\n> > Cc: devel@driverdev.osuosl.org; Ruxandra Ioana Radulescu\n> > <ruxandra.radulescu@nxp.com>; arnd@arndb.de; gregkh@linuxfoundation.org;\n> > Alexandru Marginean <alexandru.marginean@nxp.com>; linux-\n> > kernel@vger.kernel.org; agraf@suse.de; stuyoder@gmail.com; Bogdan\n> > Purcareata <bogdan.purcareata@nxp.com>; linux-arm-\n> > kernel@lists.infradead.org; Laurentiu Tudor <laurentiu.tudor@nxp.com>\n> > Subject: Re: [PATCH 5/6] staging: fsl-dpaa2/ethsw: Add README\n> > \n> > On Tue, Sep 19, 2017 at 12:01:37PM +0300, Razvan Stefanescu wrote:\n> > > +Driver uses the switch device driver model and exposes each switch port as\n> > > +a network interface, which can be included in a bridge. Traffic switched\n> > > +between ports is offloaded into the hardware. Exposed network interfaces\n> > > +are not used for I/O, they are used just for configuration. This\n> > > +limitation is going to be addressed in the future.\n> > \n> > Hi Razvan\n> > \n> > Could you briefly describe how Ethernet frames get from the CPU to the\n> > switch. This is what decided if you should write a plain switchdev\n> > driver, or a DSA driver.\n> > \n> > \tAndrew\n> > \n> Hello Andrew,\n> \n> CPU frame handling will be added in a later. Each netdevice associated \n> to a switch port will have I/O capabilities like dpaa2-ethernet devices.\n> The dpaa2-ethsw will use ACLs to redirect specific types of frames\n> (i.e BPDUs) to CPU.\n\nHi Razvan\n\nI looked at the architecture documentation after i posted this\nemail. It looks like each switch port will get its own DMA queues, etc\non the host. It is not sharing one host interface to get packets to\nthe switch, which is what DSA does. So a pure switchdev driver is the\ncorrect solution here.\n\n      Andrew","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org\n\theader.b=\"t4ISbc0S\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y5zB173Lzz9s0Z\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tTue,  3 Oct 2017 23:39:21 +1100 (AEDT)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dzMTk-0003bL-Dm; Tue, 03 Oct 2017 12:39:16 +0000","from vps0.lunn.ch ([185.16.172.187])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dzMTb-0003VV-Vn for linux-arm-kernel@lists.infradead.org;\n\tTue, 03 Oct 2017 12:39:14 +0000","from andrew by vps0.lunn.ch with local (Exim 4.84_2)\n\t(envelope-from <andrew@lunn.ch>)\n\tid 1dzMT6-00041r-66; Tue, 03 Oct 2017 14:38:36 +0200"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=ecewH8+ho6okPx6605O9Cbc3Qsw0Mem204Iu3oy3Ang=;\n\tb=t4ISbc0SzxpnO3\n\tDWWRU0wN5AMEuk486u2l4rUjE82Jy1xdn5sv8Q2extb2DUL1gWd6MGmuaJaOaw863xL7aLLeYvrhX\n\thseGs96EPZTiSGwGB6M3+5CwD1dPDPjjrl0WqUOILC8KrK2yTsyBRHPCKuzc5l7/TmLX2qz542t7g\n\tvFODkNOvWE7Rvp1HqS0m4dyhXPDRCWmwT7Xb82Sqn+K2eJIOZ0UaKFlwpe7h5XptS2RyfbGQwQ3xg\n\tpV43H+x7Uoul6qaxjLbIwzmdVyx2vVM2+RlAW/ONLKSX9g0inIX5eKkKlCJRdDxG4deWV1oh9EqhN\n\tq24zSQJGuYkiP9DAgwGw==;","Date":"Tue, 3 Oct 2017 14:38:36 +0200","From":"Andrew Lunn <andrew@lunn.ch>","To":"Razvan Stefanescu <razvan.stefanescu@nxp.com>","Subject":"Re: [PATCH 5/6] staging: fsl-dpaa2/ethsw: Add README","Message-ID":"<20171003123836.GD13548@lunn.ch>","References":"<1505811698-7338-1-git-send-email-razvan.stefanescu@nxp.com>\n\t<1505811698-7338-6-git-send-email-razvan.stefanescu@nxp.com>\n\t<20170919121755.GB4569@lunn.ch>\n\t<AM5PR0402MB26917E7523D582ABB0A3D0D2EC720@AM5PR0402MB2691.eurprd04.prod.outlook.com>\n\t<AM3PR04MB0743030F8D97FFB37016F11AE6720@AM3PR04MB0743.eurprd04.prod.outlook.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<AM3PR04MB0743030F8D97FFB37016F11AE6720@AM3PR04MB0743.eurprd04.prod.outlook.com>","User-Agent":"Mutt/1.5.23 (2014-03-12)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20171003_053908_285969_3A7CD52C ","X-CRM114-Status":"GOOD (  14.50  )","X-Spam-Score":"-1.9 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"\"devel@driverdev.osuosl.org\" <devel@driverdev.osuosl.org>,\n\tRuxandra Ioana Radulescu <ruxandra.radulescu@nxp.com>,\n\t\"arnd@arndb.de\" <arnd@arndb.de>,\n\t\"gregkh@linuxfoundation.org\" <gregkh@linuxfoundation.org>,\n\tAlexandru Marginean <alexandru.marginean@nxp.com>,\n\t\"linux-kernel@vger.kernel.org\" <linux-kernel@vger.kernel.org>,\n\t\"agraf@suse.de\" <agraf@suse.de>,\n\t\"stuyoder@gmail.com\" <stuyoder@gmail.com>, \n\tBogdan Purcareata <bogdan.purcareata@nxp.com>,\n\t\"linux-arm-kernel@lists.infradead.org\"\n\t<linux-arm-kernel@lists.infradead.org>, \n\tLaurentiu Tudor <laurentiu.tudor@nxp.com>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}}]