Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1043186rwl; Wed, 12 Apr 2023 07:34:11 -0700 (PDT) X-Google-Smtp-Source: AKy350bbWtdm1xpkej+NXA8odGPiJiN4RcuC3qodAugsf+521Av9cOeZUzEeGMfa64/wtyFH4SQI X-Received: by 2002:a17:906:b1d7:b0:933:868:413a with SMTP id bv23-20020a170906b1d700b009330868413amr15430313ejb.15.1681310051508; Wed, 12 Apr 2023 07:34:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681310051; cv=pass; d=google.com; s=arc-20160816; b=w9tAZKmcvy3P1YYrAE7z/tFL28NY+zw1KguXKhyA6PsFKKhNm5KpwagvODY4IEqBWn LVuB+PzQ4Hb75Hkxo6eUS+IjokCUiJPClQsJeznF/wxpfyPDb5uksVa5rhAogTN2Kv4x D6TUo8bXs/RVyC+xK0Q/WJcKsviSx8VMoJWGViUVp7CGSNINdEu1GFlgkUKg3GaGbM5S cI6iersHFwLr+WOW+I8PdnU3ons6WxxByaWo4N7PNMSSA+A1ItHo9Etaqk28mEAs0vK+ M/fqFH4pzFoffyhH6Umz4jbNdNXTDWN+Cn/2lSezqN+co054ZgXfubqLwYbcQsHT2SP9 3bsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tmTQCkNjgjvKNMAok8QbskQl2zPgwu/kwkIaeW4J8xE=; b=xEaWjd6nn63lp3FyffEyTFS8etLUJM4rzddyUt//NhEeOIa8pTHXYmpZx/v8Im9mxd WVt17N/dx7F9MgYn5eLmNTY52OBIXQ3Qe8vVMevTgteROo6YWK5uRo2b4fF8Kk1qQgiC XvjQxPtwP/afGfRwcjnGZBifNqcJytzuJ1E2qDqr1K4fweO4D3oFhp4Xu2s+nxk5odLO CJ1dMpBIVx9ZTZKm+Xe29nzDXOl+pg2U6o1/tYB/rz+kotoS00JJHJTscIQ2wDTmhekN F9NAAuMfl2sbODN0NfKiPOaKKAFfHbGpbcp9Dn1Vy6RPdYsF1iAg7HNws8vk34wyf+3e DvBw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=jeLDIukD; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hf16-20020a1709072c5000b0094a8628e400si5660384ejc.244.2023.04.12.07.33.45; Wed, 12 Apr 2023 07:34:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=jeLDIukD; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229994AbjDLO1m (ORCPT + 99 others); Wed, 12 Apr 2023 10:27:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbjDLO1k (ORCPT ); Wed, 12 Apr 2023 10:27:40 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2050.outbound.protection.outlook.com [40.107.20.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D955E10C0; Wed, 12 Apr 2023 07:27:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Krg5VPx/z1+Y+ihxrCtGjMUx7eNhJ85FSJwg1OLaiW40lszJ4WGnQdEKAA6r6DSW3p+dL08OrKmOMdl7P1bDZ5lhianN+hbql8e8XoBQ/zm37smtVO0HEMvwCFoWgPMKx0l8qUNRwIT1LH9yKsT1FgdbrJ3ZglSeFXwdQH1MV9THZsCniO71iqk8pmS8dRuc2Aj1CpVpTomaPQm3x9EbAEet5ZCta2J3bPo+/VhmArc2ikX5Lh2wrO3s5o1PY/VVW6z0lAuh9MhgbtyrzCCYpEUVq9PbuCUmpJMgScuNB3h+KCNtyCQ+oeAbI+y3h6S6oMDMAfLPEiVQnRnwrXxahQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tmTQCkNjgjvKNMAok8QbskQl2zPgwu/kwkIaeW4J8xE=; b=lTFVQlfU38euYLgTZC4SQhble0vlYfdaCLS+9FDLAzAKWSwzQimWZGGCh4b3WSeZ/KQXHSW8zHl5ulOllPDbHGWXMIFBfE/BOHbVBFGTYk50DIoRHWPVVp4pQSjsjFek5ppjHjgdOIGGpOOcspmbitWeMn6hXZ/+wNh80zbWTxWEAwOCG2tkKBkt89N8uo3872AsBO4gK0LqvU8jyx5minTz1TBdQWtYXMHQFj6iNxFWlc805sNEnOxR4BuLZlsjuZ4o22nO6aqKMe4zeILq3oGakhZC8aPJ31Omu3lLlbfLRflAK6sateqM22ZLSejRbvX3z8n7w1WGVGaKZDUuGQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tmTQCkNjgjvKNMAok8QbskQl2zPgwu/kwkIaeW4J8xE=; b=jeLDIukDI96l8gmpBQE41kYFt68AySq+l+gSYTxVhKylbPJdqfe4rCH0IA5+zRUI9REm2MsL9b9LWY9k5KKwhwAzd3NkE4mgj7Yv/mLtnfAawNcjwA45mb3MpOGWR9RE8RFyDI3OIoG99ZzcVMlvV0JQv8FqlvCzfKpJ2EpzCGw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB6452.eurprd04.prod.outlook.com (2603:10a6:208:16d::21) by AS1PR04MB9240.eurprd04.prod.outlook.com (2603:10a6:20b:4c4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.35; Wed, 12 Apr 2023 14:27:37 +0000 Received: from AM0PR04MB6452.eurprd04.prod.outlook.com ([fe80::55b1:d2dd:4327:912b]) by AM0PR04MB6452.eurprd04.prod.outlook.com ([fe80::55b1:d2dd:4327:912b%5]) with mapi id 15.20.6298.028; Wed, 12 Apr 2023 14:27:36 +0000 Date: Wed, 12 Apr 2023 17:27:33 +0300 From: Vladimir Oltean To: Ido Schimmel Cc: netdev@vger.kernel.org, Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni , "Hans J. Schultz" , Roopa Prabhu , Nikolay Aleksandrov , Ivan Vecera , Jiri Pirko , Arkadi Sharshevsky , Ido Schimmel , bridge@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net] net: bridge: switchdev: don't notify FDB entries with "master dynamic" Message-ID: <20230412142733.6jhxt7kjf3nwqzsy@skbuf> References: <20230410204951.1359485-1-vladimir.oltean@nxp.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: VI1PR0901CA0101.eurprd09.prod.outlook.com (2603:10a6:800:7e::27) To AM0PR04MB6452.eurprd04.prod.outlook.com (2603:10a6:208:16d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB6452:EE_|AS1PR04MB9240:EE_ X-MS-Office365-Filtering-Correlation-Id: 7a236b2b-df91-4247-9ca8-08db3b62102e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qLwCPGrj2bm2PbJCxrZHsDvmHa3WpMK7fVk2f1s0rucKdPr7Ykobgh0Shy1wysrlDBW7Gr9thFz4Xn5mPKGWGgNnKnfccQSSgM/6N5VIVU5bMPwF7276lBw9z+dF1SGNqOyYAcHYLSr4+8GiB9TD047mgLCqUjML9ZcYHLcegmOuspTNGq8WMHkIToK8Ydd/fRaV95cGOxgCY+I2bag2xn8h8C1eXxPbhcDEusZt4KF2uQSxoLWDc738kr+9CDL+Q119VEtlaY11uY20j9VaFj4dIaWcnkpQhVjiqfuUh+UupBMqtDQes744Np/GxAO5OSKEk9JA5idpwD/JBs2BGloNWkxHkt816M6Rc7Q1aRWBl8JMKXGYUg4bc69oF/T8/uQqMn5dWXdZv5E/Sd70SDQ5v8cALCb8ZudAiZYtHhQ664PRwP58mr+uhk/jx2V6vNQAhk1H7TBTm6VVsrWRX3xO6/Eio1so5Ao+e9JOT2Lms4Imf2e+GQuyiHAgugZo/2KgqNTURl0CDsmj8ekbq0KyONQlfClsEoswtvmYn466Wx+2sPqQsGlSRomNJ1XB X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB6452.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(7916004)(376002)(396003)(366004)(136003)(39860400002)(346002)(451199021)(86362001)(6486002)(83380400001)(41300700001)(316002)(478600001)(66556008)(54906003)(66476007)(8676002)(4326008)(66946007)(6916009)(33716001)(7416002)(44832011)(2906002)(4744005)(38100700002)(5660300002)(186003)(8936002)(6512007)(9686003)(6506007)(1076003)(6666004)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?XV8Q48Xu3Jsfkq08jp2BsJPy8tZywIi6gG7P4hTFCKXFwrKnWmftQe7FoUBL?= =?us-ascii?Q?aQTZvwPG7JXVx7yfTralIYgC+wFMT61xNwdFK/PCc5lix43A0skfkuCFvfqR?= =?us-ascii?Q?HdC3EANdiqlBybj2LB1CEfOG+gADh41J5yHyma/j5F/GScVQROu2HFt2oA8h?= =?us-ascii?Q?KydzV//AisufPgPw2OPP/QgN2VbysYJpfyukNpabcEN3tORCSPiEzsMzLpT4?= =?us-ascii?Q?sAELfzQ0qklYEiHU7HbfFfrvSCyJ4EaJNQ9ms7m8wDdpwcz9H19Jk/2JigoC?= =?us-ascii?Q?peb2ZaGIVAParOakISHNZ4lmz8/YqTKt7jte8qY32W6HdKOb/xM2Hh+XCVOc?= =?us-ascii?Q?vo0m+abqLhRZXAMoLu5y3gd0rrzMnHUAm+p2e80F5n8zbpMQGu0P7tz4O87Y?= =?us-ascii?Q?fWy/QHP3lRK6EM9KSfAgl66ZAQ021IuNIODM6+UVJV5Unki4rUFCi168iB/S?= =?us-ascii?Q?mvtPJ3IYRsIA02WctxF2aclAhhGz2G9sU0tGTV/8/omz3ESP1glkQmNrzHF9?= =?us-ascii?Q?J03u0UrmDi+ZnIK2dcAPsNe5B7B1rOJy1cux1JZGl52oCid59gzoBdF02E1o?= =?us-ascii?Q?wSQoyHoFMqQclq2QM+cdWeAgpc4Aa18fLr6pGn9h8saKLq0PfP7UufASMqWe?= =?us-ascii?Q?u96TP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ck24KQyT3q5fVBBhSDCCe?= =?us-ascii?Q?5b/BFhT4czLKd//anSli6cmjdSSZRvQDmH4jq723ghZsu/Yv7tLlvSC+pbWg?= =?us-ascii?Q?PQ=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a236b2b-df91-4247-9ca8-08db3b62102e X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB6452.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2023 14:27:36.9015 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wyRd5Gk6bC067NsXwmWXDuZS8KmNJ7WbSuYBBkj3QrK1FipCh5n078kVzEEEhvNsI3JHiyiHiH1VA25Q1CIhKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9240 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 12, 2023 at 05:15:03PM +0300, Ido Schimmel wrote: > > Looking at tools/testing/selftests/net/forwarding/, there is no valid > > use of the "bridge fdb add ... master dynamic" command there, so I am > > fairly confident that no one used to rely on this behavior. > > Yes, but there are tests that use "extern_learn". If you post a v2 that > takes "BR_FDB_ADDED_BY_EXT_LEARN" into account, then I can ask Petr to > run it through our regression and report back (not sure we will make it > to this week's PR though). > > Thanks How are extern_learn FDB entries processed by spectrum's SWITCHDEV_FDB_ADD_TO_DEVICE handler?