From: Yu Watanabe Date: Wed, 25 Aug 2021 18:34:23 +0000 (+0900) Subject: udev/net: initialize coalesce tristate variables X-Git-Tag: v250-rc1~776^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ee7512404b5de7c5ac36e09436379fada2ed84e7;p=thirdparty%2Fsystemd.git udev/net: initialize coalesce tristate variables Otherwise, 99-default.link may introduce something like the following warnings: ---- Aug 26 03:23:59 systemd-udevd[519]: wlan0: Could not set coalesce settings, ignoring: Operation not supported Aug 26 03:24:00 systemd-udevd[547]: wlp59s0: Could not set coalesce settings, ignoring: Operation not supported ---- Follow-up for 6c35ea5ef0231d519ff24d43a57a72cebab6a121. --- diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c index 69f65143503..4963ba2fae8 100644 --- a/src/udev/net/link-config.c +++ b/src/udev/net/link-config.c @@ -142,6 +142,8 @@ int link_load_one(LinkConfigContext *ctx, const char *filename) { .tx_flow_control = -1, .autoneg_flow_control = -1, .txqueuelen = UINT32_MAX, + .coalesce.use_adaptive_rx_coalesce = -1, + .coalesce.use_adaptive_tx_coalesce = -1, }; for (i = 0; i < ELEMENTSOF(link->features); i++)