Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Design] how to find BMC exposed NIC in BIOS? #25

Open
nicklela opened this issue May 30, 2023 · 4 comments
Open

[Design] how to find BMC exposed NIC in BIOS? #25

nicklela opened this issue May 30, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@nicklela
Copy link
Contributor

In our current implementation, we use MAC address to identify Redfish network interface. However, from OpenBMC implementation, the MAC on host side is different from the MAC on BMC side. BMC engineer suggest us to use VID and DID in order to identify the network interface on BMC.

SMBIOS type 42 provides this information as below
image

If this is the case, we need to update RedfishConfigHandler driver.

@nicklela nicklela self-assigned this May 30, 2023
@nicklela nicklela added the enhancement New feature or request label May 30, 2023
@nicklela
Copy link
Contributor Author

We probably still use MAC address because network protocol can only provide MAC address of NIC. MAC address is defined in Host Interface specification so we can use this.

@tianocore tianocore deleted a comment from changab May 30, 2023
@nicklela
Copy link
Contributor Author

action item: OpenBMC may not have implementation of "Serial Number" or "MAC Address"

@nicklela
Copy link
Contributor Author

action: check and see if vendor id and product id can be retrieved from standard IPMI command or not.

@changab
Copy link
Member

changab commented May 30, 2023

Locate all EFI Device Path Protocol
Check if both USB device path and MAC device path specified in the EFI Device Path
If yes, get the MAC address from EFI Device Path
Go through all IPMI channels,
Send IPMI NetFn: Net Parameter selector:5 Get MAC address)
Compare the MAC address specified in EFI Device Path ( Step 2) and the one retrieved via step 4.
If matched, this is the USB NIC exposed by BMC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants