Message ID | 20200904165222.18444-1-vadym.kochan@plvision.eu |
---|---|
Headers | show
Return-Path: <SRS0=it9t=CN=vger.kernel.org=netdev-owner@kernel.org> 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=-7.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT 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 B9B85C43461 for <netdev@archiver.kernel.org>; Fri, 4 Sep 2020 16:54:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 80067206B7 for <netdev@archiver.kernel.org>; Fri, 4 Sep 2020 16:54:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=plvision.eu header.i=@plvision.eu header.b="afXsnlTB" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728041AbgIDQyj (ORCPT <rfc822;netdev@archiver.kernel.org>); Fri, 4 Sep 2020 12:54:39 -0400 Received: from mail-eopbgr30131.outbound.protection.outlook.com ([40.107.3.131]:14643 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727103AbgIDQwy (ORCPT <rfc822;netdev@vger.kernel.org>); Fri, 4 Sep 2020 12:52:54 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fDlvKCGa3cmRYydUdSs1CwZ+2fCoLxSNQt2Z5zKHE3SRUQv8yhzU63HjhDaPwTZEucwz/G2y4Ywtc/rGWSY3U2V/9WEnrWyGI6HibyvA1DwBDUGMC1VP6hBn8Djf+xH4i35Cyt5FWfy9P1SimC0ktavXOLdeU2VL3+0E2IxB22JaIjFZGZf0j779CxCtfO7ko6NzYRSPA453JaXRn6zrlVloSeYKWF1x1HN5C2+SJ769khHdeFFoAR/GzoOgSDHYRC0j4dtLtVvxJoeCuiVRV3EkUFQDaHzKOwMdQRZpu1DNPjwJx2T4x4rB02LxyADhiOiclPdHfXWR1zpIRcQ6Tg== 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=6xEuZBWCg+k77C7WDEm0rSwHaiVTKTekW2jO3XiGmOA=; b=eiG7pf/ldTboCYYa/7pJdEdAYUhVxpv7dlt4RPJdcELkda9xi3xdGwVgT1f9qGOIFvRNiGbfywmbLAL8wQtjiCyYdptDNbXQYU334UU9eQxQcYB6tTYJNKEggwFiK+7BIhdY8ba+VDZ06KwerCtUI6ZNqJ/vsMXAwMGE0mVnwtUh06gLlWT5X9krOe+HXX+BbDEpbbJcDZfLFNwAkA3pAGXH8xXOZEJQqRIum07ywKkE09Aj0dcFBdx3aE14ej/qlRop7pzUw0oSvLtaqe6lnGLy/Cw1W4wkRCZ+OFXQ9U9Vd/DYX5nSKPg3P253Oi/7ZuiirhzP2ahjkYa67kY7ng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=plvision.eu; dmarc=pass action=none header.from=plvision.eu; dkim=pass header.d=plvision.eu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plvision.eu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6xEuZBWCg+k77C7WDEm0rSwHaiVTKTekW2jO3XiGmOA=; b=afXsnlTB5Lw0nFGs+XsxG7UzRwWj034CV1lckvnz4KMHpc+lbZXQtrzm8C3BAIqL5zTkwR7D5e12CJcPyOUgihu0DL3SreRyDFfAqL0PN9V01xNpOmMRmvh32EVSw+34UXMVRW6Gk3XhRqiPhJW8XPN60NIM36WxD1R8Q5iU20A= Authentication-Results: davemloft.net; dkim=none (message not signed) header.d=none; davemloft.net; dmarc=none action=none header.from=plvision.eu; Received: from DB6P190MB0535.EURP190.PROD.OUTLOOK.COM (2603:10a6:6:3e::26) by DB8P190MB0730.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:12f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.16; Fri, 4 Sep 2020 16:52:49 +0000 Received: from DB6P190MB0535.EURP190.PROD.OUTLOOK.COM ([fe80::9cbe:fafc:3c8a:3765]) by DB6P190MB0535.EURP190.PROD.OUTLOOK.COM ([fe80::9cbe:fafc:3c8a:3765%4]) with mapi id 15.20.3348.016; Fri, 4 Sep 2020 16:52:49 +0000 From: Vadym Kochan <vadym.kochan@plvision.eu> To: "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Jiri Pirko <jiri@mellanox.com>, Ido Schimmel <idosch@mellanox.com>, Andrew Lunn <andrew@lunn.ch>, Oleksandr Mazur <oleksandr.mazur@plvision.eu>, Serhiy Boiko <serhiy.boiko@plvision.eu>, Serhiy Pshyk <serhiy.pshyk@plvision.eu>, Volodymyr Mytnyk <volodymyr.mytnyk@plvision.eu>, Taras Chornyi <taras.chornyi@plvision.eu>, Andrii Savka <andrii.savka@plvision.eu>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andy Shevchenko <andy.shevchenko@gmail.com>, Mickey Rachamim <mickeyr@marvell.com>, Vadym Kochan <vadym.kochan@plvision.eu> Subject: [PATCH net-next v7 0/6] net: marvell: prestera: Add Switchdev driver for Prestera family ASIC device 98DX3255 (AC3x) Date: Fri, 4 Sep 2020 19:52:16 +0300 Message-Id: <20200904165222.18444-1-vadym.kochan@plvision.eu> X-Mailer: git-send-email 2.17.1 Content-Type: text/plain X-ClientProxiedBy: AM6PR04CA0062.eurprd04.prod.outlook.com (2603:10a6:20b:f0::39) To DB6P190MB0535.EURP190.PROD.OUTLOOK.COM (2603:10a6:6:3e::26) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pc60716vkochan.x.ow.s (217.20.186.93) by AM6PR04CA0062.eurprd04.prod.outlook.com (2603:10a6:20b:f0::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15 via Frontend Transport; Fri, 4 Sep 2020 16:52:48 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [217.20.186.93] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dc581236-c1cb-4d42-3fc1-08d850f2f4cf X-MS-TrafficTypeDiagnostic: DB8P190MB0730: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DB8P190MB0730F89C228AC33474F3072D952D0@DB8P190MB0730.EURP190.PROD.OUTLOOK.COM> X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /9SZnoGTo+1ZLCz8mn6pS50iH6XDmwamCQjsVUtjt98L0hwix1npADe9Afg7SxOEsWRJ+T7ZOLVd7UmXQzmuVWFor1UVsxCVuegMGDVn1OqhQ2BkQKOQA2OHSYZyLRpuFpm4A1dtoSuB4/PKtyajMP9lYn3rsksbOcFY+J/QzLhPMCXb5+u5BYmeXt+G0O3UxMoCuJXuQTGceYkyTtm6b5khKXup55CLzUtZJA97XQSoA275/Qy+rjJjFY3Hoen1Igt9qAtIw2qk8SXzOeKekPajmzeA3v1UIj/661jNTyLVVuwq58Ea3y7Rh/kAXC0ZSzBMubkMSJYTqZwrZ/7vbiyCzaxfKxoiYAhbnSl1PQy9fKH0Frz59yVd0NEdVJ2vUgC43l6aZAr1Qf5Fb0XvzxUn+L8Oi9Ujx8GkcpuEKRE= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6P190MB0535.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(136003)(376002)(366004)(396003)(39830400003)(346002)(36756003)(44832011)(4326008)(2616005)(54906003)(956004)(5660300002)(8676002)(6512007)(66946007)(66476007)(2906002)(83380400001)(110136005)(66556008)(6666004)(478600001)(86362001)(6486002)(30864003)(107886003)(1076003)(8936002)(16526019)(6506007)(186003)(26005)(52116002)(316002)(333604002)(921003)(21314003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: LCJj2sR9rQJ+dQZRSda5ByQOsi3BGIr4Sg8Qa9V0HCjD8ZIG3XNQyuS8PPmjTs3yM/yIvS4O7nsDRVsuDHhZgoblbYUIXNTds6uucqGNeaLJrzl/eosjTu9/2t7RdLWyiBEQYlLESKM3R0HuSGhx1qY+dID3fdSpIkqUEM/I17FzX2lAQwAf+ypjOyzzmUVtLM2qxIQS57cSLgpdZvR6b7M9uM5aiAdVWUEPcOHkFbId42DFFV5L4fi9NJN0FemjHDWaXeBu7p9ojhdlC6dFYNZWWKr7e0Xk979b5p0395hU6nohD5QQzyPi/T/iW7vcm/yJbaCVag39BxigizMGA5zQ3IW3TI1kJa9PDfTJFNu+2DTeIaHKvbhHNwxuXdlXSSGJxXOZVTLGAqMuIhKeUgnf8hnwgPTN4yk/4x5nrq/C3QXly/7zGCd1+yA5Xm5W5DrAysxKL/Kf0AK8AzslYQ+61BsLBCzVJa9kCD8mWqWFW5MQXVthqmka0+Ei/BU3pMr/1NWVxQQ9+hC4eUpYl7P94IRW6nyIkOiOKyrFXq2U48Znkrc5I8fYemC2tu75W72LP6vsiDJJx+weeI+SWA/vKqZ5zsSqV0SN/7NskCVkOo+0u/cZdMdmvre6SVzBbPQYYBUHyS4UuREpmW/sHQ== X-OriginatorOrg: plvision.eu X-MS-Exchange-CrossTenant-Network-Message-Id: dc581236-c1cb-4d42-3fc1-08d850f2f4cf X-MS-Exchange-CrossTenant-AuthSource: DB6P190MB0535.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2020 16:52:49.6823 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 03707b74-30f3-46b6-a0e0-ff0a7438c9c4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1+NMoactnBCtM1c6am8iu0F43ZdimN+g1788eItaOgO2ZBxsLGeAV2811lcJ07s8Ld6qlHoZ98YOSMGP3YitfO2suJEcRRaT+NUfBHgIspI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8P190MB0730 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
net: marvell: prestera: Add Switchdev driver for Prestera family ASIC device 98DX3255 (AC3x)
|
expand
|
Hi Andy, On Fri, Sep 04, 2020 at 10:41:17PM +0300, Andy Shevchenko wrote: > On Fri, Sep 4, 2020 at 7:52 PM Vadym Kochan <vadym.kochan@plvision.eu> wrote: > > > > The following features are supported: > > > > - VLAN-aware bridge offloading > > - VLAN-unaware bridge offloading > > - FDB offloading (learning, ageing) > > - Switchport configuration > > > > Currently there are some limitations like: > > > > - Only 1 VLAN-aware bridge instance supported > > - FDB ageing timeout parameter is set globally per device > > Similar comments as per previous patches. > > > + struct list_head vlans_list; > > How this container is being protected against races? > It should be protected by rtnl lock from the Switchdev core: net/switchdev/switchdev.c:int switchdev_port_obj_add(...) which is called by: net/bridge/br_switchdev.c:int br_switchdev_port_vlan_add(...) > -- > With Best Regards, > Andy Shevchenko