From: Yu Watanabe Date: Wed, 12 Mar 2025 15:56:28 +0000 (+0900) Subject: udev/net: enable new [EnergyEfficientEthernet] section X-Git-Tag: v258-rc1~1098 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86cbb13a4e46b97ea7619fdfe8bd083f428c1c09;p=thirdparty%2Fsystemd.git udev/net: enable new [EnergyEfficientEthernet] section Also fixes a typo in setting name. Follow-up for cdc9be29b1f4eefd5d384b0a9fed25675c66def5. Addresses post-merge comments for #36302. --- diff --git a/man/systemd.link.xml b/man/systemd.link.xml index 42ad2c27eae..5441da377e5 100644 --- a/man/systemd.link.xml +++ b/man/systemd.link.xml @@ -1368,7 +1368,7 @@ - Enabled= + Enable= 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. diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c index ec760c80f18..2ae0f693eee 100644 --- a/src/udev/net/link-config.c +++ b/src/udev/net/link-config.c @@ -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);