On Mon, Nov 9, 2015 at 11:43 PM, Lennart Poettering
<lenn...@poettering.net> wrote:
> On Mon, 09.11.15 12:42, Jordan Hargrave (jhar...@gmail.com) wrote:
>
>> From: Jordan Hargrave <jhar...@gmail.com>
>>
>> This patch will integrate some of the features of biosdevname into systemd.
>> The code detects the port and index for detecting NIC partitions. This 
>> creates
>> a new environment variable, ID_NET_NAME_PARTITION of the format
>> <PORT>_<PARTITION>
>
> "partitions"? What's that supposed to be? SR-IOV?
>
>> 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?

Sorry, systemd will not parse any smbios code.

If these fields are generally useful, please add them as properties to
the sysfs device, and systemd can possibly read them.

Unrelated to the way we retrieve the information, the functionality
sounds out-of-scope for udev's rather simple netdev naming; and for
now, I see the simplicity rather as a feature than a limitation.

Kay
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to