[systemd-devel] Fwd: [PATCH] Add support for detecting NIC partitions on Dell Servers

Andrei Borzenkov arvidjaar at gmail.com
Mon Nov 9 20:06:28 PST 2015


10.11.2015 04:41, Jordan Hargrave пишет:
>
>>> The patch will also decode SMBIOS slot number for NIC, and store in
>>> the variable ID_NET_NAME_SMBIOS_SLOT.  Systemd does not have a method
>>> for naming ports on a multi-port card plugged into a slot.
>>
>> Hmm, isn't this stuff the same as exported by the kernel as the
>> "index" field, i.e. SMBIOS Type 41? Can you elaborate on the relation
>> of that field and the stuff this patch adds?
>>
>
>   The index is exported for embedded devices, but not add-in cards.
> acpi_index may be exported for add-in cards, but generally not very
> useful as it has a number like 17 or 24... no relation to the actual
> physical slot where a NIC is located.
>

Quoting SMBIOS spec for Type 9 "Slot ID":

--><--
On a system that supports ACPI, identifies the value returned in the 
_SUN object for this slot.

On a system that supports the PCI IRQ Routing Table Specification, 
identifies the value present
in the Slot Number field of the PCI Interrupt Routing table entry that 
is associated with this slot
--><--

Kernel already exports _SUN when system supports it; and other one does 
not sound very meaningful.

What do you have in /sys/bus/pci/slots?




More information about the systemd-devel mailing list