Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1528171rwl; Wed, 12 Apr 2023 14:31:59 -0700 (PDT) X-Google-Smtp-Source: AKy350YCNjipXijFCDURN1GDHp79xBMhLVJ1QflA+lxHWHZVi/aV2LyI7QmklMM5m7XomJWZxo/r X-Received: by 2002:aa7:d50d:0:b0:4fb:5fe1:bc3b with SMTP id y13-20020aa7d50d000000b004fb5fe1bc3bmr4326683edq.0.1681335119670; Wed, 12 Apr 2023 14:31:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681335119; cv=none; d=google.com; s=arc-20160816; b=PLWXa1nQMRzoYI1b+9x0eRDDhZxfvbvesxcZ4Y6pacCNmlrGKb+YlLJw3gMhWQk7Tb Q/ogqHgJ5TFPrxFrkfBZWLTFQbUlIUPUBkT689PBBPVySOes1rWWhCEHxuipOpX0GOhY p8rqLkStw4RDIxWzyySNYidigAhxz1L/iKGPCoeIp+uDoIfeD4RD1UVQSRb0R6ZjrTa1 0pxZKxsBCvGv8NugFnDfCwBMvbISidz+t0YjrDicNnDeBCj44s62z3o3k4day3DHSJi6 QQbDY4CjgXB1QnxqNcLGqq3YQmtvORgLAMNkCTmfbUFDQ5YqkQMJEkYgoYaYOkagGazg gCgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=eGq7QJNXqtJ7PzPn0R1ELOZRM5o1H528/AgWUxvVM7c=; b=0ID4znULWfCZF/hycaJDT5O6M7/HETJSgSV39fTKOwH7CHO6IyDIR19LWl8L+Fb43o eQoC5VBZ00EfxJArOY2sjoSZzWcB4BNoIXC/vOfNk3K09AgSO1MU17NY7R5nZmYNaEmO LN+onzeDDQZwWC5WFhv8jmIKxir1xkrweYVvzL5U0X2R+ysq9v+/q1ThUmziRl/zGPje p8UtuWX2fK3vMqH1huE7muxcQGUWkPKTVhat0VKQlOpvPct7fx0B4t3YykvM3UbyUpcG Tgzna2hcQHi81b7C4voMMxYaM+PflaGyAYY/f34GiLzqd5uBR9HMm6AEhVkeYCSHHEnw oGjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=qfZbZ0xD; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020a170906578c00b0094a943d416esi2313256ejq.536.2023.04.12.14.31.34; Wed, 12 Apr 2023 14:31:59 -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=@gmail.com header.s=20221208 header.b=qfZbZ0xD; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229765AbjDLV3S (ORCPT + 99 others); Wed, 12 Apr 2023 17:29:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbjDLV3R (ORCPT ); Wed, 12 Apr 2023 17:29:17 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE5917A85; Wed, 12 Apr 2023 14:29:15 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id e3so4616585ljn.1; Wed, 12 Apr 2023 14:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681334954; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=eGq7QJNXqtJ7PzPn0R1ELOZRM5o1H528/AgWUxvVM7c=; b=qfZbZ0xDU4nCd1UZh6R+cquHg7T+Vyauj2Hd++h1yUOBLNsno6oJllhocRbsccAVGc 5Tp5MEZhqiX6Anf63RoGpS+LBZYqHp93jewInhPcTD/dFwYlv7tLIVWqNP85TChsuxZp o76XK6qXpF24eq6F/UjfjrBpL1EhukgXwNt3Y8XuUeUA34tUdPsPbrq/O2BvcF2EXnBr FIkxqcLRotXo90V1e3q4A3zkf+lJFrQUgIm+uSGcMkztuwlO8GeNwURh0djEPRlDy0aJ 7cm92srK8ZTROyUEbxde9jg+zldaI63j5Vu+laWkegIBxnccwJdyr5Wd5BPWM6Ey5xkd y8Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681334954; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eGq7QJNXqtJ7PzPn0R1ELOZRM5o1H528/AgWUxvVM7c=; b=D2vWd6J6nogwzkFhmRePxcXcfgK7XPxsDY6ry9zYIBzpEkvd3ZJcsIqTX+/UsohWbZ rXyAYPzHcP1W2rnJDiG85zFWEcWZze62Cv8ZJTYH6mmvW6rJoDGiMYYam7Au7yJX4Lsi 0VgZwKSBTBAoLWRotjqW8dXH5Y/XkV4DOl9IvoxQ06aqLF0fFOTvQXsweM7WS+NqPwVQ dY+/f/P6oVZZFcp6+ye5h4yRKwLEmmJh5LgtBOjmxocMhm5umXghsJBzPAnigdO5atkx 3n5YcjE5fQ0IR0NOR+Sj/U3qUa/UJJm+TSUd74V0fKYuqKRxVKjnRdkNEH3ML+PSIkKn X0HA== X-Gm-Message-State: AAQBX9fCBJOAMSL/Qg6NXX2qAjVxcxX7PW9pA1GstuoFrQ13dL0YMbij w5yzBMut2MwQO43fuzURNJs= X-Received: by 2002:a2e:8656:0:b0:2a7:7162:ae14 with SMTP id i22-20020a2e8656000000b002a77162ae14mr1167668ljj.21.1681334954057; Wed, 12 Apr 2023 14:29:14 -0700 (PDT) Received: from localhost.localdomain (93-80-67-75.broadband.corbina.ru. [93.80.67.75]) by smtp.googlemail.com with ESMTPSA id p14-20020a2e804e000000b002a7758b13c9sm1882481ljg.52.2023.04.12.14.29.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Apr 2023 14:29:13 -0700 (PDT) From: Ivan Mikhaylov To: Samuel Mendoza-Jonas , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ivan Mikhaylov Subject: [PATCH 0/4] Refactoring for GMA command Date: Thu, 13 Apr 2023 00:29:01 +0000 Message-Id: <20230413002905.5513-1-fr0st61te@gmail.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Make one GMA function for all manufacturers, change ndo_set_mac_address to dev_set_mac_address for notifiying net layer about MAC change which ndo_set_mac_address doesn't do. Add mac-address-increment option for possibility to control MAC address assignment on BMC via GMA command. Ivan Mikhaylov (4): net/ncsi: make one oem_gma function for all mfr id net/ncsi: change from ndo_set_mac_address to dev_set_mac_address net/ftgmac100: add mac-address-increment option for GMA command from NC-SI net/ncsi: add shift MAC address property .../devicetree/bindings/net/ftgmac100.txt | 4 + net/ncsi/ncsi-rsp.c | 108 ++++++------------ 2 files changed, 41 insertions(+), 71 deletions(-) -- 2.40.0