1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

udev/net: enable new [EnergyEfficientEthernet] section

Also fixes a typo in setting name.

Follow-up for cdc9be29b1f4eefd5d384b0a9fed25675c66def5.
Addresses post-merge comments for #36302.
This commit is contained in:
Yu Watanabe 2025-03-13 00:56:28 +09:00
parent 5dbf476b11
commit 86cbb13a4e
2 changed files with 3 additions and 2 deletions

View File

@ -1368,7 +1368,7 @@
<variablelist class='network-directives'>
<varlistentry>
<term><varname>Enabled=</varname></term>
<term><varname>Enable=</varname></term>
<listitem>
<para>Takes a boolean argument. When true, the Energy Efficient Ethernet (EEE) feature will be
enabled on the interface. Defaults to unset, and the enablement of EEE will be unchanged.</para>

View File

@ -279,7 +279,8 @@ int link_load_one(LinkConfigContext *ctx, const char *filename) {
/* root = */ NULL,
"Match\0"
"Link\0"
"SR-IOV\0",
"SR-IOV\0"
"EnergyEfficientEthernet\0",
config_item_perf_lookup, link_config_gperf_lookup,
CONFIG_PARSE_WARN, config, &stats_by_path,
&config->dropins);