commit | cf69740eebf68b76cc5f0509a9b34204dd8bf0a1 | [log] [tgz] |
---|---|---|
author | Lei YU <yulei.sh@bytedance.com> | Mon Mar 01 14:59:03 2021 +0800 |
committer | Lei YU <yulei.sh@bytedance.com> | Thu Apr 29 11:38:45 2021 +0800 |
tree | 6bdedaf1116e761d8ef70bbdf04fb84026cfb42a | |
parent | 75d4734fb8bc390d97106544af8f2ffd2d9bf02c [diff] |
usb-ctrl: Add support to set BMC and Host's mac address By default it uses the random MAC address when usb ecm is enabled. Inspired from usb-network.sh in meta-quanta, it is possible to specify the MAC address. Add optional arguments to set the MAC address when ecm is enabled, so that the BMC and Host side's MAC addresses are known. Tested: Verify the MAC addresses could be specified by below command: usb-ctrl ecm usbeth0 on <bmc-addr host-addr> Signed-off-by: Lei YU <yulei.sh@bytedance.com> Signed-off-by: Milton Miller <miltonm@us.ibm.com> Change-Id: I4a944d62d3bbb7e57d1beab90e435663d3ff1e1f
phosphor-misc is a collection of miscellaneous OpenBMC functions that doesn't really fit anywhere else.
If you have a new function in mind to be hosted in phosphor-misc, it is usually a good idea to mention it on the OpenBMC mailing list before writing any code. There might already be an implementation of the desired function or the community may suggest alternatives.
phosphor-misc patches are reviewed using the Gerrit instance at https://gerrit.openbmc-project.xyz.
Please submit patches to Gerrit. More information on using Gerrit can be found here. https://github.com/openbmc/phosphor-misc is a hosting mirror only and GitHub pull requests are not monitored and will not be accepted.
Patch checklist. Please ensure patches adhere to the following guidelines:
For questions or help please come join us on the mailing list or in IRC.