Set Component Parameters
更新时间: 2026/08/06
在Gitcode上查看源码

Set Component Parameters

Change History

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

Basic Information

Function Description

Set equipment parameters.

Privilege

BasicSetting

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
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 = 8Fh
5:8Component Type, LS Byte first
[31]: value range flag of the device type
0- device type identifier. For details, see the definition of PLDM Entity ID Code tables in the DMTF specification document DSP0249.
1- device type identifier. For details, see the Table 3 definition table.
[16:30]: reserved
[0:15]: device type identifier
9Group ID. 0xFF indicates an invalid value.
If the device ID is not globally unique in the product, this field must be set based on the product plan. The background performs indexing based on the group ID and device ID.
If the device ID is globally unique in the product, this field is set to an invalid value. The background performs indexing only based on the device ID.
If the device number is globally unique but filled with a valid value or the device number is not globally unique but filled with an invalid value, C9h is returned.
10:11Component Id, LS Byte first
Device number. If the device supports the silkscreen number, the value is the same as the silkscreen number. If the device does not support the silkscreen number, the value is the logical number.
12:13Parameter Selector, LS Byte first. Different parameters are used as follows:
General type. The Selector is limited to [0x0000, 0xBFFF], which is applicable to all device types. For details, see Table 1.Dedicated type. The value range of Selector is [0xC000, 0xFFFF]. For details, see Table 2.
14[7:1]: reserved
[0]: cascading flag
0: last data
1: middle data
15:16Write Offset, LS Byte first
Offset of the data to be written. The value starts from 0. If the data is long and needs to be written for multiple times, the data must be written from the beginning to the end in sequence.
17Length
Write length N
18:17+NParameter Data: The value varies according to the value of Parameter Selector.
General type. The Selector is limited to [0x0000, 0xBFFF], which is applicable to all device types. For details, see Table 1.Dedicated type. The value range of Selector is [0xC000, 0xFFFF]. For details, see Table 2.

Response Information

ByteData Field
1Completion Code
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.

Table 1 Common device component parameters

Parameter SelectorFunctionParameter Data-GetParameter Data-Set
0000hComponent SNRequest:
Offset=00h
Length=FFh
Response:
EndOfList=00h
Data=SN of the component to be queried. If the component to be queried does not exist, the value is an empty string.
Not supported
0001hPart PNRequest:
Offset=00h
Length=FFh
Response:
EndOfList=00h
Data=PN of the queried component. If the component to be queried does not exist, the value is an empty string.
Not supported

Table 2 Component parameters of dedicated devices

Parameter SelectorFunctionParameter Data-GetParameter Data-Set
C000hResetting the NPU ModuleN/AOnly Component Type=0x8000005C is supported.
Request:
Group Id: 0xFF
Component Id: slot ID of the NPU module
Write Offset: 0x0000
Length: 1
Data:
data1: reset area type
0xFF: all domains
0x00 = reserved
0x01 = compute unit
Output parameters: none.

Command Example

Reset the NPU module compute unit.

Request:

bash
ipmitool raw 0x30 0x93 0xdb 0x07 0x00 0x8f 0x5c 0x00 0x00 0x80 0xff 0x01 0x00 0x00 0xc0 0x00 0x00 0x00 0x01 0x01

Response:

text
db 07 00

Back to Index