Skip to content

host: vegman: Add show host bifurcation command #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ramkosh
Copy link
Contributor

@Ramkosh Ramkosh commented Jul 28, 2022

Added the command to show host bifurcation.

Signed-off-by: Kirill Pakhomov [email protected]

# @sudo cmd_config_bifurcation_show admin,operator,user
# @doc cmd_config_bifurcation_show
# Show host bifurcation
function cmd_config_bifurcation_show {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, what are you doing here? What is the idea of the change? I feel it is not what you expect.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My task says to add host config bifurcation show command to the CLI using the host-pcie-cfg command that you (iirc) implemented.


# @sudo cmd_config_bifurcation_show admin,operator,user
# @doc cmd_config_bifurcation_show
# Show host bifurcation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not exactly. It's "Show PCIe bifurcation requested by BMC from the host".

# @doc cmd_config_bifurcation_show
# Show host bifurcation
function cmd_config_bifurcation_show {
exec_tool host-pcie-cfg "$@"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a message before exec_tool saying something like:

Below are the PCIe bifurcation settings requested by the BMC.
The actual bifurcation may differ based on the UEFI Setup
settings as well as on training results:

Added the command to show host bifurcation.

Signed-off-by: Kirill Pakhomov <[email protected]>
Copy link

@alatarum alatarum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, it they really want this...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants