Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp306797rwj; Thu, 22 Dec 2022 03:11:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXtveWLuhQqpBrgY/es7VYgL05+0eZemYABmy+Y5LBLLZUcZfftXXKyUj4IliTQqcyQSM5Ov X-Received: by 2002:a17:907:a708:b0:82e:a59a:5c3e with SMTP id vw8-20020a170907a70800b0082ea59a5c3emr5762074ejc.10.1671707469345; Thu, 22 Dec 2022 03:11:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671707469; cv=none; d=google.com; s=arc-20160816; b=03n48mHUekTT6vUv+yOz9eltGpDwLpRxzql84jlE6qgPcDI2cyAxfaByb/8DQ4OREb cbpzV1zZmcKieOaUvjii9TL8LTRG/AENp/4UqxKNXEnQtc/W/PCGrOhm7R4osoar1KNq 3YHtqrPWN6/nFIhoaxKRAOdXb6hGbS9OfqYnlGxwo3YNNr/YbwH1o8cm9+yOUyWz1Rvq JHWvLopKFxNPeP5DNawj6tD0bRBS+ZKopaSeeC/wDO5XNF0bU5as6/C1kf2mrTTD51w8 Ln1s45qkVlg8KsZkDPBHliLvpmHVrPHdPOhpcrtKbB6DYttAp3q97Fk8vz5xsFWje7xf 0vsw== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=Gi5urjN2N7QuS8JEXiq0+o2rzUnJbYSXkxKQ9B/QdeU=; b=lkKwxShRE7pueQqx3IE9FmZPx859lQW46I4uZ9fuKy0W0zpBBVLVtcqXFx7Pql1sMJ PFdfq19ik3pBL3/ebSHYj+A1w9w2zwoH3qJBSNGDKsmD8XyAgazSX/N/EH3pbkFUOtML CST4pxA4VrjGlqVdNL/8T5f5aCYMZL47q1g+GItYTvPy9dYIbUflbW8BYwJf6G5rkpzM btoyjRIhRLGybl+rlP4EJhWav0QwJT2P4xxLYqcNZq2J2hUozjfr3dovLvYmNebQjj3j oFMiCrRQDNvDJQu5AGHdMtiSGqLWR1BpVz3+J56G8FM99D84oyP8J1qwEROFOqGBlKfV ASvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SnERvi0T; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz41-20020a1709077da900b008432fa22567si255917ejc.649.2022.12.22.03.10.54; Thu, 22 Dec 2022 03:11:09 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=SnERvi0T; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235264AbiLVKpG (ORCPT + 67 others); Thu, 22 Dec 2022 05:45:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbiLVKpE (ORCPT ); Thu, 22 Dec 2022 05:45:04 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B050E13D64 for ; Thu, 22 Dec 2022 02:44:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671705855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Gi5urjN2N7QuS8JEXiq0+o2rzUnJbYSXkxKQ9B/QdeU=; b=SnERvi0TcB6vPW5PuckKX3qsDzGM9AdoH0VlAPTJmcvw54+C7LZ+MnTxeCGUAn1XwEznjO lMw0k14mKpCylj8/w0BEBELxpefVp+GNP3AsAE4ymHpj7eXNl9nzTk5rDuIQFW2cH/WiZc S6OQCB8p8D9M+udCUl8HjjCzVlDnOYA= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-338-Nufljwc1OEWuRXMlsHbYPg-1; Thu, 22 Dec 2022 05:44:13 -0500 X-MC-Unique: Nufljwc1OEWuRXMlsHbYPg-1 Received: by mail-wm1-f69.google.com with SMTP id v192-20020a1cacc9000000b003d21fa95c38so734220wme.3 for ; Thu, 22 Dec 2022 02:44:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Gi5urjN2N7QuS8JEXiq0+o2rzUnJbYSXkxKQ9B/QdeU=; b=gfJ8vUFXFDwa1j2zWwyQ2gnqNu5h8KHv/nqDBAaA8LkTqjjHzAOEVDRlP9nls9QZPO APw1e9AAa75vUhNEIemxmPgItHOLTsHP47OR24k93g++aoWCBSsCWfxsRHtFLAvORBZs b0thvPjhQXrY3nrAQ+hODx3r9pHdi9CuAEdUB2nCo66a+M/axzvWq7KVHEVVnXEv4J5O h0e2bGSxDDqVGxStzAfZxk7Sm8PWtzd0NREUtvu+t+YdU0b9S2pmtcWMS838oesHwkki n7i49sDU6j8fjVx9L7WLbfYhmgUgTKUEdDUzbt73aNWqKciQfTIS9zklnhpmmSV8dZvp BtDw== X-Gm-Message-State: AFqh2kr5g6mMVLg+SvTURYki8NRJWU84Fg6LVJVFzakCdMOC4Lrwi7/J MdCi/DVH0OydnprLac623/JZvoI8GVMDk0kAD11GLLizN/RE15J7GwfH7H1nxqJDL9qgFsYpkHq bxnkfeKbnllhxifrUHTvHCRrc X-Received: by 2002:a5d:43c7:0:b0:26b:c52e:f7c7 with SMTP id v7-20020a5d43c7000000b0026bc52ef7c7mr4018750wrr.29.1671705852492; Thu, 22 Dec 2022 02:44:12 -0800 (PST) X-Received: by 2002:a5d:43c7:0:b0:26b:c52e:f7c7 with SMTP id v7-20020a5d43c7000000b0026bc52ef7c7mr4018734wrr.29.1671705852266; Thu, 22 Dec 2022 02:44:12 -0800 (PST) Received: from gerbillo.redhat.com (146-241-101-173.dyn.eolo.it. [146.241.101.173]) by smtp.gmail.com with ESMTPSA id h15-20020adfaa8f000000b002421888a011sm184094wrc.69.2022.12.22.02.44.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 02:44:11 -0800 (PST) Message-ID: <8a0a90511222d3161bfe2984f6b14f82206b8930.camel@redhat.com> Subject: Re: [PATCH 0/3] net/ncsi: Add NC-SI 1.2 Get MC MAC Address command From: Paolo Abeni To: Peter Delevoryas Cc: sam@mendozajonas.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, joel@jms.id.au, gwshan@linux.vnet.ibm.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 22 Dec 2022 11:44:10 +0100 In-Reply-To: <20221221052246.519674-1-peter@pjd.dev> References: <20221221052246.519674-1-peter@pjd.dev> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 Tue, 2022-12-20 at 21:22 -0800, Peter Delevoryas wrote: > NC-SI 1.2 isn't officially released yet, but the DMTF takes way too long > to finalize stuff, and there's hardware out there that actually supports > this command (Just the Broadcom 200G NIC afaik). > > The work in progress spec document is here: > > https://www.dmtf.org/sites/default/files/standards/documents/DSP0222_1.2WIP90_0.pdf > > The command code is 0x58, the command has no data, and the response > returns a variable-length array of MAC addresses for the BMC. > > I've tested this out using QEMU emulation (I added the Mellanox OEM Get > MAC Address command to libslirp a while ago [1], although the QEMU code > to use it is still not in upstream QEMU [2] [3]. I worked on some more > emulation code for this as well), and on the new Broadcom 200G NIC. > > The Nvidia ConnectX-7 NIC doesn't support NC-SI 1.2 yet afaik. Neither > do older versions in newer firmware, they all just report NC-SI 1.1. > > Let me know what I can do to change this patch to be more suitable for > upstreaming, I'm happy to work on it more! This series is targeting the net-next tree, you should include such tag into the patch subjected. We have already submitted the networking pull request to Linus for v6.2 and therefore net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only. Please repost when net-next reopens after Jan 2nd. RFC patches sent for review only are obviously welcome at any time. Thanks, Paolo