Calculate BMC MAC address from NCSI NIC's base MAC
Joel Stanley
joel at jms.id.au
Mon Aug 5 14:29:55 AEST 2019
Hi Tao,
On Thu, 1 Aug 2019 at 21:15, Tao Ren <taoren at fb.com> wrote:
>
> Hi,
>
> I'm running Facebook Yamp AST2500 BMC and its MAC is connected to Broadcom NCSI-NIC. When CONFIG_NCSI_OEM_CMD_GET_MAC is enabled, BMC's MAC address is calculated by adding 1 to NCSI-NIC's base MAC.
This would be a good question for the NCSI maintainers. I've added Sam
and Jeremy to cc.
>
> This adding-one logic doesn't work for Yamp because Host-BMC MAC offset needs to be 2. What would be the preferred way to fix it? For example:
>
> 1) adding a device tree node (such as "ncsi-bmc-mac-offset") and send it to ncsi stack when calling ncsi_register_dev?
>
> 2) adding a device tree node to be parsed in ncsi stack directly?
>
> 3) adding a KCONFIG option so it can be parsed in ncsi-rsp.c directly?
>
>
> Thanks,
>
> Tao
More information about the openbmc
mailing list