Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp500375rwd; Thu, 8 Jun 2023 04:01:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6qXDcvWWEWEfqQVgbeVYLrJIDVqgNMwWVYMFAAeBfQ2c3RbKXNlz5L+dl8XkLbBSJzJCMO X-Received: by 2002:a17:902:e88b:b0:1b1:9069:db5f with SMTP id w11-20020a170902e88b00b001b19069db5fmr2553694plg.18.1686222089933; Thu, 08 Jun 2023 04:01:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686222089; cv=pass; d=google.com; s=arc-20160816; b=bVMfHUUpjgIWI4g1WejUz2ZIWFtlcuSvGhcO8FpiL1Gj6hVomdJQFmPIUuPo2Ftbsd KoHFKuKxHIfHFXMY7BcCyvREhdzrb4UQxANC3jJHQtaiRnGJtQZd1wnhiRYljVisAbgG 1E3jb84orLrkWUSPXeO9bNRv5X4b8yRUJkFpUJ04YmfWAflHaUp1MHCs4zmUvYJ64bhs lpohWycSoYMMpe05sppBhYIdOSaneNwzUfBRCzYfdRsYSq5Du6JQesbBvJ/7KZIkcDgF f0W0fxH1qMB2kRHbT9XPIbyPzahC4tyQknzgE2+k61/+1LEZ7aQdvJ3sQoNF+WkNzVEO WQDA== 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=Q+cR2mIDvwag+qeQZBuJbI4wmjM3ho6/mkFxr6MDEDU=; b=zwtL2/Nz1xqeKSN5lgnnb+tEoVLIIW0ofSkoDOVS44J6EPkdxgy0rHgfW1a4uu3hCq y+AuET+NJeh16NinPIRsMuHURhzI7xIK//VKyORDOxVf3bamUqluM7wx9bsu8U1uDSwp 8OjbGoe5HT+QtVkPNT0qfLYIUDOCT2tog30To3SVh6Wb7YODtgw9k+00dINwPxcv6Fsq rRJ4p/R+EUD+wPo5eudiHOHP9gkME0dD5G9JQxKJjJc8Ir1ljcaUTxmbB9KhgPHrp++D oQAXc/Q1m9AKr8UqM/rHHb53+4CD4U2G65uxbGXZNAKzHMVKkRPO7gCgOuo+DjvrynzZ bmDA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=Baa2nn8I; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.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=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t5-20020a170902e84500b001b046acc84bsi945632plg.226.2023.06.08.04.01.15; Thu, 08 Jun 2023 04:01:29 -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=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=Baa2nn8I; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.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=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233645AbjFHKtc (ORCPT + 99 others); Thu, 8 Jun 2023 06:49:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232891AbjFHKt3 (ORCPT ); Thu, 8 Jun 2023 06:49:29 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2121.outbound.protection.outlook.com [40.107.243.121]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75D122D46; Thu, 8 Jun 2023 03:49:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BDi3+bQiXUqsY9qADoug3+hxCD0apGXO0nqz2t5Gt4uLIcoW/c3GiIuV8Skrn/fNYL+6rwNAPBfQlcjqPKBD+XWL8xtOfBAqzRVrLQlTXf3uQsFEq9tDeUFMPPIo0XCwF5ZmI6dY0LbhZrw78jSQ29eEZOU2j36n5zcbqWOwUl38uOeoTjXax5ghf8hopKK6e7aamy2o0w42kE9YODhmwZJhclvQDu44ljRoviTv07qFkQBxMmX/GSISzLvLwJNdmA4V87OZ1St1sf+2OVM/ZDtZi5q1P3OhFyg+jxktlyinvSmrSI83Infs9J7CD4nodGDVznL2+P2V2tFskBM/Rg== 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=Q+cR2mIDvwag+qeQZBuJbI4wmjM3ho6/mkFxr6MDEDU=; b=Nci6Gqj4cNFCge4hDINyCMtJCjwKLLSJFVyTh007+tpSLaSjZVxkr7XzKI9ojNkfUaIdnk2zmJJSWXpAv+NJ7bgKD0fE475LxTwDKejBZLdK7/svXdaCo4+xH8DNUa+Rnz2GEvqIEnXHwiCYoqb5F2U0+j0yGntABTGk/b5LnSqGhrq4+YNGyd7mRkbtIPzT2UoyxfKPG/SOvFE5qTthQ5EqOVPERRJG42zEpaA4/5plV1mE6sgymmVeBN/+xqUklSQgcUHVC7vzf4llXJdiKDt0uCpjnlKHHnpid8dDrA3Y4S8RMyMErpeHN0g+oWNRCN6Sl0ZrFM6t4HXc1Hk4hA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q+cR2mIDvwag+qeQZBuJbI4wmjM3ho6/mkFxr6MDEDU=; b=Baa2nn8IAwm9zgINzssT2fJ8yLwKdCnk/QEVRbrwgCxZrqhNqM7V5OKjEXi3lChB6r6gl9QIOMLVUE+E3rXddzUCm6MIS5zl3k48BEZ248QEM2B1I940S4gmoFw5Sha2c1xdK0P3AyO2iTHFUEjrHxhS5HBYN0DCWymuM0vFqUA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by BY3PR13MB5044.namprd13.prod.outlook.com (2603:10b6:a03:362::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Thu, 8 Jun 2023 10:49:21 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::eb8f:e482:76e0:fe6e]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::eb8f:e482:76e0:fe6e%4]) with mapi id 15.20.6455.030; Thu, 8 Jun 2023 10:49:21 +0000 Date: Thu, 8 Jun 2023 12:49:13 +0200 From: Simon Horman To: Ivan Mikhaylov Cc: Samuel Mendoza-Jonas , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vijay Khemka , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, stable@vger.kernel.org, Paul Fertser Subject: Re: [PATCH v3 2/2] net/ncsi: change from ndo_set_mac_address to dev_set_mac_address Message-ID: References: <20230607151742.6699-1-fr0st61te@gmail.com> <20230607151742.6699-3-fr0st61te@gmail.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230607151742.6699-3-fr0st61te@gmail.com> X-ClientProxiedBy: AM0PR04CA0062.eurprd04.prod.outlook.com (2603:10a6:208:1::39) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|BY3PR13MB5044:EE_ X-MS-Office365-Filtering-Correlation-Id: 79de3500-5785-4ad2-eee5-08db680e03fd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sInn21JMfzGTwvqbx/7Qx+ammILNeJNIz2BARYjDr1WAbXUpJv3/7QWvnKvbmKa/Ft6lr0MTuK2wKAJq0q8YuwJhFYuKCuzsy47hq+uOFtKQDJZtJPmzFOAWAR4OjZJImqij/lTDMXpoLu3s1YJXsBETMGEQ0mQFRrvLgDYfHDKrigC1J6+CoEa1qWpfE08g5Q8NMvZ0pTby4UJ5N3YRSGKC3ufR9WBin4lY+x7nRtINpzp8f7JUaRqpvoP8h0t5zy/YqRAZNEyGNDOUR8X9G3MYFW8eBDOloNAFlsBJrWJqbosbx3iNJbTOKMercZnqnau8uKREl+xAEZEiPu5LE2vRRm4X+yBz/wyrIzTJCyNR0hjgVXaaxjvRN7N9cJGQP8idIEmimzgEQ6PJBPRJDiuyFN5WeTC7OWR4o8NAqaCu90XZ+9+1NOc0A7ivbWzxk/z3tZIoJjWYe6UIhYVMqdCBi+tlZcgkQ3E0u9hFIwlyUeEGNUGUJUeFBNng3RTQ/FCX5kHFz+HvVS70dMpVbNYjXMK4gV0wS2q91q9dOCRpNeRpYMH2inTyIHmFoW/vT+ti7p1ENlDz2zqG+NdapOn0O0uKnry6GJrm1pYbdsc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR13MB4842.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(366004)(376002)(39840400004)(346002)(396003)(451199021)(86362001)(4744005)(2906002)(36756003)(44832011)(7416002)(6666004)(6486002)(83380400001)(186003)(6506007)(6512007)(478600001)(54906003)(6916009)(66556008)(66476007)(316002)(66946007)(8676002)(8936002)(4326008)(38100700002)(2616005)(41300700001)(5660300002)(67856001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ptQqlahjc7Qj6HwDkA4mqSdAJJ0D46627c+TQycmPqbD4IXe/E/DFCZg/zL5?= =?us-ascii?Q?6qFNZZYtIpc9hKm6Ul5PkEHTeROdsNP6YHgrGcOKxlSnqVGmNaL2A4qBeN1K?= =?us-ascii?Q?YIpvTvyijQTaumRVsW/OAnF3qQE5yFQj+uGB5PnXAIrrT3OrZZZpNR8E/b4n?= =?us-ascii?Q?Vskn/n2JaVcGBvXKJclN6hnnRkCwDplLEHNqXvFXtSqSETRDbCGIykKFB7tr?= =?us-ascii?Q?kxeEDPWg2SIhs9QzBda7GG9C4PRrFVcYU8oeTIRo8Z6ICpa/LXMj96fxHWNm?= =?us-ascii?Q?9Qde0IvOOMbolZRUqGBs1vR3xdpaa6zIKx8RtJ3skAbie3ABEPch0g7bItKJ?= =?us-ascii?Q?7Z3CgDkrQeg5pe84aVzCSrfGwrvVuE6P4cWms7eFrQ016y06UdR7CW/WTNiN?= =?us-ascii?Q?twmLi39NdkSf9yq9jB4srT5dHWgbZgUktrjZzYSPqCdZ+kvEQoaTcLG6dIhN?= =?us-ascii?Q?0Rl2L89xZvTGWjV4SrzRBjcs0c7+KvswJpPigKQqaKBAmZYGI7xBEIkdNY6g?= =?us-ascii?Q?7dDMzAf2p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YfTUfVppuyCyk?= =?us-ascii?Q?T9yd6FMnx1IvFO21ugcPYX+8uG440EHTAz3vxLGgBSJCz4TChrC9WhCUpEJT?= =?us-ascii?Q?uXxUSaVh97NpYU2gME8SSqlUMY3E2YGECyDN1w6zmrdatYqXyhRBg7RI4hSp?= =?us-ascii?Q?mFUYRcK/2jCHML4opegkJMBbI6m89YuL8trVKI73aJgIELlxq/XEAtA4zH6C?= =?us-ascii?Q?xD+Iz/1igHclZ4xFhvi/7XuHJs2FlfntmbrV+SIuLKnM3CGSP0XvhEO/R43u?= =?us-ascii?Q?azNsPg=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79de3500-5785-4ad2-eee5-08db680e03fd X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2023 10:49:21.1251 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qjof1PCD6X55MvolL2gvjxHxCs3BG3yq86ZImSrybrvn0j6ilT9BaF06xboTRrzsjAi0iCCSW5gtlX8OBqbvncH5rTcrVtYzen68bkJNO+Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR13MB5044 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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, Jun 07, 2023 at 06:17:42PM +0300, Ivan Mikhaylov wrote: > Change ndo_set_mac_address to dev_set_mac_address because > dev_set_mac_address provides a way to notify network layer about MAC > change. In other case, services may not aware about MAC change and keep > using old one which set from network adapter driver. > > As example, DHCP client from systemd do not update MAC address without > notification from net subsystem which leads to the problem with acquiring > the right address from DHCP server. > > Fixes: cb10c7c0dfd9e ("net/ncsi: Add NCSI Broadcom OEM command") > Cc: stable@vger.kernel.org # v6.0+ 2f38e84 net/ncsi: make one oem_gma function for all mfr id > Signed-off-by: Paul Fertser > Signed-off-by: Ivan Mikhaylov Reviewed-by: Simon Horman