[net-next,v2,0/3] net/ncsi: Add NC-SI 1.2 Get MC MAC Address command

Message ID 20231114160737.3209218-1-patrick@stwcx.xyz
Headers
Series net/ncsi: Add NC-SI 1.2 Get MC MAC Address command |

Message

Patrick Williams Nov. 14, 2023, 4:07 p.m. UTC
  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/
  

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 18, 2023, 3:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Tue, 14 Nov 2023 10:07:32 -0600 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/3] net/ncsi: Simplify Kconfig/dts control flow
    https://git.kernel.org/netdev/net-next/c/c797ce168930
  - [net-next,v2,2/3] net/ncsi: Fix netlink major/minor version numbers
    https://git.kernel.org/netdev/net-next/c/3084b58bfd0b
  - [net-next,v2,3/3] net/ncsi: Add NC-SI 1.2 Get MC MAC Address command
    https://git.kernel.org/netdev/net-next/c/b8291cf3d118

You are awesome, thank you!