linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick Williams <patrick@stwcx.xyz>
To: unlisted-recipients:; (no To-header on input)
Cc: Patrick Williams <patrick@stwcx.xyz>,
	Samuel Mendoza-Jonas <sam@mendozajonas.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Joel Stanley <joel@jms.id.au>,
	Gavin Shan <gwshan@linux.vnet.ibm.com>,
	Peter Delevoryas <peter@pjd.dev>,
	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	[thread overview]
Message-ID: <20231114160737.3209218-1-patrick@stwcx.xyz> (raw)

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 <peter@pjd.dev>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

---

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


             reply	other threads:[~2023-11-14 16:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-14 16:07 Patrick Williams [this message]
2023-11-14 16:07 ` [PATCH net-next v2 1/3] net/ncsi: Simplify Kconfig/dts control flow Patrick Williams
2023-11-14 16:07 ` [PATCH net-next v2 2/3] net/ncsi: Fix netlink major/minor version numbers Patrick Williams
2023-11-14 16:07 ` [PATCH net-next v2 3/3] net/ncsi: Add NC-SI 1.2 Get MC MAC Address command Patrick Williams
2023-12-10 21:53   ` Ivan Mikhaylov
2023-12-11  2:50     ` Patrick Williams
2023-12-11 16:51       ` Jakub Kicinski
2023-11-18 15:10 ` [PATCH net-next v2 0/3] " patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231114160737.3209218-1-patrick@stwcx.xyz \
    --to=patrick@stwcx.xyz \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=gwshan@linux.vnet.ibm.com \
    --cc=joel@jms.id.au \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=peter@pjd.dev \
    --cc=sam@mendozajonas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).