dmi_hpe_processor
Synopsis
#include <opendmi/entity/hpe/processor.h>
typedef struct dmi_hpe_processor {
dmi_handle_t processor_handle;
uint8_t apic_id;
bool is_bsp;
bool is_x2apic;
bool is_thermal_margining;
uint8_t slot;
uint8_t socket;
uint16_t maximum_power;
uint32_t x2apic_id;
uint64_t uuid;
uint16_t interconnect_speed;
uint8_t qdf_raw[6];
char *qdf;
} dmi_hpe_processor_t;
Description
The dmi_hpe_processor_t structure holds the decoded HP/HPE processor
specific information, which supplements the processor information (type 4) of
each processor socket or slot with the numbers the server tells its processors
by.
The structure is returned by dmi_entity_info for the structures decoded
by dmi_hpe_processor_spec, of type DMI_TYPE(hpe_processor), declared in
<opendmi/module/hpe.h>, once the HPE extension module (dmi_hpe_module) is
enabled, which it is for HP and HPE servers. It lives as long as the context
it has been decoded in.
The structure has grown with the generations of the servers: fields the data ends before are set to the values they have when not specified.
Fields
processor_handle-
Handle of the processor information structure (type 4).
apic_id-
Local APIC ID of the processor.
is_bsp-
Whether the processor is the bootstrap processor.
is_x2apic-
Whether the processor runs in the x2APIC mode.
is_thermal_margining-
Whether advanced thermal margining is enabled.
slot-
Physical slot, as the silk screen names it. Set to
UINT8_MAXwhen the processor is not in a slot. socket-
Physical socket, as the silk screen names it. Set to
UINT8_MAXwhen the processor is not in a socket. maximum_power-
Rated maximum power of the processor in watts, zero if unknown.
x2apic_id-
x2APIC ID of the processor, valid in the x2APIC mode, and not shown when
is_x2apicis not set. Set toUINT32_MAXwhen the structure holds none. uuid-
Unique identifier of the processor, zero if unknown.
interconnect_speed-
Speed of the interconnect in MT/s, zero if unknown.
qdf_raw-
QDF or S-Spec number of Intel processors, six characters padded with spaces, as the structure holds them.
qdf-
QDF or S-Spec number of Intel processors,
nullptrif the structure holds none. The string belongs to the structure, and is freed along with it.