Get HBA Card Configuration
更新时间: 2026/08/06
在Gitcode上查看源码

Get HBA Card Configuration

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Shows the configuration information of HBAs.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD92h
1:3Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
4Sub command, sub command =08h
5Configuration Selector
6Set Selector: Selects a given set of Configurations under a given Configuration selector value. 00h if parameter doesn't use a Set Selector
7Block Selector (00h if parameter does not require a block number)
8Command Selector (For details about 00h if parameter does not require a command number,, see Table 4.)

Response Information

ByteData Field
1Completion Code
Generic codes, plus following command-specific completion code(s):
80h=parameter not supported
2:4Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
5Configuration data

Reference

Table 1 HBA configuration parameters

ConfigurationConfiguration dataNo. (Decimal)
Card Properties
(Read only)
data1 [7:1]-Reserved
[ 1 ]-Present
0 HBA Card is not present
1 HBA Card is present
[ 0 ]-Configurable
0 HBA card can not be configured.
1 HBA card can be configured.
data2 -Card type
data3 -Ports Number
data4 -Bus Number (Root Port)
data5 -Device Number(Root Port)
data6 -Function Number(Root Port)
data7 - Support Attribute (See the Table 3 table.)
data8:16 -Reserve
0
Port Configuration
(Read only)
data1 -Card Selector
data2 -Port Selector
data3 -Command Number
data4:n -Port Configuration
1
Card Number
(Read only)
data1 -Card Number2

Table 2 HBA Card Type

#Card Type
08G FC HBA card
1GE HBA card
210GE HBA card
3RAID card

Table 3 Support Attribute

AttributeConfig bitvalue
Card Serdesbit01
Card Speedbit11
SAN bootbit21
PFbit31
FC FCoE Switchbit41
Reservebit5-7*

Table 4 HBA Card Configuration

Cmd SelectorConfiguration datavalue
Card Serdesdata1-6 -Serdes Parameter0
Card Speeddata1 -Card Speed1
SAN bootdata1 -Boot for SAN (Enable/Disable)2
PFdata1 -PF (Enable/Disable)3
FC FCoE SwitchTBD4

Command Example

Configure the HBA.

Request:

bash
ipmicmd -k "0f 00 MM NN" smi 0

Response:

text
0f MM NN

Back to Index