Re: [PATCH net-next] net/ncsi: allow to customize BMC MAC Address offset
From: Terry Duncan <hidden>
Date: 2019-08-13 21:15:37
Also in:
lkml, openbmc
On 8/13/19 12:52 PM, Ben Wei wrote:
quoted
On 8/13/19 9:31 AM, Terry Duncan wrote:quoted
Tao, in your new patch will it be possible to disable the setting of the BMC MAC? I would like to be able to send NCSI_OEM_GET_MAC perhaps with netlink (TBD) to get the system address without it affecting the BMC address. I was about to send patches to add support for the Intel adapters when I saw this thread. Thanks, TerryHi Terry, Do you plan to monitor and configure NIC through use space programs via netlink? I'm curious if you have additional use cases. I had planned to add some daemon in user space to monitor NIC through NC-SI, primarily to log AENs, check link status and retrieve NIC counters. We can collaborate on these if they align with your needs as well. Also about Intel NIC, do you not plan to derive system address from BMC MAC? Is the BMC MAC independent of system address? Thanks, -Ben
Hi Ben, Intel has in the past programmed BMC MACs with an offset from the system MAC address of the first shared interface. We have found this approach causes problems and adds complexity when system interfaces / OCP cards are added or removed or disabled in BIOS. Our approach in OpenBMC is to keep this simple - provide means for the BMC MAC addresses to be set in manufacturing and persist them. We do also have some of the same use cases you mention. Thanks, Terry