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,MSGID_FROM_MTA_HEADER, 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 DDD63C33CB3 for ; Tue, 28 Jan 2020 09:56:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A908F24686 for ; Tue, 28 Jan 2020 09:56:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=televic.com header.i=@televic.com header.b="NmTtoeGO" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726002AbgA1J4a (ORCPT ); Tue, 28 Jan 2020 04:56:30 -0500 Received: from mail-am6eur05on2126.outbound.protection.outlook.com ([40.107.22.126]:30995 "EHLO EUR05-AM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725853AbgA1J43 (ORCPT ); Tue, 28 Jan 2020 04:56:29 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I3BPANtDab9JoLtXokUF31PqykxLmJ9icKtGrxrW/IcE1xvY6iQgo5YUxlpihH5CVqd9dAC9E/7ADVqvb21Gsdc5Zv3uvu0FANO26dLZsMPCYQcdO3kQL+bI4NTVte4YVkt+7hOdWq0AAWa4DwdUIoN2toWxTb91IcyQsFQDCZ42GeOnNJvkrd5+yJEm05Ac3+wYjVm45WSLhMPlu0dvgm+Jsc9xouYGjcpIArq8aSZ+ambxcrVEUE+6H86tXD9dcfovgoelHHg2oQnh+RDcwMLgqUZKEZLigW9nk4MnQdNTuWjqD7gubXKgRRss9We19Xmk9gQTJcMemp/4k1eJxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L0DMqGlTKm8HHRe49C+g1orF4N2RnDiTm6X2wJTIsjI=; b=deXNNTH8YZTscawF8YXf2bwn6lYR/jqJ/kRW5Prj0c8454S88osK0m+XOxxYUUyRdrqh5Q1NY/Wjsae6kfz/wizQjepMEK+oz4k70LZXtK801jobnhTMFbSFMzsjj8H4DsQ3kqJGz1IsuQcfLWDTw8ZpJZfYUUnO+scEHf80ViNttz+/1AkTzncnYFxKZLSSqdlEsafcjV5iGqnLQjD0PSs1G6sQAKgMbN1cgeVymMgpZjRMW/jaNP5V8xSDrCfu5EPCfBKHjqiKOYCl+U1WrhR4cTMbzDr1gQR8qcWwarumI1ulMmA9Ej3vPiRSEwtX+XXT250NJNIcNn2NVVBDLw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=televic.com; dmarc=pass action=none header.from=televic.com; dkim=pass header.d=televic.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=televic.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L0DMqGlTKm8HHRe49C+g1orF4N2RnDiTm6X2wJTIsjI=; b=NmTtoeGOjdeqt32BRNT6LQbo05Hr/7wDh8H2bwjDTQOLnNRbYow0SCAIvKmj3Dkw46umZAbL9aPZliUdYe02aY19LkWhczmMih33e622PEE0crCWHXJISSsN4lVBSVUjoLFWaEbLwBGgZ9SdijgCgCgMqgUaQOC02oFL3hLI3Zk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=J.Lambrecht@TELEVIC.com; Received: from VI1PR07MB5085.eurprd07.prod.outlook.com (20.177.203.77) by VI1PR07MB3438.eurprd07.prod.outlook.com (10.170.238.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.18; Tue, 28 Jan 2020 09:56:24 +0000 Received: from VI1PR07MB5085.eurprd07.prod.outlook.com ([fe80::6591:ac75:8bbf:2349]) by VI1PR07MB5085.eurprd07.prod.outlook.com ([fe80::6591:ac75:8bbf:2349%5]) with mapi id 15.20.2686.019; Tue, 28 Jan 2020 09:56:24 +0000 From: =?UTF-8?Q?J=c3=bcrgen_Lambrecht?= Subject: Re: [RFC net-next v3 09/10] net: bridge: mrp: Integrate MRP into the bridge To: Andrew Lunn , "Allan W. Nielsen" Cc: Horatiu Vultur , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bridge@lists.linux-foundation.org, jiri@resnulli.us, ivecera@redhat.com, davem@davemloft.net, roopa@cumulusnetworks.com, nikolay@cumulusnetworks.com, anirudh.venkataramanan@intel.com, olteanv@gmail.com, jeffrey.t.kirsher@intel.com, UNGLinuxDriver@microchip.com References: <20200124161828.12206-1-horatiu.vultur@microchip.com> <20200124161828.12206-10-horatiu.vultur@microchip.com> <20200125161615.GD18311@lunn.ch> <20200126130111.o75gskwe2fmfd4g5@soft-dev3.microsemi.net> <20200126171251.GK18311@lunn.ch> <20200127105746.i2txggfnql4povje@lx-anielsen.microsemi.net> <20200127134053.GG12816@lunn.ch> Message-ID: Date: Tue, 28 Jan 2020 10:56:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 In-Reply-To: <20200127134053.GG12816@lunn.ch> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Content-Language: en-US X-ClientProxiedBy: AM0PR0202CA0018.eurprd02.prod.outlook.com (2603:10a6:208:1::31) To VI1PR07MB5085.eurprd07.prod.outlook.com (2603:10a6:803:9d::13) MIME-Version: 1.0 Received: from [10.40.216.140] (84.199.255.188) by AM0PR0202CA0018.eurprd02.prod.outlook.com (2603:10a6:208:1::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.21 via Frontend Transport; Tue, 28 Jan 2020 09:56:24 +0000 X-Originating-IP: [84.199.255.188] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d8de529b-b420-422e-8c5f-08d7a3d855ff X-MS-TrafficTypeDiagnostic: VI1PR07MB3438: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-Forefront-PRVS: 029651C7A1 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4636009)(136003)(39850400004)(396003)(376002)(366004)(346002)(199004)(189003)(31686004)(2906002)(6486002)(26005)(186003)(53546011)(31696002)(16526019)(86362001)(956004)(2616005)(7416002)(81156014)(81166006)(8676002)(8936002)(66574012)(36756003)(5660300002)(52116002)(316002)(66476007)(66946007)(66556008)(4326008)(16576012)(478600001)(110136005);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR07MB3438;H:VI1PR07MB5085.eurprd07.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: TELEVIC.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b67YXvIqJv5xEm6JQRhGq61ZkUa0DCCyvacPFF1hSpUVQQaDgSXqumkPRFJPPVKLh73ZPNOzSb0MUf+yVWpTGJjl5QAzooeCVgT0HY432F9MsHjTmwqxu8sIoVZBYGtP2sgHsTLaKJWtkq80Yt17gUxN0c870t4u6NjmneScIxrgI1je8sHhgCejnFyTsWEoEM1UVyx/rtkpZYbYUuEbXhsk2x7JrOEdRZ09qPYXQfsvdvC6PhvTZlVBUsXY88IbTwP5L7H7Dgvb8CPYM0tIOD1c+bnMnctR+SHMDYnIatHTno9uaq9Q8z70KH2YlC78wiT8y96CUZJSEwUYcfT3cPzMiWfH2brtfDKsizlROldN0quiqvgCtEHg0fxSRPn08a+9BFuxMZVCiNnmXpdsfNF0Pyz5zMSONjqq0rsj2WnCZJMtTXizdSGxAJM8TMN3 X-MS-Exchange-AntiSpam-MessageData: td45fFvtkblVDbDIBXy3/Gf1jCzTonkftdW9G9ifDe/g13rIskgHkcPzFlKoFr2QYd1sNDSFYsu7R9w9w/cBV0A4p28ihhDeKOZ/Gh2PmnJfnFNKL42ize8jKywav3KFJ8MUOj88IBxS4b2E4r9Jug== X-OriginatorOrg: televic.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8de529b-b420-422e-8c5f-08d7a3d855ff X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jan 2020 09:56:24.8868 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 68a8593e-d1fc-4a6a-b782-1bdcb0633231 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EvV7q3kcrxTNsBa50Tf5Dq7CRGULcfxN6wZjMGJrqsvttgwG0UIHWv5d3AxY0mF2lAmFXVts5B/6LVHaYg2OwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB3438 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/27/20 2:40 PM, Andrew Lunn wrote: >> Again, I do not know how other HW is designed, but all the SOC's we are >> working with, does allow us to add a TCAM rule which can redirect these >> frames to the CPU even on a blocked port. > It is not in scope for what you are doing, but i wonder how we > describe this in a generic Linux way? And then how we push it down to > the hardware? > > For the Marvell Switches, it might be possible to do this without the > TCAM. You can add forwarding DB entries marked as Management. It is > unclear if this overrides the blocked state, but it would be a bit odd > if it did not. A MGMT frame does override the blocked state according the the datasheet. And any MAC address can be loaded, not only 01:80:C2:00:00:0x (802.1D) and 01:80:C2:00:00:2x (GARP). Then the ATU is used instead of something specialized. (referring to Andrew's email of 20200126 6:12 PM) (I only checked again 88E6250/88E6220/88E6071/88E6070/88E6020 Functional Specification) Kind regards, Jürgen