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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 762A9C4332F for ; Tue, 14 Nov 2023 16:07:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233791AbjKNQH6 (ORCPT ); Tue, 14 Nov 2023 11:07:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbjKNQH4 (ORCPT ); Tue, 14 Nov 2023 11:07:56 -0500 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEB01131; Tue, 14 Nov 2023 08:07:52 -0800 (PST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 28F865C027F; Tue, 14 Nov 2023 11:07:48 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 14 Nov 2023 11:07:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stwcx.xyz; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1699978068; x=1700064468; bh=/o+gGzs0tL AoVAa+IINmr16/aOhoTBXojzZiBHw5gCQ=; b=CJqOeyWKwx7CA87TzPMKzYmj2y gS1YT4bb1NYNBSzq9lpBdXzybCGBTh0GPpAwhGxGel53I2tC9l/0g+wkS23Lltee OffEsA4+cogGZKYTqB2SG9kJpCRUsHcpS3YCcBkiqGZ7Uu6pM6D/awAuXlJzPHon qu6RbXnYMo9elr2XE0/TQxkzDMNYbF6gMA+78yKcxZ9fOwqUhCOnVi1xADxG9v6m aM4LevkMUPWrni1ymeE0MfnV2GFAGODR9bvOSNW0+iLZ4CwTofvF806IjAbUH69r bmiKZpvmcxRXOJyvdun0aZa5UPRXSm8vinvjl4wvHyPCPqnN7zt7X3wi9FZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1699978068; x=1700064468; bh=/o+gGzs0tLAoV Aa+IINmr16/aOhoTBXojzZiBHw5gCQ=; b=GiNU4WY9h6T2zC53oaCbFZgjR4O0P FFcBMqepglcSFCLYhjMTf3BrO+jtecLaOIaqVpw4jz1xqagzt9j6rINnCG046pJJ rJGbrvhztXCU77LlmA7q2ImJaVqpmGVqb75z7I8oF2celdNyCQ7K3r9fqPSc2JYx 2Nb2S0IitcLmZupwz3L9u/Hru+N4n6smUxBjEkZNGNUdtEKM8rQf0eKEo2bSkxq7 FHxLaTuuZ4mtWoPrysQV0f7hlxeWAazSQnW6invXsyESSufUoEVtnjRCuiNiyg9Q Ki1F5xT7bWMHrd9U1i+11nYxvx3Vi4GErpR/CBYt0d8l8N3lJ/tQdT4yA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudefvddgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne hmihhsshhinhhgucfvqfcufhhivghlugculdeftddmnegfrhhlucfvnfffucdlvdefmden ogetfedtuddqtdduucdludehmdenucfjughrpefhvfevufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpefrrghtrhhitghkucghihhllhhirghmshcuoehprghtrhhitghksehs thiftgigrdighiiiqeenucggtffrrghtthgvrhhnpeegheevvdfhtdeljeefgfeugeekue ejueehveduvdekteeugfekkeelgffggedvffenucffohhmrghinhepughmthhfrdhorhhg pdhkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehprghtrhhitghksehsthiftgigrdighiii X-ME-Proxy: Feedback-ID: i68a1478a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 Nov 2023 11:07:45 -0500 (EST) From: Patrick Williams Cc: Patrick Williams , Samuel Mendoza-Jonas , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Joel Stanley , Gavin Shan , Peter Delevoryas , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v2 0/3] net/ncsi: Add NC-SI 1.2 Get MC MAC Address command Date: Tue, 14 Nov 2023 10:07:32 -0600 Message-ID: <20231114160737.3209218-1-patrick@stwcx.xyz> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org NC-SI 1.2 has now been published[1] and adds a new command for "Get MC MAC Address". This is often used by BMCs to get the assigned MAC address for the channel used by the BMC. This change set has been tested on a Broadcomm 200G NIC with updated firmware for NC-SI 1.2 and at least one other non-public NIC design. 1. https://www.dmtf.org/sites/default/files/standards/documents/DSP0222_1.2.0.pdf Peter Delevoryas (3): net/ncsi: Simplify Kconfig/dts control flow net/ncsi: Fix netlink major/minor version numbers net/ncsi: Add NC-SI 1.2 Get MC MAC Address command net/ncsi/internal.h | 7 +++-- net/ncsi/ncsi-cmd.c | 3 +- net/ncsi/ncsi-manage.c | 29 ++++++------------ net/ncsi/ncsi-netlink.c | 4 +-- net/ncsi/ncsi-pkt.h | 17 +++++++++-- net/ncsi/ncsi-rsp.c | 67 +++++++++++++++++++++++++++++++++++++++-- 6 files changed, 98 insertions(+), 29 deletions(-) Signed-off-by: Peter Delevoryas Signed-off-by: Patrick Williams --- I am taking over this patch set for Peter D, who has moved to another team and no longer working on this. Changes v2: - Conform to published NC-SI 1.2 spec (switch byte order). - Use netdev_info instead of netdev_warn for MAC. - Fix checkpatch warnings. v1: https://lore.kernel.org/lkml/20221221052246.519674-1-peter@pjd.dev/ -- 2.41.0